Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.0009742/0.0009742, allocations: 81.97 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.001005/0.001005, allocations: 164.8 kB / 25.61 MB, free: 8.902 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 0.9098/0.9098, allocations: 177.1 MB / 206 MB, free: 4.508 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.1848/0.1848, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 379.4 MB, free: 23.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.191e-05, allocations: 6.25 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002526/0.002548, allocations: 1.831 MB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003807, allocations: 1.064 MB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.003891, allocations: 0 / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.004294, allocations: 303.1 kB / 382.6 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.004677, allocations: 255.1 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.004873, allocations: 119.5 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.005096, allocations: 271.2 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.00514, allocations: 5.812 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.005264, allocations: 147.6 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.005427, allocations: 208 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.005455, allocations: 8 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.005549, allocations: 39.98 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.005636, allocations: 140.5 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.41e-05/0.005691, allocations: 71.66 kB / 383.8 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.005908, allocations: 278.8 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005911, allocations: 8 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005912, allocations: 0 / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.005917, allocations: 0 / 384.1 MB, free: 18.61 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.0005806/0.006497, allocations: 0.7785 MB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.006527, allocations: 12.03 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.006583, allocations: 52.61 kB / 384.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.006807, allocations: 324.5 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.006823, allocations: 384 / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.006832, allocations: 4.375 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.006949, allocations: 90.28 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.006957, allocations: 7.938 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.006965, allocations: 7.984 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.006971, allocations: 3.984 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/0.007001, allocations: 15.92 kB / 385.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.007174, allocations: 220.8 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.007285, allocations: 90.16 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.007312, allocations: 27.36 kB / 385.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.007324, allocations: 8 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-05/0.007419, allocations: 104.4 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.00742, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002127/0.007633, allocations: 173.2 kB / 386 MB, free: 16.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.007655, allocations: 81.05 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.007971, allocations: 0.6742 MB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.007984, allocations: 33.7 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.008095, allocations: 306.7 kB / 387.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.008127, allocations: 31.77 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.008163, allocations: 43.34 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.582e-05/0.008239, allocations: 0.5625 MB / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.008266, allocations: 8 kB / 387.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.008297, allocations: 54.72 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.00835, allocations: 75.17 kB / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008352, allocations: 0 / 387.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001178/0.00847, allocations: 141.3 kB / 388 MB, free: 14.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.008482, allocations: 12.06 kB / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008486, allocations: 0 / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.008495, allocations: 3.938 kB / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.008568, allocations: 27.92 kB / 388 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.008571, allocations: 0 / 388 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.008623, allocations: 11.89 kB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.00863, allocations: 7.984 kB / 388 MB, free: 14.38 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 7.374e-05/0.008704, allocations: 165.1 kB / 388.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.008738, allocations: 63.61 kB / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.008902, allocations: 153.9 kB / 388.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.008905, allocations: 7.938 kB / 388.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008907, allocations: 0 / 388.4 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.008912, allocations: 7.984 kB / 388.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.009051, allocations: 217.1 kB / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.009054, allocations: 0 / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.009084, allocations: 19.92 kB / 388.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.009086, allocations: 4 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.009093, allocations: 256 / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.009095, allocations: 8 kB / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.009096, allocations: 0 / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.009241, allocations: 207.7 kB / 388.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.009282, allocations: 59.55 kB / 388.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.00931, allocations: 4 kB / 388.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.009353, allocations: 7.938 kB / 388.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.009385, allocations: 19.89 kB / 389 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.009399, allocations: 11.94 kB / 389 MB, free: 13.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001922/0.009591, allocations: 430.7 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.009591, allocations: 0 / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000183/0.009774, allocations: 40 kB / 389.4 MB, free: 12.91 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.0009129/0.01069, allocations: 392.5 kB / 389.8 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.01082, allocations: 55.59 kB / 389.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01083, allocations: 4 kB / 389.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.01088, allocations: 43.73 kB / 389.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.01123, allocations: 76.98 kB / 390 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.01195, allocations: 0.6421 MB / 390.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.577e-05/0.012, allocations: 136.1 kB / 390.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.01206, allocations: 34.95 kB / 390.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-05/0.01216, allocations: 122.2 kB / 390.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01216, allocations: 0 / 390.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of Templates: time 0.006133/0.0183, allocations: 4.381 MB / 395.3 MB, free: 7.172 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.192061061039567]