Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.0009952/0.0009952, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001018/0.001018, allocations: 169.4 kB / 25.61 MB, free: 8.449 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.007/1.007, allocations: 177.2 MB / 206.1 MB, free: 4.461 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.1651/0.1651, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 377.3 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.376e-05, allocations: 2.312 kB / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002205/0.002229, allocations: 1.834 MB / 379.2 MB, free: 23.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003414, allocations: 1.072 MB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003514, allocations: 3.938 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.003925, allocations: 295.2 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.004305, allocations: 255 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.004527, allocations: 115.5 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.004759, allocations: 267.2 kB / 381.2 MB, free: 21.67 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.004804, allocations: 9.812 kB / 381.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.004932, allocations: 151.6 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.005084, allocations: 200.1 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.005103, allocations: 8 kB / 381.5 MB, free: 21.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.005185, allocations: 47.92 kB / 381.6 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.523e-05/0.00527, allocations: 140.5 kB / 381.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.005325, allocations: 67.67 kB / 381.8 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.005541, allocations: 282.9 kB / 382.1 MB, free: 20.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005543, allocations: 0 / 382.1 MB, free: 20.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.005544, allocations: 0 / 382.1 MB, free: 20.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.00555, allocations: 0 / 382.1 MB, free: 20.78 MB / 314.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.0005259/0.006076, allocations: 0.7901 MB / 382.8 MB, free: 19.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.006108, allocations: 15.98 kB / 382.9 MB, free: 19.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.006163, allocations: 52.61 kB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.006388, allocations: 308.7 kB / 383.2 MB, free: 19.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.006407, allocations: 4.375 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.006417, allocations: 8.359 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.006532, allocations: 94.27 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.00654, allocations: 7.875 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.006549, allocations: 4 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.006553, allocations: 0 / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.006583, allocations: 15.98 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.006751, allocations: 216.8 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.006857, allocations: 94.14 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.006885, allocations: 35.36 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.006896, allocations: 0 / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.007001, allocations: 108.3 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 8.41e-07/0.007002, allocations: 0 / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002124/0.007214, allocations: 169.2 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.007237, allocations: 77.11 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.00756, allocations: 0.6781 MB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.007575, allocations: 29.7 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.007682, allocations: 318.6 kB / 385.1 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.007719, allocations: 27.78 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.007756, allocations: 31.36 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.007853, allocations: 0.5664 MB / 385.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.007876, allocations: 11.98 kB / 385.7 MB, free: 16.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.167e-05/0.007908, allocations: 50.72 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.61e-05/0.007974, allocations: 79.16 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007977, allocations: 0 / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001368/0.008113, allocations: 149.2 kB / 386 MB, free: 16.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.008127, allocations: 7.984 kB / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.008133, allocations: 0 / 386 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.008146, allocations: 7.938 kB / 386 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.008225, allocations: 16 kB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.00823, allocations: 4.047 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.008287, allocations: 15.89 kB / 386 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.008295, allocations: 8 kB / 386 MB, free: 16.54 MB / 314.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 8.558e-05/0.008381, allocations: 169.1 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.008417, allocations: 55.66 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.008593, allocations: 157.8 kB / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.008597, allocations: 7.938 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.008599, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.008603, allocations: 0 / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.008757, allocations: 225.1 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.00876, allocations: 8 kB / 386.6 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.008789, allocations: 8 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.008791, allocations: 0 / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.008799, allocations: 7.984 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008801, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008802, allocations: 256 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.008952, allocations: 211.6 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.008999, allocations: 59.55 kB / 386.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.009026, allocations: 4 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.448e-05/0.009071, allocations: 7.984 kB / 386.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.009108, allocations: 19.92 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.009122, allocations: 4 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.009325, allocations: 438.6 kB / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009325, allocations: 0 / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.009515, allocations: 40 kB / 387.4 MB, free: 15.08 MB / 314.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.0008702/0.01039, allocations: 382.7 kB / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.0105, allocations: 63.58 kB / 387.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0105, allocations: 4 kB / 387.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.01053, allocations: 35.61 kB / 387.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.01079, allocations: 87.67 kB / 388 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005501/0.01134, allocations: 0.6538 MB / 388.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.331e-05/0.0114, allocations: 132.1 kB / 388.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.983e-05/0.01146, allocations: 42.94 kB / 388.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.01155, allocations: 122.2 kB / 388.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01155, allocations: 0 / 388.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of Templates: time 0.006108/0.01766, allocations: 4.364 MB / 393.3 MB, free: 9.344 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.302346393931657]