Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001296/0.001296, allocations: 82.58 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.001396/0.001396, allocations: 163.2 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.403/1.403, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2029/0.2029, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 440.2 MB, free: 8.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.636e-05, allocations: 10.22 kB / 440.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00331/0.003336, allocations: 1.906 MB / 442.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.005219, allocations: 1.013 MB / 443.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.005319, allocations: 4 kB / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.005638, allocations: 39.7 kB / 443.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.006013, allocations: 103.4 kB / 443.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.006249, allocations: 99.52 kB / 443.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.006502, allocations: 147.5 kB / 443.5 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.00661, allocations: 21.8 kB / 443.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.006752, allocations: 83.69 kB / 443.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.006865, allocations: 43.89 kB / 443.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.00689, allocations: 4 kB / 443.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.006998, allocations: 51.91 kB / 443.7 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.00707, allocations: 27.86 kB / 443.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.007139, allocations: 27.91 kB / 443.7 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.00742, allocations: 159.4 kB / 443.9 MB, free: 4.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.007425, allocations: 4 kB / 443.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007426, allocations: 0 / 443.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.007431, allocations: 0 / 443.9 MB, free: 4.359 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006866/0.008118, allocations: 411 kB / 444.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.008154, allocations: 8.031 kB / 444.3 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.008212, allocations: 16.84 kB / 444.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.008486, allocations: 174.2 kB / 444.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.008513, allocations: 8.375 kB / 444.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.008539, allocations: 8.359 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.008804, allocations: 138.4 kB / 444.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.008817, allocations: 3.938 kB / 444.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.00883, allocations: 0 / 444.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.008836, allocations: 8 kB / 444.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.009003, allocations: 51.91 kB / 444.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.009594, allocations: 444.7 kB / 445.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.009952, allocations: 82.66 kB / 445.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.01006, allocations: 40.83 kB / 445.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.01007, allocations: 0 / 445.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.01029, allocations: 117 kB / 445.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.01029, allocations: 0 / 445.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004439/0.01073, allocations: 153.4 kB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.01079, allocations: 51.41 kB / 445.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.01102, allocations: 211.6 kB / 445.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.01104, allocations: 25.7 kB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.796e-05/0.01114, allocations: 131.9 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.01117, allocations: 27.75 kB / 446 MB, free: 2.098 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.01123, allocations: 33.7 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.01138, allocations: 330.8 kB / 446.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.35e-05/0.01148, allocations: 27.98 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.0116, allocations: 64.27 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.01182, allocations: 100.1 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01182, allocations: 0 / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003004/0.01212, allocations: 145.4 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.01214, allocations: 4 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01215, allocations: 0 / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01216, allocations: 4 kB / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01227, allocations: 23.98 kB / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01228, allocations: 0 / 446.7 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.016e-05/0.01235, allocations: 8 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.01236, allocations: 12.11 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 0.0001246/0.01248, allocations: 136.8 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.01251, allocations: 11.91 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.01285, allocations: 146.9 kB / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01285, allocations: 0 / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.01285, allocations: 0 / 447 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.01286, allocations: 11.97 kB / 447 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.01304, allocations: 149.2 kB / 447.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01304, allocations: 0 / 447.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.01312, allocations: 12 kB / 447.1 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01313, allocations: 4 kB / 447.2 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01314, allocations: 0 / 447.2 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.01314, allocations: 4 kB / 447.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.01315, allocations: 3.984 kB / 447.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.01358, allocations: 192.9 kB / 447.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.0136, allocations: 11.94 kB / 447.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.01363, allocations: 11.98 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.0137, allocations: 7.938 kB / 447.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.01374, allocations: 8.047 kB / 447.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.01376, allocations: 7.938 kB / 447.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.01391, allocations: 147.2 kB / 447.5 MB, free: 408 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01391, allocations: 0 / 447.5 MB, free: 408 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.01415, allocations: 31.92 kB / 447.6 MB, free: 376 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001746/0.0159, allocations: 432.2 kB / 448 MB, free: 124 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.01617, allocations: 84.08 kB / 448.1 MB, free: 40 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01617, allocations: 4.062 kB / 448.1 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1659/0.1821, allocations: 37.56 kB / 448.1 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1825, allocations: 38.94 kB / 448.2 MB, free: 21.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005749/0.1831, allocations: 262.2 kB / 448.4 MB, free: 21.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.428e-05/0.1831, allocations: 103.2 kB / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.507e-05/0.1832, allocations: 16.8 kB / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.1833, allocations: 17.94 kB / 448.5 MB, free: 21.31 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1833, allocations: 0 / 448.5 MB, free: 21.31 MB / 366.1 MB Notification: Performance of Templates: time 0.005339/0.1886, allocations: 2.035 MB / 450.6 MB, free: 21.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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: 4.589511141180992]