Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 186.5 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2476/0.2476, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.91 kB / 497.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3681, allocations: 64.29 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003033/0.3712, allocations: 1.621 MB / 0.5504 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.372, allocations: 426.5 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.3721, allocations: 1.312 kB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.3724, allocations: 126.5 kB / 0.5509 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.3726, allocations: 93.23 kB / 0.551 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.3729, allocations: 109.2 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.373, allocations: 90.98 kB / 0.5512 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.3731, allocations: 15.95 kB / 0.5512 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.3732, allocations: 45.23 kB / 0.5513 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.3733, allocations: 97.44 kB / 0.5514 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.3733, allocations: 6.594 kB / 0.5514 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.932e-05/0.3734, allocations: 36.75 kB / 0.5514 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.3735, allocations: 30.5 kB / 0.5514 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.3735, allocations: 42.08 kB / 0.5515 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.3737, allocations: 116.8 kB / 0.5516 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3737, allocations: 5.469 kB / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3738, allocations: 0 / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.3738, allocations: 0 / 0.5516 GB, free: 11.11 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004905/0.3742, allocations: 350.3 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3743, allocations: 14.8 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3743, allocations: 14.47 kB / 0.552 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3745, allocations: 148.8 kB / 0.5521 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3745, allocations: 9.625 kB / 0.5521 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.3746, allocations: 2.844 kB / 0.5521 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3747, allocations: 58.31 kB / 0.5522 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3747, allocations: 4 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3747, allocations: 1.344 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3748, allocations: 1.281 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.3749, allocations: 30.72 kB / 0.5522 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.3753, allocations: 274.8 kB / 0.5525 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.3754, allocations: 50.69 kB / 0.5525 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.3755, allocations: 17.12 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3755, allocations: 1.625 kB / 0.5525 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.3755, allocations: 38.64 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3755, allocations: 0 / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000952/0.3765, allocations: 238.5 kB / 0.5528 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3765, allocations: 56.61 kB / 0.5529 GB, free: 9.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.3768, allocations: 273.4 kB / 0.5531 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3768, allocations: 29.7 kB / 0.5531 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.3769, allocations: 116 kB / 0.5533 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.3769, allocations: 26.05 kB / 0.5533 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.377, allocations: 20.44 kB / 0.5533 GB, free: 9.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3771, allocations: 327.4 kB / 0.5536 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.3772, allocations: 32.78 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.626e-05/0.3773, allocations: 28.05 kB / 0.5537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3775, allocations: 73.94 kB / 0.5537 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3775, allocations: 0 / 0.5537 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002392/0.3777, allocations: 114.1 kB / 0.5538 GB, free: 9.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3778, allocations: 4.688 kB / 0.5539 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3778, allocations: 1.125 kB / 0.5539 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3778, allocations: 0 / 0.5539 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3779, allocations: 25.95 kB / 0.5539 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3779, allocations: 9.344 kB / 0.5539 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.3779, allocations: 7.422 kB / 0.5539 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3779, allocations: 1.062 kB / 0.5539 GB, free: 9.105 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.3781, allocations: 138 kB / 0.554 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.3781, allocations: 14.62 kB / 0.554 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.3784, allocations: 156.3 kB / 0.5542 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3784, allocations: 0 / 0.5542 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3784, allocations: 5 kB / 0.5542 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3784, allocations: 0 / 0.5542 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.3791, allocations: 397.5 kB / 0.5546 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3791, allocations: 1.156 kB / 0.5546 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/0.3791, allocations: 17.22 kB / 0.5546 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3792, allocations: 5.094 kB / 0.5546 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3792, allocations: 2.125 kB / 0.5546 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3792, allocations: 5.016 kB / 0.5546 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3792, allocations: 0 / 0.5546 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.3795, allocations: 213.7 kB / 0.5548 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.3795, allocations: 16.06 kB / 0.5548 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3795, allocations: 5.062 kB / 0.5548 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.3796, allocations: 11.39 kB / 0.5548 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.3796, allocations: 7.234 kB / 0.5548 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3796, allocations: 2.031 kB / 0.5548 GB, free: 8.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.3798, allocations: 209 kB / 0.555 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3798, allocations: 0 / 0.555 GB, free: 8.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000268/0.3801, allocations: 23.25 kB / 0.5551 GB, free: 8.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/0.3818, allocations: 452.5 kB / 0.5555 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.382, allocations: 72.95 kB / 0.5556 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.382, allocations: 1.062 kB / 0.5556 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3821, allocations: 45.78 kB / 0.5556 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.3826, allocations: 26.94 kB / 0.5556 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006105/0.3832, allocations: 303.9 kB / 0.5559 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3836, allocations: 0.7284 MB / 0.5566 GB, free: 6.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.3837, allocations: 19.39 kB / 0.5567 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.3837, allocations: 13.31 kB / 0.5567 GB, free: 6.898 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3837, allocations: 0 / 0.5567 GB, free: 6.898 MB / 398.1 MB Notification: Performance of Templates: time 0.004714/0.3884, allocations: 1.43 MB / 0.5581 GB, free: 5.836 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.529483794234693]