Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.0009627/0.0009627, allocations: 91.22 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.001059/0.001059, 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.9014/0.9014, allocations: 158.6 MB / 185.7 MB, free: 2.902 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.1437/0.1437, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.739e-05, allocations: 2.312 kB / 347.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002124/0.002151, allocations: 1.735 MB / 349.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.002941, allocations: 0.8037 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.003004, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.003349, allocations: 43.72 kB / 350.3 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.003571, allocations: 51.75 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.003751, allocations: 83.7 kB / 350.5 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.003898, allocations: 103.6 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.003993, allocations: 8.219 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.004065, allocations: 51.84 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.004135, allocations: 27.91 kB / 350.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.004152, allocations: 4 kB / 350.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.004223, allocations: 39.92 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.00427, allocations: 23.91 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.004309, allocations: 19.92 kB / 350.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.004466, allocations: 103.5 kB / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.004469, allocations: 0 / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00447, allocations: 0 / 350.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.004475, allocations: 4 kB / 350.8 MB, free: 6.262 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000386/0.004861, allocations: 439.9 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.004904, allocations: 8.031 kB / 351.3 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.004952, allocations: 16.88 kB / 351.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.00509, allocations: 140.4 kB / 351.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.005109, allocations: 12.31 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.005127, allocations: 4.328 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.005243, allocations: 62.94 kB / 351.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005254, allocations: 3.938 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.005262, allocations: 4 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.00527, allocations: 0 / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.0053, allocations: 11.98 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.005547, allocations: 283.8 kB / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.942e-05/0.005646, allocations: 55.09 kB / 351.9 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.005674, allocations: 27.61 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.005685, allocations: 0 / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.649e-05/0.005771, allocations: 65.05 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.005772, allocations: 0 / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003445/0.006117, allocations: 157.5 kB / 352.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.006139, allocations: 59.33 kB / 352.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.006225, allocations: 220.1 kB / 352.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.006234, allocations: 33.7 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.006266, allocations: 146.9 kB / 352.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.006288, allocations: 31.75 kB / 352.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.006321, allocations: 35.3 kB / 352.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.006364, allocations: 0.4962 MB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.006388, allocations: 8.188 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.006429, allocations: 39.36 kB / 353.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.006477, allocations: 55.3 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.006478, allocations: 0 / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.925e-05/0.006568, allocations: 93.56 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.00658, allocations: 4 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006584, allocations: 0 / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.006599, allocations: 4 kB / 353.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.006668, allocations: 12 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.006675, allocations: 7.922 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.006702, allocations: 4 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006708, allocations: 4.031 kB / 353.3 MB, free: 3.535 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 (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 4.751e-05/0.006755, allocations: 164.5 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.006768, allocations: 15.91 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.006898, allocations: 106.5 kB / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.0069, allocations: 4 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.006903, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006906, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.007122, allocations: 389 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007124, allocations: 0 / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.867e-05/0.007152, allocations: 16.02 kB / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.007156, allocations: 0 / 354 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.007166, allocations: 8 kB / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.007168, allocations: 0 / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.00717, allocations: 0 / 354 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.007277, allocations: 259.4 kB / 354.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.007291, allocations: 7.953 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.007308, allocations: 8 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.007354, allocations: 3.984 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.007385, allocations: 7.938 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.007399, allocations: 7.984 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.007446, allocations: 175.9 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007446, allocations: 0 / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.007606, allocations: 23.94 kB / 354.5 MB, free: 2.277 MB / 282.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.0008139/0.00842, allocations: 432.8 kB / 354.9 MB, free: 1.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.008533, allocations: 55.53 kB / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008534, allocations: 0 / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.285e-05/0.008567, allocations: 31.67 kB / 355 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.008791, allocations: 32.02 kB / 355.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.009122, allocations: 221.6 kB / 355.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.009151, allocations: 71.33 kB / 355.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.777e-05/0.009179, allocations: 16.47 kB / 355.4 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.009213, allocations: 20.5 kB / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.009214, allocations: 0 / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of Templates: time 0.003359/0.01257, allocations: 1.977 MB / 357.4 MB, free: 15.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.3223114339634776]