Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.0009302/0.0009302, allocations: 80.8 kB / 21.49 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.0009354/0.0009354, allocations: 172.2 kB / 24.92 MB, free: 9.113 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 0.9604/0.9604, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.236/0.236, allocations: 32.81 MB / 294.6 MB, free: 1.172 MB / 266.7 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 323.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.855e-05, allocations: 4.281 kB / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002829/0.002857, allocations: 1.752 MB / 325.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.005254, allocations: 1.738 MB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.392e-05/0.005348, allocations: 0 / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.005622, allocations: 31.78 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.005967, allocations: 111.3 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.006164, allocations: 75.67 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.006346, allocations: 111.6 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.006434, allocations: 12.67 kB / 327.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.006541, allocations: 59.89 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.006657, allocations: 32.69 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.006676, allocations: 4 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.006852, allocations: 107.8 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.006904, allocations: 23.91 kB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.006938, allocations: 19.92 kB / 327.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.007188, allocations: 155.5 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.007192, allocations: 3.938 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007193, allocations: 4 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.007197, allocations: 0 / 327.5 MB, free: 5.344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004243/0.007621, allocations: 337.2 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.007656, allocations: 8.031 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.007692, allocations: 8.922 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.007864, allocations: 134.2 kB / 328 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.007881, allocations: 4.375 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.007903, allocations: 8.344 kB / 328 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.008047, allocations: 112.5 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.008057, allocations: 3.938 kB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.008065, allocations: 8 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.008071, allocations: 0 / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.124e-05/0.008102, allocations: 10.81 kB / 328.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.008345, allocations: 177.9 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.00845, allocations: 89.22 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.008473, allocations: 12.8 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.008485, allocations: 4 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.208e-05/0.008577, allocations: 66.16 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.008578, allocations: 4 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003136/0.008892, allocations: 105.6 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.008934, allocations: 81.11 kB / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.009053, allocations: 159.5 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.009071, allocations: 25.7 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.009111, allocations: 92.11 kB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.009142, allocations: 31.73 kB / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.009178, allocations: 29.69 kB / 329 MB, free: 3.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.009269, allocations: 318.8 kB / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.00929, allocations: 14.81 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-05/0.009331, allocations: 52.28 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.009386, allocations: 56.44 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.009387, allocations: 0 / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.662e-05/0.009484, allocations: 72.44 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.009496, allocations: 4 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.009501, allocations: 0 / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.00952, allocations: 4 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.009596, allocations: 15.98 kB / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.009601, allocations: 0 / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.009637, allocations: 64 / 329.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.009643, allocations: 8 kB / 329.6 MB, free: 3.121 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 (10): * Single equations (assignments): 10 * 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 7.856e-05/0.009722, allocations: 120.6 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.009738, allocations: 8.359 kB / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.009855, allocations: 74.39 kB / 329.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.009859, allocations: 4 kB / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.009861, allocations: 0 / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.009865, allocations: 4 kB / 329.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.01013, allocations: 291.4 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.01013, allocations: 4 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.01016, allocations: 16.03 kB / 330.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01016, allocations: 0 / 330.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.01017, allocations: 3.938 kB / 330.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01017, allocations: 7.922 kB / 330.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01018, allocations: 4 kB / 330.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.0103, allocations: 207.1 kB / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.01032, allocations: 11.95 kB / 330.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.01034, allocations: 3.938 kB / 330.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.0104, allocations: 7.984 kB / 330.3 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.01043, allocations: 4 kB / 330.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.01044, allocations: 11.98 kB / 330.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.01049, allocations: 39.66 kB / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01049, allocations: 0 / 330.4 MB, free: 2.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.01077, allocations: 51.86 kB / 330.4 MB, free: 2.195 MB / 298.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: 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 (9): * Single equations (assignments): 7 * 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.001865/0.01263, allocations: 0.7065 MB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.01275, allocations: 48.77 kB / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.01275, allocations: 0 / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.01279, allocations: 28.78 kB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.01303, allocations: 45.83 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.01337, allocations: 195.6 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/0.01341, allocations: 67.34 kB / 331.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.415e-05/0.01347, allocations: 21.09 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.118e-05/0.01356, allocations: 71.36 kB / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01356, allocations: 0 / 331.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of Templates: time 0.00522/0.01878, allocations: 2.762 MB / 334.4 MB, free: 14.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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: 2.985763663891703]