Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001003/0.001003, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00113/0.00113, allocations: 169.4 kB / 24.91 MB, free: 8.766 MB / 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.2574/0.2574, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 325.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.557e-05, allocations: 6.312 kB / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.005593/0.005608, allocations: 1.756 MB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.006947, allocations: 0.9982 MB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.007005, allocations: 0 / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.007282, allocations: 87.62 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.01055, allocations: 107.5 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.0107, allocations: 79.66 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.01086, allocations: 116.1 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.0109, allocations: 4.219 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.881e-05/0.01099, allocations: 63.81 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.01108, allocations: 47.83 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.0111, allocations: 4 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.01117, allocations: 35.92 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.01121, allocations: 19.92 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.01124, allocations: 19.92 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.0114, allocations: 95.61 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.01141, allocations: 0 / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01141, allocations: 4 kB / 328.8 MB, free: 4.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.01141, allocations: 0 / 328.8 MB, free: 4.125 MB / 298.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.000367/0.01178, allocations: 317.6 kB / 329.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.01181, allocations: 12.03 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.01184, allocations: 8.922 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.012, allocations: 157.5 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.01202, allocations: 384 / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.01203, allocations: 4.375 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.01212, allocations: 53.77 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01213, allocations: 7.938 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.01214, allocations: 8 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.01214, allocations: 0 / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.01216, allocations: 7.984 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.286e-05/0.01226, allocations: 66.7 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/0.01234, allocations: 45.36 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.01236, allocations: 12.86 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.01237, allocations: 0 / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.213e-05/0.01246, allocations: 62.2 kB / 329.5 MB, free: 3.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.01246, allocations: 7.938 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001114/0.01257, allocations: 57.62 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.0126, allocations: 59.34 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01273, allocations: 185.1 kB / 329.9 MB, free: 2.938 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.01274, allocations: 25.7 kB / 329.9 MB, free: 2.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.01278, allocations: 96.09 kB / 330 MB, free: 2.809 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.01281, allocations: 19.84 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.01284, allocations: 17.7 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.01294, allocations: 330.8 kB / 330.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.01295, allocations: 6.828 kB / 330.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.01297, allocations: 21.72 kB / 330.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.01302, allocations: 43.53 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01302, allocations: 0 / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.651e-05/0.0131, allocations: 60.48 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.01311, allocations: 8 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.01311, allocations: 0 / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.01313, allocations: 0 / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.01319, allocations: 23.86 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01319, allocations: 4 kB / 330.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/0.01623, allocations: 4.031 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.01624, allocations: 0 / 330.5 MB, free: 2.242 MB / 298.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 6.664e-05/0.01631, allocations: 115.2 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.01632, allocations: 15.98 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.01641, allocations: 58.83 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01642, allocations: 0 / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.01642, allocations: 3.938 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01642, allocations: 7.938 kB / 330.7 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.179e-05/0.0165, allocations: 81.86 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.0165, allocations: 0 / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.761e-05/0.01652, allocations: 8 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.01653, allocations: 7.984 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.01653, allocations: 0 / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.01653, allocations: 0 / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01653, allocations: 0 / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.458e-05/0.01661, allocations: 86.83 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.01662, allocations: 15.91 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.01664, allocations: 11.94 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.01666, allocations: 0 / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.01669, allocations: 11.98 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.0167, allocations: 0 / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.01676, allocations: 73.42 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01676, allocations: 0 / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.01692, allocations: 16 kB / 331 MB, free: 1.684 MB / 298.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.001326/0.01825, allocations: 0.4921 MB / 331.5 MB, free: 1.449 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.521e-05/0.01832, allocations: 24.84 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.01833, allocations: 0 / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.01837, allocations: 32.77 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.01852, allocations: 40.88 kB / 331.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.01883, allocations: 213.4 kB / 331.8 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.01888, allocations: 75.27 kB / 331.9 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.031e-05/0.01891, allocations: 4.5 kB / 331.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.01897, allocations: 67.36 kB / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01897, allocations: 0 / 331.9 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of Templates: time 0.005093/0.02407, allocations: 1.776 MB / 333.7 MB, free: 15.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.0371705307625234]