Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001309/0.001309, allocations: 84.69 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001391/0.001391, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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.527/1.527, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 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.2233/0.2233, allocations: 34.27 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] 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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 442.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.354e-05, allocations: 2.281 kB / 442.8 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003351/0.003384, allocations: 1.875 MB / 444.6 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.005452, allocations: 1.08 MB / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.005558, allocations: 4 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004699/0.006028, allocations: 159.4 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.006533, allocations: 187.1 kB / 446.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.006842, allocations: 119.6 kB / 446.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.007197, allocations: 251.2 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.007327, allocations: 21.94 kB / 446.5 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.007532, allocations: 135.6 kB / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.007731, allocations: 127.7 kB / 446.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.007762, allocations: 8 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.007899, allocations: 67.91 kB / 446.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.008, allocations: 55.77 kB / 446.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.008079, allocations: 47.78 kB / 446.9 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.00842, allocations: 223.2 kB / 447.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.008427, allocations: 11.86 kB / 447.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.008428, allocations: 0 / 447.1 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.008434, allocations: 4 kB / 447.1 MB, free: 0.9297 MB / 366.1 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.0007941/0.009228, allocations: 472.6 kB / 447.6 MB, free: 448 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.009267, allocations: 8.031 kB / 447.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.009337, allocations: 32.73 kB / 447.6 MB, free: 408 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.009657, allocations: 213.8 kB / 447.8 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.009678, allocations: 8.375 kB / 447.8 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.009711, allocations: 8.375 kB / 447.8 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.009975, allocations: 115.1 kB / 448 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.009993, allocations: 3.938 kB / 448 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.01001, allocations: 4 kB / 448 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.01002, allocations: 7.938 kB / 448 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2496/0.2596, allocations: 47.12 kB / 448 MB, free: 19.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008908/0.2605, allocations: 400.2 kB / 448.4 MB, free: 19.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.2609, allocations: 118.5 kB / 448.5 MB, free: 19.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.261, allocations: 49.64 kB / 448.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2611, allocations: 2.438 kB / 448.6 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.2613, allocations: 121 kB / 448.7 MB, free: 19.1 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.584e-06/0.2613, allocations: 3.062 kB / 448.7 MB, free: 19.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001477/0.2628, allocations: 0.4961 MB / 449.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2628, allocations: 84.34 kB / 449.3 MB, free: 18.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.2633, allocations: 384.6 kB / 449.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2633, allocations: 33.02 kB / 449.7 MB, free: 18.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.2634, allocations: 147.2 kB / 449.8 MB, free: 18.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/0.2634, allocations: 73.2 kB / 449.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.2635, allocations: 45.03 kB / 449.9 MB, free: 18.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.2636, allocations: 345.3 kB / 450.3 MB, free: 18.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2637, allocations: 57.97 kB / 450.3 MB, free: 18.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2639, allocations: 97.22 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.2642, allocations: 169.2 kB / 450.6 MB, free: 17.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2642, allocations: 3.75 kB / 450.6 MB, free: 17.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004236/0.2646, allocations: 234.5 kB / 450.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.2646, allocations: 5.828 kB / 450.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2646, allocations: 3.281 kB / 450.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.2647, allocations: 2.562 kB / 450.8 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.2648, allocations: 44.64 kB / 450.9 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.2648, allocations: 3.281 kB / 450.9 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-05/0.2649, allocations: 19.36 kB / 450.9 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.2649, allocations: 7.719 kB / 450.9 MB, free: 17.86 MB / 366.1 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.0001575/0.2651, allocations: 158.3 kB / 451.1 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.2652, allocations: 30.28 kB / 451.1 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005547/0.2657, allocations: 283.4 kB / 451.4 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2657, allocations: 4.125 kB / 451.4 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2657, allocations: 0 / 451.4 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2657, allocations: 2.547 kB / 451.4 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.2668, allocations: 0.6628 MB / 452 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.2668, allocations: 1.906 kB / 452 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2669, allocations: 42.31 kB / 452.1 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.2669, allocations: 2.281 kB / 452.1 MB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.2669, allocations: 9.781 kB / 452.1 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.2669, allocations: 6.812 kB / 452.1 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.2669, allocations: 4.266 kB / 452.1 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.2675, allocations: 438.6 kB / 452.5 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.2676, allocations: 28.27 kB / 452.6 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.2676, allocations: 8.25 kB / 452.6 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.2678, allocations: 11.06 kB / 452.6 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.2679, allocations: 21.67 kB / 452.6 MB, free: 16.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.2679, allocations: 14.17 kB / 452.6 MB, free: 16.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003368/0.2683, allocations: 282.7 kB / 452.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2683, allocations: 3.562 kB / 452.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.2687, allocations: 51.12 kB / 453 MB, free: 16.65 MB / 366.1 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.002297/0.271, allocations: 0.5486 MB / 453.5 MB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.2713, allocations: 167.4 kB / 453.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2713, allocations: 0 / 453.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.2715, allocations: 87.78 kB / 453.7 MB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.2721, allocations: 54.64 kB / 453.8 MB, free: 16.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/0.273, allocations: 0.5057 MB / 454.3 MB, free: 16.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.2732, allocations: 157.8 kB / 454.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.2733, allocations: 39.02 kB / 454.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.2734, allocations: 34.55 kB / 454.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2734, allocations: 0 / 454.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Templates: time 0.008749/0.2822, allocations: 3.316 MB / 457.9 MB, free: 15.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.0787710174918175]