Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.0009718/0.0009718, 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.001022/0.001022, allocations: 173.9 kB / 24.92 MB, free: 9.18 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.9804/0.9804, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2515/0.2515, allocations: 34.26 MB / 296.1 MB, free: 0.6445 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 325.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.501e-05, allocations: 5.766 kB / 325.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00197/0.001985, allocations: 1.759 MB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003189, allocations: 1.002 MB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.003258, allocations: 3.938 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.00353, allocations: 35.77 kB / 328.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.003778, allocations: 103.5 kB / 328.2 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.003931, allocations: 83.59 kB / 328.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.004058, allocations: 107.6 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.182e-05/0.00413, allocations: 8 kB / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.004207, allocations: 55.81 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.004269, allocations: 19.92 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.004286, allocations: 4 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-05/0.004356, allocations: 51.91 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.004394, allocations: 19.92 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.004423, allocations: 24.38 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.004566, allocations: 107.6 kB / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-06/0.004567, allocations: 0 / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004568, allocations: 0 / 328.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.004571, allocations: 0 / 328.7 MB, free: 4.172 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.0003348/0.004905, allocations: 317.5 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.004936, allocations: 12.03 kB / 329 MB, free: 3.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.004964, allocations: 4.938 kB / 329 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.005103, allocations: 151.4 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.005117, allocations: 8.297 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.005135, allocations: 12.31 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.005238, allocations: 61.77 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.005248, allocations: 3.938 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.005256, allocations: 0 / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005261, allocations: 0 / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.005285, allocations: 8 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.00548, allocations: 170 kB / 329.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/0.005571, allocations: 85.23 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/0.00559, allocations: 12.84 kB / 329.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.005599, allocations: 4 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.703e-05/0.005676, allocations: 70.14 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.005677, allocations: 0 / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002636/0.00594, allocations: 113.5 kB / 329.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.005972, allocations: 51.41 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006075, allocations: 181.3 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.006089, allocations: 25.7 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.006119, allocations: 100.1 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.006142, allocations: 19.8 kB / 330.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.006173, allocations: 29.69 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.006259, allocations: 330.8 kB / 330.4 MB, free: 2.281 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.006274, allocations: 7.203 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.006298, allocations: 29.64 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.342e-05/0.006342, allocations: 40.52 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006344, allocations: 4 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.445e-05/0.006419, allocations: 76.38 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.006433, allocations: 8 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006437, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.006451, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.006509, allocations: 20.02 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.006513, allocations: 0 / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.006538, allocations: 4 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006544, allocations: 0 / 330.6 MB, free: 2.074 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 6.774e-05/0.006612, allocations: 121.3 kB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.006628, allocations: 19.91 kB / 330.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.006731, allocations: 79.06 kB / 330.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.006733, allocations: 0 / 330.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.006734, allocations: 3.938 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.006739, allocations: 4 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.006968, allocations: 299.5 kB / 331.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.00697, allocations: 0 / 331.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.006991, allocations: 8 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.006994, allocations: 4 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.007001, allocations: 3.984 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007002, allocations: 0 / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007003, allocations: 80 / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.007143, allocations: 223 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.007154, allocations: 7.953 kB / 331.4 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.007169, allocations: 32 / 331.4 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.007208, allocations: 11.98 kB / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.007229, allocations: 3.984 kB / 331.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.00724, allocations: 8 kB / 331.4 MB, free: 1.227 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.026e-05/0.00728, allocations: 47.64 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00728, allocations: 0 / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.00742, allocations: 23.94 kB / 331.5 MB, free: 1.152 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.00123/0.008651, allocations: 0.5813 MB / 332.1 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.542e-05/0.008736, allocations: 36.78 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.00874, allocations: 4 kB / 332.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.18e-05/0.008772, allocations: 28.78 kB / 332.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.008952, allocations: 34.91 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.009263, allocations: 219.8 kB / 332.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.009299, allocations: 67.34 kB / 332.4 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.984e-05/0.009339, allocations: 21.25 kB / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.009407, allocations: 71.36 kB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009407, allocations: 0 / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of Templates: time 0.003649/0.01306, allocations: 2.006 MB / 334.5 MB, free: 14.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.9644419429823756]