Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.002028/0.002028, allocations: 83.69 kB / 20.96 MB, free: 3.316 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.002081/0.002081, allocations: 157.3 kB / 24.27 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 1.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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.3526/0.3526, allocations: 34.27 MB / 295.3 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.629e-05, allocations: 2.312 kB / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003572/0.003599, allocations: 1.816 MB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.005838, allocations: 1.08 MB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.005931, allocations: 3.938 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.006529, allocations: 311.1 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.007101, allocations: 259 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.007381, allocations: 111.5 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.007799, allocations: 275.2 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.007853, allocations: 5.812 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.008106, allocations: 155.6 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.008412, allocations: 203.6 kB / 381.6 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.00845, allocations: 8 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.008584, allocations: 55.91 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.00878, allocations: 131.6 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.008918, allocations: 83.58 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.00942, allocations: 346.8 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.009424, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.009425, allocations: 0 / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.009432, allocations: 0 / 382.2 MB, free: 14.04 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001369/0.0108, allocations: 0.8133 MB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.01084, allocations: 8.031 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.01096, allocations: 64.55 kB / 383.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.01155, allocations: 336.6 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.01156, allocations: 384 / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.01158, allocations: 8.375 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.01181, allocations: 89.52 kB / 383.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.01182, allocations: 3.938 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.01183, allocations: 4 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.01183, allocations: 0 / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.01195, allocations: 27.98 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.01247, allocations: 356.2 kB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.0128, allocations: 114.2 kB / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.01291, allocations: 43.36 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.01294, allocations: 3.938 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.0132, allocations: 124.3 kB / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.0132, allocations: 0 / 384.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005585/0.01376, allocations: 213.3 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.01383, allocations: 77.11 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.01484, allocations: 0.7722 MB / 385.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.01487, allocations: 29.7 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.01519, allocations: 330.8 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.01525, allocations: 27.84 kB / 385.6 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.01531, allocations: 31.38 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004062/0.01572, allocations: 0.586 MB / 386.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.0158, allocations: 19.98 kB / 386.2 MB, free: 9.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.01592, allocations: 74.66 kB / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.01612, allocations: 90.73 kB / 386.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01612, allocations: 0 / 386.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003331/0.01646, allocations: 173.2 kB / 386.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01647, allocations: 8 kB / 386.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.01649, allocations: 3.938 kB / 386.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.0165, allocations: 0 / 386.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.01664, allocations: 31.92 kB / 386.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.01665, allocations: 3.938 kB / 386.6 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.01675, allocations: 11.89 kB / 386.6 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.01676, allocations: 4 kB / 386.6 MB, free: 9.316 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001906/0.01695, allocations: 173.6 kB / 386.8 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.01704, allocations: 55.67 kB / 386.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.01747, allocations: 197.9 kB / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01748, allocations: 0 / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01748, allocations: 0 / 387 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01749, allocations: 4 kB / 387 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.01795, allocations: 360.4 kB / 387.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01795, allocations: 0 / 387.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.018, allocations: 8 kB / 387.4 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.018, allocations: 4 kB / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01801, allocations: 0 / 387.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.01802, allocations: 3.938 kB / 387.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.01802, allocations: 8 kB / 387.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.01843, allocations: 231.6 kB / 387.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.01859, allocations: 67.55 kB / 387.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.01864, allocations: 4 kB / 387.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/0.01872, allocations: 11.94 kB / 387.7 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.01877, allocations: 7.984 kB / 387.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.01879, allocations: 7.984 kB / 387.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006583/0.01945, allocations: 0.4988 MB / 388.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01945, allocations: 0 / 388.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.01973, allocations: 44 kB / 388.3 MB, free: 7.578 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003275/0.023, allocations: 452.8 kB / 388.7 MB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000439/0.02344, allocations: 91.59 kB / 388.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.02345, allocations: 0 / 388.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.02357, allocations: 43.66 kB / 388.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.02414, allocations: 84.73 kB / 388.9 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.0254, allocations: 0.6871 MB / 389.6 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.02568, allocations: 229.7 kB / 389.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.02578, allocations: 43.44 kB / 389.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.02587, allocations: 28.5 kB / 389.9 MB, free: 6.055 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02587, allocations: 0 / 389.9 MB, free: 6.055 MB / 362.7 MB Notification: Performance of Templates: time 0.009919/0.03579, allocations: 3.998 MB / 393.9 MB, free: 2.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0452758190222085]