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.00131/0.00131, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001435/0.001435, allocations: 166.7 kB / 24.91 MB, free: 9.152 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.9969/0.9969, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2773/0.2773, allocations: 34.26 MB / 296.1 MB, free: 0.6523 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.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.232e-06/1.232e-06, allocations: 0 / 325.3 MB, free: 7.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.96e-05, allocations: 3.406 kB / 325.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004974/0.004993, allocations: 1.843 MB / 327.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.006536, allocations: 1.088 MB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.006614, allocations: 0 / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.007113, allocations: 299.1 kB / 328.5 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.01162, allocations: 263 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.01187, allocations: 103.6 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.01217, allocations: 267.2 kB / 329.2 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.01221, allocations: 10.47 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.0124, allocations: 151.6 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.01259, allocations: 180.1 kB / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.01261, allocations: 4 kB / 329.5 MB, free: 3.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.01271, allocations: 47.92 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.01282, allocations: 140.5 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.0129, allocations: 72.22 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.0132, allocations: 278.9 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.0132, allocations: 0 / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0132, allocations: 0 / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.01321, allocations: 7.938 kB / 330 MB, free: 2.859 MB / 298.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.0006206/0.01383, allocations: 0.6199 MB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.01386, allocations: 16.03 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.01391, allocations: 24.91 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.01693, allocations: 306 kB / 331 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.01695, allocations: 4.375 kB / 331 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.01697, allocations: 4.312 kB / 331 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.01711, allocations: 91.45 kB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.01712, allocations: 3.938 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.01713, allocations: 0 / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.01713, allocations: 0 / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.01717, allocations: 21.62 kB / 331.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.01734, allocations: 134.3 kB / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.01746, allocations: 70.78 kB / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.01749, allocations: 25.7 kB / 331.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.0175, allocations: 0 / 331.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.01763, allocations: 103.8 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.62e-07/0.01763, allocations: 0 / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001812/0.01781, allocations: 115.2 kB / 331.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.01785, allocations: 81.05 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.01832, allocations: 0.5907 MB / 332.2 MB, free: 500 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.01834, allocations: 33.64 kB / 332.3 MB, free: 460 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.01841, allocations: 145.3 kB / 332.4 MB, free: 308 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.01845, allocations: 31.72 kB / 332.4 MB, free: 276 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.0185, allocations: 37.69 kB / 332.5 MB, free: 232 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01861, allocations: 366.7 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.01864, allocations: 10.83 kB / 332.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.01868, allocations: 35.42 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.01875, allocations: 72.31 kB / 332.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01875, allocations: 0 / 332.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001341/0.01889, allocations: 115.2 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.0189, allocations: 8 kB / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.0189, allocations: 0 / 333.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01892, allocations: 4 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.019, allocations: 23.92 kB / 333.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.019, allocations: 4.062 kB / 333.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.01907, allocations: 11.92 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.01908, allocations: 4 kB / 333.1 MB, free: 15.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.631e-05/0.01917, allocations: 117.3 kB / 333.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.01921, allocations: 35.95 kB / 333.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.01936, allocations: 113.9 kB / 333.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01936, allocations: 4 kB / 333.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01936, allocations: 3.938 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01937, allocations: 3.984 kB / 333.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.01952, allocations: 165.6 kB / 333.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01953, allocations: 4 kB / 333.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.01955, allocations: 8 kB / 333.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.01956, allocations: 0 / 333.6 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.01956, allocations: 11.98 kB / 333.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01957, allocations: 0 / 333.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01957, allocations: 0 / 333.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.01969, allocations: 143 kB / 333.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.01975, allocations: 51.66 kB / 333.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.01978, allocations: 8 kB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.256e-05/0.01983, allocations: 7.984 kB / 333.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.01986, allocations: 15.98 kB / 333.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.01988, allocations: 7.938 kB / 333.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008834/0.02076, allocations: 315.2 kB / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02076, allocations: 0 / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.02099, allocations: 40 kB / 334.1 MB, free: 14.45 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.001171/0.02216, allocations: 0.5126 MB / 334.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.02227, allocations: 56.52 kB / 334.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.02227, allocations: 12.12 kB / 334.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.02232, allocations: 32.83 kB / 334.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.02256, allocations: 80.61 kB / 334.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.02329, allocations: 0.6419 MB / 335.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.811e-05/0.02338, allocations: 128.2 kB / 335.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.324e-05/0.02345, allocations: 30.97 kB / 335.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.02357, allocations: 103.3 kB / 335.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02357, allocations: 0 / 335.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of Templates: time 0.00745/0.03102, allocations: 4.259 MB / 340 MB, free: 8.875 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.0818476788699627]