Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.0009456/0.0009456, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0008897/0.0008897, allocations: 165 kB / 24.56 MB, free: 8 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 0.9607/0.9607, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.272/0.272, allocations: 34.25 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.273e-05, allocations: 9.688 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.005907/0.00593, allocations: 1.711 MB / 379.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.007389, allocations: 0.9938 MB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.007468, allocations: 0 / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.007809, allocations: 71.67 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.008174, allocations: 107.5 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.008385, allocations: 79.59 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.008568, allocations: 107.7 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.008609, allocations: 4.234 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.008731, allocations: 67.75 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.008839, allocations: 39.89 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.008858, allocations: 4 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.008952, allocations: 35.92 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.009015, allocations: 23.86 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.009062, allocations: 19.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.009261, allocations: 79.73 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.009264, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009265, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.00927, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004965/0.009766, allocations: 447.9 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.009803, allocations: 12.03 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.009854, allocations: 12.84 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.01005, allocations: 153.1 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.01007, allocations: 384 / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.01008, allocations: 8.375 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006181/0.01627, allocations: 58.92 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.01628, allocations: 3.938 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.01629, allocations: 0 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.0163, allocations: 3.938 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.27e-05/0.01635, allocations: 19.98 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.01653, allocations: 136.6 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.01665, allocations: 47.11 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.01669, allocations: 19.69 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.01671, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.01682, allocations: 65.05 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/0.01683, allocations: 0 / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002269/0.01705, allocations: 89.45 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.01709, allocations: 55.41 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.01727, allocations: 238.4 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.01729, allocations: 25.7 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.01736, allocations: 150.9 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.01739, allocations: 15.84 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.01743, allocations: 23.38 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.01758, allocations: 0.4962 MB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.01761, allocations: 12.23 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.883e-05/0.01765, allocations: 27.38 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.637e-05/0.01771, allocations: 43.3 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01772, allocations: 4 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001232/0.01784, allocations: 73.58 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.01785, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.01786, allocations: 3.938 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.01788, allocations: 4 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.01796, allocations: 8 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.01796, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.01801, allocations: 15.94 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.01802, allocations: 0 / 383.7 MB, free: 12.75 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 (7): * Single equations (assignments): 7 * 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.441e-05/0.0181, allocations: 156.6 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.01812, allocations: 11.98 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.01829, allocations: 94.86 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01829, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.0183, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.0183, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.01842, allocations: 144.6 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.01842, allocations: 7.984 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.01845, allocations: 7.938 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01846, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.01847, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.01847, allocations: 11.92 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01847, allocations: 0 / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.01862, allocations: 124.4 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.01863, allocations: 11.95 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.01865, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.0187, allocations: 7.938 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.01873, allocations: 3.984 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.01874, allocations: 4 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.01885, allocations: 168.2 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01885, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003263/0.02212, allocations: 23.92 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001069/0.02318, allocations: 380 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.02332, allocations: 39.61 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02332, allocations: 4.062 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.02337, allocations: 19.69 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.02364, allocations: 31.84 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.02404, allocations: 198.1 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.02408, allocations: 63.34 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.204e-05/0.02412, allocations: 12.48 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.02416, allocations: 16.5 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02416, allocations: 0 / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Templates: time 0.007309/0.03147, allocations: 1.644 MB / 386.9 MB, free: 9.629 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.3258909820578992]