Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.001042/0.001042, allocations: 95.31 kB / 20.43 MB, free: 4.141 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.001389/0.001389, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9449/0.9449, allocations: 158.6 MB / 185.7 MB, free: 2.461 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1471/0.1471, allocations: 32.37 MB / 270.4 MB, free: 14.66 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 3.938 kB / 347.7 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.865e-05, allocations: 8.219 kB / 347.8 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002129/0.002158, allocations: 1.695 MB / 349.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.003083, allocations: 0.7765 MB / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.003155, allocations: 0 / 350.2 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.003551, allocations: 67.61 kB / 350.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.003779, allocations: 67.67 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.003952, allocations: 79.77 kB / 350.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.004098, allocations: 107.7 kB / 350.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.004141, allocations: 7.938 kB / 350.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.785e-05/0.004229, allocations: 55.77 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.004323, allocations: 43.88 kB / 350.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.004341, allocations: 4 kB / 350.6 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.678e-05/0.004408, allocations: 24 kB / 350.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.004463, allocations: 27.91 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.004501, allocations: 15.92 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.004656, allocations: 79.69 kB / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004658, allocations: 0 / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004659, allocations: 4 kB / 350.8 MB, free: 6.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.004663, allocations: 4 kB / 350.8 MB, free: 6.277 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004539/0.005117, allocations: 435.9 kB / 351.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.005167, allocations: 12.03 kB / 351.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.206e-05/0.005229, allocations: 8.891 kB / 351.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.005421, allocations: 152.4 kB / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.005444, allocations: 384 / 351.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.005461, allocations: 4.375 kB / 351.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.005608, allocations: 54.94 kB / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.00562, allocations: 3.938 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.005634, allocations: 4 kB / 351.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.005644, allocations: 4 kB / 351.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.00568, allocations: 7.938 kB / 351.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.005831, allocations: 136.7 kB / 351.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.005951, allocations: 51.11 kB / 351.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.005982, allocations: 19.66 kB / 351.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.006001, allocations: 0 / 351.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.006109, allocations: 72.94 kB / 351.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.00611, allocations: 0 / 351.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001998/0.00631, allocations: 89.56 kB / 351.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.006335, allocations: 51.41 kB / 351.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.006432, allocations: 224.1 kB / 352.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.006442, allocations: 25.7 kB / 352.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.006479, allocations: 150.9 kB / 352.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.006508, allocations: 11.91 kB / 352.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.006536, allocations: 27.36 kB / 352.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.006596, allocations: 0.4923 MB / 352.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.006616, allocations: 11.98 kB / 352.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.006642, allocations: 31.31 kB / 352.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.006685, allocations: 43.61 kB / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.006687, allocations: 0 / 352.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.465e-05/0.006762, allocations: 73.58 kB / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.006775, allocations: 4 kB / 353 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.006781, allocations: 3.938 kB / 353 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.006796, allocations: 4 kB / 353 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.006865, allocations: 12 kB / 353 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.00687, allocations: 0 / 353 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.006898, allocations: 4 kB / 353 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006904, allocations: 8.016 kB / 353 MB, free: 3.855 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.797e-05/0.006952, allocations: 160.6 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.006964, allocations: 11.91 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.007074, allocations: 97.89 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.007076, allocations: 0 / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.00708, allocations: 0 / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.007084, allocations: 0 / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.007166, allocations: 140.6 kB / 353.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.007168, allocations: 0 / 353.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.738e-05/0.007185, allocations: 4 kB / 353.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.007188, allocations: 4 kB / 353.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.007197, allocations: 7.984 kB / 353.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.007198, allocations: 3.938 kB / 353.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007199, allocations: 0 / 353.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.005e-05/0.007279, allocations: 116.5 kB / 353.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.007292, allocations: 11.94 kB / 353.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.007311, allocations: 8 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.00733, allocations: 3.938 kB / 353.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.007366, allocations: 7.984 kB / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.007377, allocations: 0 / 353.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.474e-05/0.007432, allocations: 164 kB / 353.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007432, allocations: 4 kB / 353.7 MB, free: 3.051 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001431/0.007575, allocations: 16 kB / 353.7 MB, free: 3.035 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (6): * Single equations (assignments): 4 * 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.0008014/0.008377, allocations: 394.7 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.008488, allocations: 43.61 kB / 354.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.00849, allocations: 4 kB / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.008521, allocations: 19.67 kB / 354.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.008724, allocations: 29.23 kB / 354.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.009055, allocations: 189.3 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.794e-05/0.009083, allocations: 63.34 kB / 354.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.024e-05/0.009113, allocations: 12.48 kB / 354.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.009142, allocations: 20.5 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.009143, allocations: 0 / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of Templates: time 0.003071/0.01221, allocations: 1.621 MB / 356.1 MB, free: 0.707 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.359111742116511]