Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001107/0.001107, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001136/0.001136, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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 1.081/1.081, allocations: 177 MB / 204.8 MB, free: 5.223 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.2768/0.2768, allocations: 34.87 MB / 296.3 MB, free: 0.4961 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.817e-05, allocations: 6.25 kB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002477/0.002495, allocations: 1.842 MB / 380.7 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.003941, allocations: 1.095 MB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.004029, allocations: 3.938 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.004551, allocations: 307.1 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.004995, allocations: 263 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.005216, allocations: 107.6 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.0055, allocations: 271.2 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.00555, allocations: 5.812 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.005715, allocations: 159.5 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.00592, allocations: 211.6 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.005945, allocations: 8 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.994e-05/0.006045, allocations: 47.92 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.006168, allocations: 135.6 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.006252, allocations: 75.66 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.006581, allocations: 278.9 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.006584, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006585, allocations: 3.938 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.006591, allocations: 0 / 383.6 MB, free: 13.21 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008549/0.007446, allocations: 0.7902 MB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.007492, allocations: 16.03 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.007578, allocations: 60.55 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.007925, allocations: 336.6 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.007946, allocations: 4.375 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.007958, allocations: 384 / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.008136, allocations: 98.28 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.008145, allocations: 192 / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.008156, allocations: 384 / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.008167, allocations: 7.938 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.507e-05/0.008212, allocations: 15.92 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.008516, allocations: 324.2 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.008675, allocations: 94.16 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.008718, allocations: 35.36 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.008732, allocations: 4 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.008861, allocations: 104.4 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.008862, allocations: 0 / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002746/0.009137, allocations: 181.2 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.009174, allocations: 92.98 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.009707, allocations: 0.7135 MB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.009725, allocations: 29.7 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.009876, allocations: 310.8 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.009917, allocations: 31.73 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.009957, allocations: 35.36 kB / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.01012, allocations: 0.5587 MB / 387.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/0.01015, allocations: 19.98 kB / 387.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.01019, allocations: 54.73 kB / 387.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.01027, allocations: 82.67 kB / 387.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01028, allocations: 0 / 387.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001511/0.01043, allocations: 145.3 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01044, allocations: 11.98 kB / 387.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01045, allocations: 0 / 387.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.01046, allocations: 0 / 387.7 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.259e-05/0.01054, allocations: 27.88 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.01055, allocations: 4.609 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.0106, allocations: 12.02 kB / 387.8 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.01061, allocations: 8 kB / 387.8 MB, free: 8.75 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.226e-05/0.01071, allocations: 162.1 kB / 387.9 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.01075, allocations: 63.59 kB / 388 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.01093, allocations: 162 kB / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01094, allocations: 0 / 388.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01094, allocations: 7.938 kB / 388.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.01094, allocations: 0 / 388.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.01117, allocations: 320.4 kB / 388.5 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01117, allocations: 4 kB / 388.5 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.0112, allocations: 15.92 kB / 388.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.0112, allocations: 4 kB / 388.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01121, allocations: 0 / 388.5 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01121, allocations: 3.984 kB / 388.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.01122, allocations: 4 kB / 388.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.01139, allocations: 211.6 kB / 388.7 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.01145, allocations: 63.66 kB / 388.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.01148, allocations: 7.984 kB / 388.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.01152, allocations: 8 kB / 388.8 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.01155, allocations: 19.86 kB / 388.8 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01157, allocations: 4 kB / 388.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003154/0.01188, allocations: 486.7 kB / 389.3 MB, free: 7.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01188, allocations: 0 / 389.3 MB, free: 7.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.01206, allocations: 48 kB / 389.3 MB, free: 7.113 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008269/0.01289, allocations: 377.3 kB / 389.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.01302, allocations: 74.83 kB / 389.8 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01303, allocations: 3.938 kB / 389.8 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.866e-05/0.01307, allocations: 43.98 kB / 389.8 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.01334, allocations: 75.8 kB / 389.9 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.01398, allocations: 0.6676 MB / 390.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.269e-05/0.01406, allocations: 136.2 kB / 390.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.634e-05/0.01412, allocations: 42.94 kB / 390.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.01417, allocations: 28.5 kB / 390.8 MB, free: 5.727 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01417, allocations: 0 / 390.8 MB, free: 5.727 MB / 362.7 MB Notification: Performance of Templates: time 0.006398/0.02057, allocations: 4.292 MB / 395.1 MB, free: 1.473 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.350989849306643]