Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009693/0.0009693, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009926/0.0009926, allocations: 169.4 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9054/0.9054, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2468/0.2468, allocations: 34.88 MB / 296.6 MB, free: 0.4922 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.693e-05, allocations: 4.703 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002259/0.002276, allocations: 1.844 MB / 327.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003672, allocations: 1.088 MB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.003745, allocations: 7.938 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.00419, allocations: 303.1 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004058/0.004596, allocations: 263 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.004788, allocations: 111.6 kB / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.005045, allocations: 267.2 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.191e-05/0.005097, allocations: 10.45 kB / 329.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.005257, allocations: 151.6 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.005419, allocations: 175.7 kB / 330.2 MB, free: 2.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.005442, allocations: 8 kB / 330.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.005522, allocations: 51.86 kB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.005633, allocations: 148.1 kB / 330.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.005701, allocations: 79.61 kB / 330.5 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.005955, allocations: 278.9 kB / 330.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005957, allocations: 4 kB / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005958, allocations: 0 / 330.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.005961, allocations: 0 / 330.7 MB, free: 2.32 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.0005759/0.006537, allocations: 0.6432 MB / 331.4 MB, free: 1.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.006569, allocations: 8.031 kB / 331.4 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.006616, allocations: 28.91 kB / 331.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.006878, allocations: 301.9 kB / 331.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.006895, allocations: 4.375 kB / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.006906, allocations: 384 / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.007025, allocations: 103.4 kB / 331.8 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.007033, allocations: 4.172 kB / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-06/0.00704, allocations: 384 / 331.8 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.007046, allocations: 3.938 kB / 331.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.981e-05/0.007076, allocations: 17.64 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.007208, allocations: 126.2 kB / 332 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.007322, allocations: 78.8 kB / 332 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.007349, allocations: 29.66 kB / 332.1 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.007362, allocations: 4 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.007469, allocations: 95.83 kB / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 7.61e-07/0.00747, allocations: 0 / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001665/0.007636, allocations: 111.2 kB / 332.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.007679, allocations: 85.11 kB / 332.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.008087, allocations: 0.6023 MB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.008104, allocations: 29.7 kB / 333 MB, free: 15.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.008167, allocations: 145.3 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.008211, allocations: 39.72 kB / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.008242, allocations: 29.7 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.008344, allocations: 370.7 kB / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.008364, allocations: 10.83 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.008398, allocations: 44.03 kB / 333.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.008459, allocations: 64.33 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008461, allocations: 0 / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001038/0.008564, allocations: 115.2 kB / 333.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.008576, allocations: 8 kB / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.00858, allocations: 0 / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.008591, allocations: 0 / 333.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.008668, allocations: 19.98 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.008673, allocations: 4 kB / 333.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.008725, allocations: 11.94 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.008732, allocations: 7.984 kB / 333.8 MB, free: 14.97 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.748e-05/0.00882, allocations: 122.1 kB / 334 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.008848, allocations: 28.03 kB / 334 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.008992, allocations: 125.9 kB / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008994, allocations: 0 / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008996, allocations: 4 kB / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.009, allocations: 3.938 kB / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.00914, allocations: 173.6 kB / 334.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.009141, allocations: 0 / 334.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.009164, allocations: 8 kB / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.009166, allocations: 4 kB / 334.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.009174, allocations: 3.984 kB / 334.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.009175, allocations: 0 / 334.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.009177, allocations: 11.94 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.009279, allocations: 139.2 kB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.009326, allocations: 55.66 kB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.009352, allocations: 8 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.009388, allocations: 3.984 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.009417, allocations: 7.984 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.009431, allocations: 8 kB / 334.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.009661, allocations: 327.2 kB / 334.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009661, allocations: 0 / 334.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.009805, allocations: 43.94 kB / 334.9 MB, free: 13.86 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.001078/0.01088, allocations: 0.4961 MB / 335.4 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.01098, allocations: 56.75 kB / 335.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.01099, allocations: 15.94 kB / 335.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.144e-05/0.01103, allocations: 28.78 kB / 335.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.01123, allocations: 76.16 kB / 335.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.01184, allocations: 0.654 MB / 336.2 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.628e-05/0.01192, allocations: 140.2 kB / 336.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.592e-05/0.01198, allocations: 30.97 kB / 336.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.01208, allocations: 99.34 kB / 336.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of SimCode: time 5.62e-07/0.01208, allocations: 0 / 336.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of Templates: time 0.006139/0.01821, allocations: 4.307 MB / 340.8 MB, free: 8.219 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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: 2.924839959014207]