Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001085/0.001085, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001068/0.001068, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9581/0.9581, allocations: 177 MB / 205.1 MB, free: 5.477 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.2459/0.2459, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 379.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.64e-05, allocations: 3.297 kB / 379.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003575/0.003602, allocations: 1.933 MB / 381.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.005465, allocations: 1.102 MB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.005567, allocations: 0 / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.005833, allocations: 163.3 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.006147, allocations: 183.2 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.006332, allocations: 127.5 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.006537, allocations: 251.2 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.006614, allocations: 17.95 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.00674, allocations: 143.5 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.00685, allocations: 127.7 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.006867, allocations: 8 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.006953, allocations: 67.91 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.007004, allocations: 55.77 kB / 383.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.007046, allocations: 39.8 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.007218, allocations: 183.3 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007221, allocations: 0 / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.007222, allocations: 0 / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.007225, allocations: 0 / 383.7 MB, free: 13.32 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004449/0.00767, allocations: 0.5808 MB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.007703, allocations: 12.03 kB / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.007746, allocations: 28.8 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.00792, allocations: 212.6 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.007935, allocations: 8.375 kB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.007951, allocations: 8.359 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.008071, allocations: 122.1 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.008083, allocations: 4.172 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.00809, allocations: 384 / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.008096, allocations: 7.938 kB / 384.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.79e-05/0.008134, allocations: 31.97 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.008441, allocations: 455.2 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.008599, allocations: 110.1 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.00863, allocations: 31.36 kB / 385.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.008643, allocations: 4 kB / 385.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.008751, allocations: 123.7 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.008752, allocations: 4 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005581/0.00931, allocations: 386 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.009338, allocations: 77.11 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.00952, allocations: 350.2 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.009535, allocations: 33.7 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.009613, allocations: 199.3 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.009659, allocations: 71.41 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.009704, allocations: 51.34 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.009827, allocations: 0.5273 MB / 387.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.038e-05/0.009857, allocations: 27.98 kB / 387.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/0.009909, allocations: 76.83 kB / 387.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.945e-05/0.009998, allocations: 106.6 kB / 387.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.009999, allocations: 0 / 387.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001641/0.01016, allocations: 181.7 kB / 387.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.01017, allocations: 8 kB / 387.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.01018, allocations: 0 / 387.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.01019, allocations: 8.062 kB / 387.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.01026, allocations: 39.92 kB / 387.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.01027, allocations: 4 kB / 387.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.01031, allocations: 8 kB / 387.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.01032, allocations: 11.92 kB / 387.5 MB, free: 9.191 MB / 362.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.03e-05/0.0104, allocations: 172.5 kB / 387.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.01043, allocations: 39.81 kB / 387.8 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.01064, allocations: 211.4 kB / 388 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01064, allocations: 4 kB / 388 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.01064, allocations: 4 kB / 388 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01065, allocations: 0 / 388 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.0111, allocations: 0.6946 MB / 388.7 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.0111, allocations: 4 kB / 388.7 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.01115, allocations: 31.98 kB / 388.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.01116, allocations: 7.984 kB / 388.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.01117, allocations: 11.92 kB / 388.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.01117, allocations: 0 / 388.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.01117, allocations: 12.06 kB / 388.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.01143, allocations: 494.9 kB / 389.2 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.01145, allocations: 23.81 kB / 389.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01147, allocations: 15.92 kB / 389.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.01155, allocations: 12 kB / 389.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.01158, allocations: 23.91 kB / 389.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.01159, allocations: 8 kB / 389.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.0117, allocations: 238.9 kB / 389.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0117, allocations: 0 / 389.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.01191, allocations: 47.94 kB / 389.6 MB, free: 7.055 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.000952/0.01286, allocations: 478.2 kB / 390 MB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.013, allocations: 115.4 kB / 390.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01301, allocations: 4.125 kB / 390.2 MB, free: 6.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/0.01307, allocations: 75.45 kB / 390.2 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.01338, allocations: 80.44 kB / 390.3 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.01384, allocations: 457.5 kB / 390.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.842e-05/0.0139, allocations: 92.3 kB / 390.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.01397, allocations: 46.16 kB / 390.9 MB, free: 5.816 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.01407, allocations: 118.2 kB / 391 MB, free: 5.699 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01407, allocations: 0 / 391 MB, free: 5.699 MB / 362.7 MB Notification: Performance of Templates: time 0.004726/0.0188, allocations: 3.655 MB / 394.7 MB, free: 2.105 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.062195708975196]