Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.00149/0.00149, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001147/0.001147, allocations: 165.3 kB / 24.99 MB, free: 8.344 MB / 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.055/1.055, allocations: 177.1 MB / 205.3 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.2639/0.2639, allocations: 32.81 MB / 294.6 MB, free: 1.301 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 376.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.821e-05, allocations: 6.312 kB / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002666/0.002694, allocations: 1.762 MB / 377.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.003972, allocations: 1.001 MB / 378.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.838e-05/0.00406, allocations: 11.88 kB / 378.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.004356, allocations: 39.75 kB / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.004629, allocations: 103.5 kB / 379 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.004788, allocations: 83.66 kB / 379.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.004947, allocations: 107.6 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.00505, allocations: 11.98 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.005139, allocations: 51.83 kB / 379.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.005216, allocations: 27.91 kB / 379.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.005234, allocations: 4 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.005326, allocations: 47.91 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.005383, allocations: 23.92 kB / 379.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.005423, allocations: 19.88 kB / 379.4 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.005605, allocations: 103.6 kB / 379.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.005609, allocations: 4 kB / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00561, allocations: 0 / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005615, allocations: 0 / 379.5 MB, free: 1.508 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.0004919/0.006107, allocations: 467.7 kB / 379.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.006145, allocations: 12.02 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.006198, allocations: 16.84 kB / 380 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.00638, allocations: 161.2 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.006399, allocations: 4.375 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.006418, allocations: 384 / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.006551, allocations: 62.94 kB / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006563, allocations: 7.938 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.006572, allocations: 0 / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.006581, allocations: 4 kB / 380.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.006615, allocations: 7.984 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.006937, allocations: 299.8 kB / 380.5 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.007044, allocations: 51.11 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.007079, allocations: 27.61 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.00709, allocations: 0 / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.007199, allocations: 65.05 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.0072, allocations: 4 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004004/0.007601, allocations: 165.5 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.007648, allocations: 51.41 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.007803, allocations: 263.1 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.007816, allocations: 25.7 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.007887, allocations: 162.9 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.007916, allocations: 27.73 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.007961, allocations: 27.36 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.008083, allocations: 0.5001 MB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.008109, allocations: 8 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.008145, allocations: 39.36 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.168e-05/0.008207, allocations: 51.3 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008208, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000112/0.00832, allocations: 97.52 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.008333, allocations: 4 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.008338, allocations: 4 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.008351, allocations: 0 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.00843, allocations: 19.92 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008435, allocations: 0 / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.008464, allocations: 11.97 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.008471, allocations: 4 kB / 382.1 MB, free: 14.67 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.051e-05/0.008552, allocations: 164 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.008568, allocations: 15.91 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.008722, allocations: 111.2 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.008725, allocations: 4 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.008729, allocations: 3.984 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008733, allocations: 0 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.009039, allocations: 408.9 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.009041, allocations: 4.031 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.009068, allocations: 8 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.00907, allocations: 0 / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.009081, allocations: 7.984 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009082, allocations: 0 / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.009083, allocations: 0 / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.009229, allocations: 263.4 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.009241, allocations: 11.91 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.00926, allocations: 8 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.009302, allocations: 0 / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.009336, allocations: 7.984 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.009349, allocations: 11.94 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.057e-05/0.00944, allocations: 187.1 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00944, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.00962, allocations: 23.94 kB / 383.3 MB, free: 13.38 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.0009967/0.01062, allocations: 438.2 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01074, allocations: 51.61 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01075, allocations: 0 / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.01079, allocations: 31.8 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.01103, allocations: 35.97 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.01142, allocations: 237.5 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.911e-05/0.01146, allocations: 79.27 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.0115, allocations: 17.27 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.01153, allocations: 16.5 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01153, allocations: 0 / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of Templates: time 0.003927/0.01546, allocations: 1.888 MB / 386.1 MB, free: 10.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.527090762043372]