Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001384/0.001384, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001991/0.001991, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.9896/0.9896, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2534/0.2534, allocations: 32.81 MB / 294.6 MB, free: 1.25 MB / 266.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 323.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.725e-05, allocations: 5.641 kB / 323.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002086/0.002103, allocations: 1.752 MB / 325.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003297, allocations: 1.001 MB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.003355, allocations: 0 / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.003558, allocations: 55.75 kB / 326.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.003746, allocations: 95.42 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001079/0.003854, allocations: 83.59 kB / 326.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.003976, allocations: 100.3 kB / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.653e-05/0.004002, allocations: 240 / 326.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.004072, allocations: 55.77 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.004127, allocations: 23.92 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.00414, allocations: 4 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.896e-05/0.004199, allocations: 39.97 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.004237, allocations: 27.86 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.00426, allocations: 15.94 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.004383, allocations: 107.5 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.004385, allocations: 0 / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004385, allocations: 0 / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.004389, allocations: 0 / 326.7 MB, free: 6.203 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000297/0.004686, allocations: 337.2 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.004713, allocations: 12.03 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.004737, allocations: 8.922 kB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.004873, allocations: 162.4 kB / 327.2 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004884, allocations: 4.375 kB / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-06/0.00489, allocations: 384 / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.138e-05/0.004971, allocations: 61.77 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.004979, allocations: 3.938 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.004984, allocations: 0 / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.004989, allocations: 4 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.00501, allocations: 11.92 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.428e-05/0.005084, allocations: 66.7 kB / 327.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.192e-05/0.005156, allocations: 37.44 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.005173, allocations: 16.84 kB / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.00518, allocations: 0 / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.26e-05/0.005253, allocations: 66.2 kB / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.41e-07/0.005254, allocations: 0 / 327.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 9.838e-05/0.005352, allocations: 61.61 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.00538, allocations: 55.34 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.00551, allocations: 213 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.005525, allocations: 25.7 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.005557, allocations: 100.1 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.005585, allocations: 27.88 kB / 328 MB, free: 4.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.005612, allocations: 17.72 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.005692, allocations: 326.8 kB / 328.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.005705, allocations: 6.828 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.005726, allocations: 25.69 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.005764, allocations: 39.28 kB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005766, allocations: 0 / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.462e-05/0.00583, allocations: 64.75 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.005842, allocations: 8 kB / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005847, allocations: 4.031 kB / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.005858, allocations: 0 / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.005911, allocations: 15.94 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.005914, allocations: 0 / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.005941, allocations: 4 kB / 328.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.005947, allocations: 3.984 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.64e-05/0.006013, allocations: 112.7 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.006027, allocations: 19.97 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/0.006123, allocations: 66.7 kB / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.006126, allocations: 4 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.006129, allocations: 7.938 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.006133, allocations: 0 / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.364e-05/0.006217, allocations: 89.86 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.006219, allocations: 0 / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.006236, allocations: 7.984 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006238, allocations: 0 / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.006246, allocations: 8 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.006247, allocations: 0 / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006248, allocations: 0 / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.687e-05/0.006314, allocations: 86.64 kB / 328.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.006331, allocations: 15.91 kB / 328.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.006347, allocations: 8 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.006367, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.006394, allocations: 7.984 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.006403, allocations: 3.938 kB / 328.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.447e-05/0.006468, allocations: 80.92 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006468, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001118/0.00658, allocations: 20 kB / 329 MB, free: 3.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001245/0.007825, allocations: 0.5009 MB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.697e-05/0.007892, allocations: 36.78 kB / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.007894, allocations: 0 / 329.5 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/0.007918, allocations: 16.86 kB / 329.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.008046, allocations: 38.94 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.008326, allocations: 231.9 kB / 329.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.008362, allocations: 71.33 kB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.816e-05/0.00839, allocations: 16.47 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.008446, allocations: 67.42 kB / 330 MB, free: 2.922 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.008447, allocations: 4 kB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of Templates: time 0.003173/0.01162, allocations: 1.801 MB / 331.8 MB, free: 1.148 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.001992831006646]