Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.002614/0.002614, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002935/0.002935, allocations: 165.3 kB / 24.28 MB, free: 152 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.726/1.726, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.3583/0.3583, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 3.938 kB / 377.4 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.847e-05/4.046e-05, allocations: 2.312 kB / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.006516/0.006557, allocations: 1.816 MB / 379.2 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.01083, allocations: 1.072 MB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.01101, allocations: 11.98 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.01203, allocations: 307.1 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.01305, allocations: 263 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.01359, allocations: 107.6 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.01425, allocations: 275.2 kB / 381.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.873e-05/0.01432, allocations: 5.812 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.01474, allocations: 151.6 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.01523, allocations: 203.6 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.01527, allocations: 8 kB / 381.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.01548, allocations: 47.92 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.01578, allocations: 143.6 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.01597, allocations: 79.58 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008006/0.01677, allocations: 358.7 kB / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.01678, allocations: 0 / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.01678, allocations: 0 / 382.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.01679, allocations: 0 / 382.2 MB, free: 14.07 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.001977/0.01877, allocations: 0.8094 MB / 383 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.01883, allocations: 8.031 kB / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.01902, allocations: 56.56 kB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.01999, allocations: 340.6 kB / 383.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.02002, allocations: 4.375 kB / 383.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.02004, allocations: 4.375 kB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.02039, allocations: 89.58 kB / 383.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.02041, allocations: 3.938 kB / 383.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.02043, allocations: 7.938 kB / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.02044, allocations: 0 / 383.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.02063, allocations: 27.92 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.02148, allocations: 360.2 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.02204, allocations: 110.1 kB / 384 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.02223, allocations: 47.36 kB / 384 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.02226, allocations: 4 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.02269, allocations: 116.3 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.855e-06/0.0227, allocations: 3.938 kB / 384.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001013/0.02371, allocations: 205.1 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.02382, allocations: 81.09 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.02573, allocations: 0.7722 MB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.02578, allocations: 29.7 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005379/0.02632, allocations: 326.8 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.384e-05/0.0264, allocations: 35.84 kB / 385.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.02652, allocations: 31.38 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006198/0.02714, allocations: 0.5821 MB / 386.2 MB, free: 9.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.02731, allocations: 23.98 kB / 386.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.02755, allocations: 73.59 kB / 386.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.02794, allocations: 95.17 kB / 386.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.02794, allocations: 0 / 386.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006967/0.02864, allocations: 177.2 kB / 386.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.02866, allocations: 8.062 kB / 386.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.02868, allocations: 3.938 kB / 386.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.0287, allocations: 4 kB / 386.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.02892, allocations: 19.98 kB / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.02893, allocations: 0 / 386.6 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.02913, allocations: 15.89 kB / 386.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.02917, allocations: 8 kB / 386.6 MB, free: 9.355 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.0002869/0.02945, allocations: 173.1 kB / 386.8 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.02959, allocations: 55.67 kB / 386.8 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000726/0.03031, allocations: 189.8 kB / 387 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.03032, allocations: 4 kB / 387 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.03033, allocations: 0 / 387 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.03033, allocations: 0 / 387 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007528/0.03109, allocations: 356.4 kB / 387.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.0311, allocations: 3.984 kB / 387.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.03119, allocations: 12.25 kB / 387.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.0312, allocations: 0 / 387.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.03122, allocations: 8 kB / 387.4 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.03124, allocations: 7.938 kB / 387.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.03124, allocations: 0 / 387.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000711/0.03195, allocations: 235.6 kB / 387.6 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.03221, allocations: 67.55 kB / 387.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.03228, allocations: 0 / 387.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.03244, allocations: 11.94 kB / 387.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.03252, allocations: 7.984 kB / 387.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.03255, allocations: 7.984 kB / 387.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.03376, allocations: 0.5027 MB / 388.2 MB, free: 7.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.03376, allocations: 0 / 388.2 MB, free: 7.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005305/0.03429, allocations: 40 kB / 388.3 MB, free: 7.621 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.004545/0.03883, allocations: 453.2 kB / 388.7 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.03934, allocations: 87.59 kB / 388.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.03934, allocations: 0 / 388.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.03958, allocations: 51.59 kB / 388.8 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008652/0.04045, allocations: 76.67 kB / 388.9 MB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.04241, allocations: 0.6871 MB / 389.6 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.04286, allocations: 233.7 kB / 389.8 MB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.04305, allocations: 38.95 kB / 389.9 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.04317, allocations: 28.48 kB / 389.9 MB, free: 6.098 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.04317, allocations: 0 / 389.9 MB, free: 6.098 MB / 362.7 MB Notification: Performance of Templates: time 0.01741/0.06058, allocations: 4.01 MB / 393.9 MB, free: 2.121 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.115879022050649]