Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.26/0.26, allocations: 32.81 MB / 294.3 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.207e-05, allocations: 2.312 kB / 376.1 MB, free: 4.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002953/0.002975, allocations: 1.77 MB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.00473, allocations: 1.009 MB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.004793, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.005077, allocations: 87.62 kB / 379 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.005344, allocations: 115.4 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.005517, allocations: 79.61 kB / 379.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.005667, allocations: 131.5 kB / 379.3 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.005738, allocations: 4 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.005818, allocations: 63.81 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.619e-05/0.005904, allocations: 63.86 kB / 379.4 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.005919, allocations: 4 kB / 379.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.006, allocations: 47.86 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.00605, allocations: 19.92 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.006087, allocations: 27.86 kB / 379.5 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.006242, allocations: 99.64 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.006244, allocations: 0 / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006245, allocations: 0 / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.006249, allocations: 0 / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004318/0.006681, allocations: 459.8 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.006714, allocations: 12.03 kB / 380.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.006757, allocations: 16.84 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.006924, allocations: 156.3 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.006942, allocations: 4.375 kB / 380.2 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.006966, allocations: 8.328 kB / 380.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.007087, allocations: 62.94 kB / 380.3 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.007099, allocations: 3.938 kB / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.007108, allocations: 0 / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.007116, allocations: 0 / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.474e-05/0.007151, allocations: 11.98 kB / 380.3 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.007455, allocations: 295.8 kB / 380.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/0.00755, allocations: 51.17 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.007577, allocations: 19.61 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.007592, allocations: 0 / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.162e-05/0.007683, allocations: 77.03 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.007684, allocations: 0 / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003672/0.008051, allocations: 157.3 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.00808, allocations: 55.34 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.008223, allocations: 242.7 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.008237, allocations: 37.7 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.008295, allocations: 150.9 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.008324, allocations: 35.72 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.008359, allocations: 27.38 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.008483, allocations: 0.5001 MB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.008507, allocations: 12 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.008541, allocations: 31.36 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.0086, allocations: 55.25 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.008601, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001078/0.008709, allocations: 93.62 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.008721, allocations: 4 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008727, allocations: 384 / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.008744, allocations: 4 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.008814, allocations: 15.94 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.008821, allocations: 4 kB / 382.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.00885, allocations: 7.984 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.008855, allocations: 0 / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.094e-05/0.008936, allocations: 164.5 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.008954, allocations: 19.94 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.009105, allocations: 115.1 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.009106, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.00911, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009114, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.009403, allocations: 404.9 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009404, allocations: 0 / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.00943, allocations: 8 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.009434, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.009442, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.009443, allocations: 4.031 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009444, allocations: 0 / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.009587, allocations: 263.4 kB / 383.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.009599, allocations: 11.94 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.009614, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.009657, allocations: 8 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.009687, allocations: 7.922 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.009698, allocations: 4 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.009786, allocations: 189 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009786, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001821/0.009968, allocations: 27.94 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009092/0.01088, allocations: 434.8 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.011, allocations: 55.59 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01101, allocations: 0 / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.01105, allocations: 35.59 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.01127, allocations: 30.36 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.01162, allocations: 241 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.01166, allocations: 75.28 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.0117, allocations: 16.95 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.01173, allocations: 16.5 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01173, allocations: 3.938 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Templates: time 0.003417/0.01515, allocations: 1.887 MB / 386.2 MB, free: 10.28 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.362715902738273]