Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001016/0.001016, allocations: 95.2 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.0009617/0.0009617, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9485/0.9485, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.18/0.18, allocations: 32.37 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.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 3.938 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.086e-05, allocations: 2.312 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002509/0.00254, allocations: 1.606 MB / 349.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.003498, allocations: 1.048 MB / 350.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.003556, allocations: 0 / 350.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.003819, allocations: 27.78 kB / 350.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.004034, allocations: 55.64 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.004221, allocations: 63.78 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.004366, allocations: 55.84 kB / 350.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.004481, allocations: 11.98 kB / 350.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.004541, allocations: 31.91 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.00464, allocations: 27.86 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.004661, allocations: 0 / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.004771, allocations: 51.91 kB / 350.7 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.004826, allocations: 7.938 kB / 350.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.00486, allocations: 11.98 kB / 350.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005063, allocations: 79.72 kB / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.005066, allocations: 0 / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.005067, allocations: 0 / 350.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005072, allocations: 0 / 350.7 MB, free: 6.359 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000395/0.005467, allocations: 408.2 kB / 351.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.00551, allocations: 15.97 kB / 351.2 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.005559, allocations: 12.94 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.005689, allocations: 139.2 kB / 351.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.005698, allocations: 384 / 351.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.005722, allocations: 4.375 kB / 351.3 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.00585, allocations: 96.03 kB / 351.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.005859, allocations: 192 / 351.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.00587, allocations: 4.125 kB / 351.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005878, allocations: 4 kB / 351.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.005908, allocations: 11.92 kB / 351.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.006142, allocations: 267.8 kB / 351.7 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.006299, allocations: 43.05 kB / 351.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.006319, allocations: 15.69 kB / 351.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.006339, allocations: 3.938 kB / 351.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.006356, allocations: 37.33 kB / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.006357, allocations: 0 / 351.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003151/0.006672, allocations: 93.56 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.006698, allocations: 81.11 kB / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.006784, allocations: 185.9 kB / 352.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.102e-06/0.00679, allocations: 25.7 kB / 352.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.00683, allocations: 142.9 kB / 352.3 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.006848, allocations: 19.84 kB / 352.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.006872, allocations: 23.38 kB / 352.3 MB, free: 4.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.006917, allocations: 496.1 kB / 352.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.006933, allocations: 8 kB / 352.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.00696, allocations: 53.25 kB / 352.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.00699, allocations: 23.69 kB / 352.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.00699, allocations: 0 / 352.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.799e-05/0.007048, allocations: 69.52 kB / 353 MB, free: 3.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.00706, allocations: 7.938 kB / 353 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007065, allocations: 0 / 353 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.00708, allocations: 4.031 kB / 353 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.561e-05/0.007116, allocations: 12 kB / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.007121, allocations: 0 / 353 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.662e-05/0.007137, allocations: 3.984 kB / 353 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.007143, allocations: 4 kB / 353 MB, free: 3.852 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.382e-05/0.007187, allocations: 156.6 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.007204, allocations: 11.89 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.99e-05/0.007294, allocations: 65.75 kB / 353.2 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007297, allocations: 3.984 kB / 353.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.0073, allocations: 0 / 353.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.007303, allocations: 4.281 kB / 353.3 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.007491, allocations: 313.4 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007492, allocations: 0 / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.007514, allocations: 12.17 kB / 353.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007517, allocations: 7.984 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.007523, allocations: 4 kB / 353.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.007525, allocations: 3.938 kB / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007526, allocations: 0 / 353.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.923e-05/0.007595, allocations: 207.8 kB / 353.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.007603, allocations: 7.953 kB / 353.8 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.007613, allocations: 4 kB / 353.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.886e-05/0.007642, allocations: 4 kB / 353.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.007675, allocations: 7.984 kB / 353.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.007677, allocations: 0 / 353.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.007721, allocations: 147.2 kB / 354 MB, free: 2.836 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007721, allocations: 0 / 354 MB, free: 2.836 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.007885, allocations: 19.92 kB / 354 MB, free: 2.816 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008479/0.008733, allocations: 437.5 kB / 354.4 MB, free: 2.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.008837, allocations: 27.62 kB / 354.4 MB, free: 2.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.008839, allocations: 0 / 354.4 MB, free: 2.449 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.008859, allocations: 23.67 kB / 354.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.009063, allocations: 24.17 kB / 354.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.009358, allocations: 162 kB / 354.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.532e-05/0.009383, allocations: 55.36 kB / 354.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.158e-05/0.009415, allocations: 7.984 kB / 354.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/0.009443, allocations: 16.5 kB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009444, allocations: 4 kB / 354.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of Templates: time 0.002897/0.01234, allocations: 1.425 MB / 356.1 MB, free: 0.6914 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.249483723193407]