Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002194, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006439/0.0006439, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000966/0.00161, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9135/0.9135, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1649/1.078, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1713/0.1713, allocations: 32.81 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02122/0.1925, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.276e-05, allocations: 6.25 kB / 285.9 MB, free: 8.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002324/0.002347, allocations: 1.715 MB / 287.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005432/0.00289, allocations: 438.8 kB / 288 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.002931, allocations: 0 / 288 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.003293, allocations: 487 kB / 288.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.00352, allocations: 271.3 kB / 288.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.003806, allocations: 143.4 kB / 288.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.003991, allocations: 155.7 kB / 289.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.004062, allocations: 15.98 kB / 289.1 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.004208, allocations: 155.7 kB / 289.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.004358, allocations: 191.7 kB / 289.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.004375, allocations: 4 kB / 289.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-05/0.004463, allocations: 51.86 kB / 289.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.577e-05/0.004539, allocations: 79.72 kB / 289.6 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.004566, allocations: 39.75 kB / 289.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.004757, allocations: 203.1 kB / 289.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.004767, allocations: 0 / 289.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004768, allocations: 0 / 289.8 MB, free: 4.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.004776, allocations: 0 / 289.8 MB, free: 4.445 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004588/0.005235, allocations: 0.5915 MB / 290.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.005262, allocations: 8.031 kB / 290.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.005299, allocations: 24.91 kB / 290.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.005461, allocations: 238.1 kB / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.005469, allocations: 384 / 290.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.005488, allocations: 12.36 kB / 290.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.225e-05/0.005571, allocations: 66.81 kB / 290.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.005579, allocations: 4.188 kB / 290.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.005586, allocations: 8.125 kB / 290.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005592, allocations: 4 kB / 290.7 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.005613, allocations: 8 kB / 290.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.005807, allocations: 180.1 kB / 290.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.23e-05/0.00586, allocations: 26.56 kB / 291 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.005872, allocations: 12.86 kB / 291 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.00589, allocations: 7.938 kB / 291 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.005908, allocations: 30.56 kB / 291 MB, free: 3.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.005909, allocations: 4 kB / 291 MB, free: 3.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004166/0.006326, allocations: 161.9 kB / 291.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.006351, allocations: 55.41 kB / 291.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.006647, allocations: 0.5166 MB / 291.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.006657, allocations: 25.7 kB / 291.8 MB, free: 2.344 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.006707, allocations: 137.3 kB / 291.9 MB, free: 2.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.006729, allocations: 31.73 kB / 291.9 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.006758, allocations: 21.72 kB / 291.9 MB, free: 2.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.006842, allocations: 366.6 kB / 292.3 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.006853, allocations: 4 kB / 292.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.006865, allocations: 12.06 kB / 292.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.006896, allocations: 24.83 kB / 292.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006897, allocations: 0 / 292.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.756e-05/0.006965, allocations: 77.58 kB / 292.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.006977, allocations: 8 kB / 292.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.00698, allocations: 0 / 292.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.006991, allocations: 0 / 292.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.007049, allocations: 15.98 kB / 292.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.007052, allocations: 0 / 292.4 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.007074, allocations: 8 kB / 292.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.007079, allocations: 4 kB / 292.5 MB, free: 1.621 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 (8): * Single equations (assignments): 8 * 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.553e-05/0.007145, allocations: 120.6 kB / 292.6 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.007169, allocations: 23.92 kB / 292.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.007278, allocations: 97.42 kB / 292.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007279, allocations: 0 / 292.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.00728, allocations: 3.938 kB / 292.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007283, allocations: 0 / 292.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.007557, allocations: 311.4 kB / 293 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007559, allocations: 0 / 293 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.007604, allocations: 19.98 kB / 293 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.007629, allocations: 31.72 kB / 293.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.007633, allocations: 4 kB / 293.1 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.00764, allocations: 4 kB / 293.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007642, allocations: 0 / 293.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007643, allocations: 3.938 kB / 293.1 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.007749, allocations: 184.7 kB / 293.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.007763, allocations: 0 / 293.2 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.113e-05/0.007804, allocations: 12.02 kB / 293.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.007835, allocations: 8 kB / 293.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.00784, allocations: 3.984 kB / 293.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.008005, allocations: 279.2 kB / 293.5 MB, free: 488 kB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008005, allocations: 0 / 293.5 MB, free: 488 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.008149, allocations: 31.92 kB / 293.6 MB, free: 456 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001312/0.009461, allocations: 0.6237 MB / 294.2 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.509e-05/0.009546, allocations: 40.77 kB / 294.2 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.009555, allocations: 8 kB / 294.2 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.079e-05/0.009586, allocations: 24.84 kB / 294.3 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.009817, allocations: 93.34 kB / 294.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.01054, allocations: 0.6168 MB / 295 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.639e-05/0.01061, allocations: 123.2 kB / 295.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.919e-05/0.01065, allocations: 13.19 kB / 295.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.0107, allocations: 55.38 kB / 295.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.0107, allocations: 0 / 295.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of Templates: time 0.003892/0.0146, allocations: 1.698 MB / 296.9 MB, free: 13.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.739150334149599]