Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.0009723/0.0009723, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001134/0.001134, allocations: 165 kB / 24.99 MB, free: 8.801 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.958/0.958, allocations: 177 MB / 205.2 MB, free: 5.594 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.2677/0.2677, allocations: 34.86 MB / 296.6 MB, free: 0.5703 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 378.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.742e-05, allocations: 6.25 kB / 378.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002315/0.002342, allocations: 1.766 MB / 380.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.004087, allocations: 1.735 MB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.004175, allocations: 0 / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.004449, allocations: 35.77 kB / 382.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.004801, allocations: 107.4 kB / 382.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.005018, allocations: 83.59 kB / 382.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.005181, allocations: 99.69 kB / 382.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.005271, allocations: 11.98 kB / 382.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.701e-05/0.005358, allocations: 59.78 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.005474, allocations: 31.89 kB / 382.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.005491, allocations: 4 kB / 382.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.005657, allocations: 111.8 kB / 382.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.038e-05/0.005708, allocations: 23.84 kB / 382.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.005751, allocations: 23.92 kB / 382.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.00603, allocations: 155.5 kB / 383.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.006033, allocations: 4 kB / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006035, allocations: 0 / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.00604, allocations: 0 / 383.1 MB, free: 14.08 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004951/0.006535, allocations: 455.8 kB / 383.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.006568, allocations: 8.031 kB / 383.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.006624, allocations: 8.891 kB / 383.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.00682, allocations: 161 kB / 383.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.00684, allocations: 4.375 kB / 383.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.006859, allocations: 4.312 kB / 383.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.007017, allocations: 108 kB / 383.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.00703, allocations: 11.88 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.00704, allocations: 4 kB / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.007048, allocations: 0 / 383.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.651e-05/0.007084, allocations: 11.98 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.007373, allocations: 275.8 kB / 384.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.00748, allocations: 55.11 kB / 384.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.007511, allocations: 27.61 kB / 384.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.007523, allocations: 0 / 384.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.007626, allocations: 65.05 kB / 384.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.007627, allocations: 4 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004922/0.008119, allocations: 153.3 kB / 384.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.008164, allocations: 81.11 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.008307, allocations: 215.3 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.00832, allocations: 29.64 kB / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.008372, allocations: 142.9 kB / 384.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.0084, allocations: 31.78 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.00844, allocations: 31.31 kB / 384.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.008551, allocations: 0.4962 MB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.008574, allocations: 11.98 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.881e-05/0.008623, allocations: 68.75 kB / 385.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.178e-05/0.008685, allocations: 51.3 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.008686, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001029/0.008789, allocations: 89.53 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.008803, allocations: 7.984 kB / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.008807, allocations: 4.062 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.00882, allocations: 4 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.008894, allocations: 20.31 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.0089, allocations: 0 / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.008933, allocations: 4 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.00894, allocations: 7.984 kB / 385.7 MB, free: 11.22 MB / 362.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 (10): * Single equations (assignments): 10 * 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.952e-05/0.009009, allocations: 164.5 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.009028, allocations: 11.95 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.009169, allocations: 106.4 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.009172, allocations: 4 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.009175, allocations: 0 / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009179, allocations: 0 / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.00947, allocations: 392.9 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.009474, allocations: 0 / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.009508, allocations: 11.98 kB / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.009511, allocations: 0 / 386.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.00952, allocations: 8 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009522, allocations: 0 / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009523, allocations: 0 / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.009671, allocations: 259.5 kB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.009683, allocations: 11.95 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.009701, allocations: 3.984 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.009747, allocations: 8 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.009779, allocations: 11.92 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.009792, allocations: 4 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.39e-05/0.009866, allocations: 165.5 kB / 386.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009866, allocations: 0 / 386.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.01008, allocations: 51.8 kB / 386.9 MB, free: 9.941 MB / 362.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: 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 (9): * Single equations (assignments): 7 * 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.001167/0.01125, allocations: 0.5242 MB / 387.4 MB, free: 9.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.01137, allocations: 55.61 kB / 387.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01138, allocations: 4 kB / 387.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.01142, allocations: 35.59 kB / 387.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01165, allocations: 31.97 kB / 387.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.01198, allocations: 197.9 kB / 387.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.01202, allocations: 63.34 kB / 387.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.571e-05/0.01206, allocations: 21.08 kB / 387.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.0121, allocations: 28.48 kB / 387.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0121, allocations: 0 / 387.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of Templates: time 0.004176/0.01628, allocations: 2.527 MB / 390.3 MB, free: 6.578 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.1495138879399747]