Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001693/0.001693, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001682/0.001682, allocations: 161.7 kB / 24.27 MB, free: 172 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.495/1.495, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3655/0.3655, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 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.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.349e-05, allocations: 6.25 kB / 375.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003738/0.003771, allocations: 1.716 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003442/0.007213, allocations: 1.687 MB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.007299, allocations: 0 / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.007656, allocations: 35.72 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.008065, allocations: 107.4 kB / 378.9 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.008298, allocations: 79.61 kB / 379 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.008516, allocations: 107.7 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.008611, allocations: 4 kB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.008748, allocations: 67.77 kB / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.008889, allocations: 31.89 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.008911, allocations: 4 kB / 379.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.00911, allocations: 103.9 kB / 379.3 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.009178, allocations: 27.84 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.009242, allocations: 15.94 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.009586, allocations: 179.4 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.00959, allocations: 4 kB / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009591, allocations: 0 / 379.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.009596, allocations: 0 / 379.5 MB, free: 0.707 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.0006947/0.01029, allocations: 349.5 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.01033, allocations: 8.031 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.0104, allocations: 16.89 kB / 379.9 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.01076, allocations: 158.1 kB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.01078, allocations: 8.375 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.01081, allocations: 4.375 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.01104, allocations: 97.03 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.01105, allocations: 0 / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.01106, allocations: 0 / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.01107, allocations: 0 / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.0112, allocations: 23.98 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.01167, allocations: 232.4 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.01187, allocations: 62.67 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.01194, allocations: 20.84 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.01196, allocations: 4 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.01216, allocations: 63.39 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.01216, allocations: 0 / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006764/0.01283, allocations: 185.3 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.01291, allocations: 81.05 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.01317, allocations: 170.5 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.0132, allocations: 25.7 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.01328, allocations: 104 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.01332, allocations: 31.72 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.01338, allocations: 21.72 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.01357, allocations: 326.8 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.01365, allocations: 23.98 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01375, allocations: 68.27 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.0139, allocations: 65.62 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.0139, allocations: 4 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002453/0.01414, allocations: 105.6 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.01416, allocations: 8 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01417, allocations: 0 / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.01419, allocations: 4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.839e-05/0.01429, allocations: 15.94 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.01429, allocations: 0 / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.01435, allocations: 12.34 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.01436, allocations: 4 kB / 381.8 MB, free: 14.23 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 0.0001271/0.01449, allocations: 121.8 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.01452, allocations: 11.95 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.01482, allocations: 126.5 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01482, allocations: 4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01483, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01483, allocations: 3.984 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.0154, allocations: 350.9 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.0154, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.01544, allocations: 12 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01544, allocations: 0 / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01545, allocations: 0 / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.01547, allocations: 4 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01547, allocations: 4.031 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.01578, allocations: 220.2 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.01581, allocations: 11.95 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.01583, allocations: 0 / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.01593, allocations: 7.938 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.01598, allocations: 11.92 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.016, allocations: 8 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.01614, allocations: 135.2 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01614, allocations: 0 / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003211/0.01647, allocations: 51.8 kB / 382.8 MB, free: 13.1 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.002626/0.01909, allocations: 0.5863 MB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.01931, allocations: 63.8 kB / 383.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01931, allocations: 0 / 383.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.0194, allocations: 36.05 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.01978, allocations: 43.56 kB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.02034, allocations: 213.3 kB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.02045, allocations: 85.44 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.469e-05/0.02052, allocations: 12.98 kB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.02058, allocations: 24.48 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.02058, allocations: 0 / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Templates: time 0.006751/0.02733, allocations: 2.53 MB / 386.4 MB, free: 9.746 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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: 4.950358747970313]