Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001853/0.001853, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.001995/0.001995, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3482/0.3482, allocations: 34.26 MB / 295.3 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 377.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.214e-05, allocations: 2.312 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003846/0.003878, allocations: 1.907 MB / 379.3 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.006187, allocations: 1.099 MB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.00628, allocations: 3.938 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.006802, allocations: 227.2 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.007293, allocations: 215.1 kB / 380.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.007585, allocations: 127.5 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.007961, allocations: 263.2 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.008074, allocations: 17.95 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.008304, allocations: 139.7 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.008544, allocations: 163.6 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.008586, allocations: 8 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.008727, allocations: 67.86 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.008841, allocations: 67.75 kB / 381.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.831e-05/0.00893, allocations: 47.78 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.00931, allocations: 231.1 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.009314, allocations: 0 / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009315, allocations: 0 / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.009321, allocations: 4 kB / 381.9 MB, free: 14.29 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.0009258/0.01025, allocations: 0.6154 MB / 382.6 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.01029, allocations: 16.03 kB / 382.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.149e-05/0.01038, allocations: 36.75 kB / 382.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.01078, allocations: 228.5 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.0108, allocations: 4.375 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.01083, allocations: 8.375 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.01109, allocations: 112.8 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.0111, allocations: 3.938 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.01112, allocations: 4 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.01112, allocations: 0 / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.01126, allocations: 43.91 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.01201, allocations: 0.5531 MB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.01244, allocations: 130.1 kB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.01255, allocations: 43.48 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.01257, allocations: 4 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.01283, allocations: 136.3 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.01283, allocations: 0 / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001499/0.01433, allocations: 0.5164 MB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.0144, allocations: 89.03 kB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.01491, allocations: 442.3 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.01494, allocations: 29.7 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.01513, allocations: 227.3 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.852e-05/0.01522, allocations: 75.42 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.01532, allocations: 51.38 kB / 385.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003179/0.01563, allocations: 0.5391 MB / 385.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.01577, allocations: 55.97 kB / 385.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01594, allocations: 98.72 kB / 386 MB, free: 9.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.01626, allocations: 182.8 kB / 386.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01626, allocations: 4 kB / 386.1 MB, free: 9.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004536/0.01672, allocations: 241.2 kB / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.01674, allocations: 8 kB / 386.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.01674, allocations: 0 / 386.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.01676, allocations: 4 kB / 386.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.01691, allocations: 39.97 kB / 386.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.01693, allocations: 11.88 kB / 386.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.01701, allocations: 8 kB / 386.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.01702, allocations: 8.062 kB / 386.5 MB, free: 9.477 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 0.0001817/0.01721, allocations: 180.6 kB / 386.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.01728, allocations: 43.77 kB / 386.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/0.01784, allocations: 265.3 kB / 386.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01784, allocations: 4 kB / 386.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01785, allocations: 3.938 kB / 386.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.01786, allocations: 3.984 kB / 386.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.01902, allocations: 0.8271 MB / 387.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01902, allocations: 0 / 387.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.01914, allocations: 35.92 kB / 387.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01914, allocations: 0 / 387.8 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.01917, allocations: 15.98 kB / 387.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01917, allocations: 0 / 387.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.01917, allocations: 7.938 kB / 387.8 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.01982, allocations: 0.5403 MB / 388.4 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.01987, allocations: 23.81 kB / 388.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.01991, allocations: 8 kB / 388.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.02005, allocations: 12.03 kB / 388.4 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.02013, allocations: 23.95 kB / 388.4 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.02017, allocations: 12 kB / 388.5 MB, free: 7.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003346/0.02051, allocations: 298.9 kB / 388.7 MB, free: 7.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02051, allocations: 0 / 388.7 MB, free: 7.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.02088, allocations: 55.88 kB / 388.8 MB, free: 7.023 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.003968/0.02484, allocations: 0.5511 MB / 389.3 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.02528, allocations: 175.9 kB / 389.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.02528, allocations: 4.125 kB / 389.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.02548, allocations: 92.55 kB / 389.6 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.02612, allocations: 76.17 kB / 389.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.02714, allocations: 0.5237 MB / 390.2 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.02749, allocations: 166.1 kB / 390.4 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.02759, allocations: 33.92 kB / 390.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.02768, allocations: 36.5 kB / 390.4 MB, free: 5.547 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02768, allocations: 0 / 390.4 MB, free: 5.547 MB / 362.7 MB Notification: Performance of Templates: time 0.008636/0.03631, allocations: 3.314 MB / 393.8 MB, free: 2.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.017405746970326]