Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001157/0.001157, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001546/0.002703, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007927/0.0007927, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009038/0.001697, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.04/1.04, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09886/1.139, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.2468/0.2468, allocations: 34.26 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02308/0.2699, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.019e-05, allocations: 3.078 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001948/0.001968, allocations: 1.707 MB / 294.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006374/0.002606, allocations: 0.5413 MB / 294.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.002646, allocations: 7.938 kB / 294.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.003056, allocations: 487 kB / 295.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.003408, allocations: 311.2 kB / 295.7 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.003724, allocations: 127.6 kB / 295.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.003944, allocations: 159.7 kB / 296 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.004055, allocations: 15.91 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.004229, allocations: 163.6 kB / 296.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.004399, allocations: 195.6 kB / 296.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004418, allocations: 4 kB / 296.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.666e-05/0.004494, allocations: 23.98 kB / 296.3 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.96e-05/0.004594, allocations: 79.72 kB / 296.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/0.004632, allocations: 31.75 kB / 296.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.00485, allocations: 183.2 kB / 296.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.982e-05/0.00487, allocations: 4 kB / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.004871, allocations: 0 / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.004891, allocations: 0 / 296.6 MB, free: 2.258 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.00063/0.005521, allocations: 0.5927 MB / 297.2 MB, free: 1.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.00557, allocations: 8.031 kB / 297.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.005619, allocations: 20.92 kB / 297.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.005817, allocations: 242 kB / 297.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.00583, allocations: 8.375 kB / 297.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.005839, allocations: 384 / 297.5 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.005939, allocations: 58.88 kB / 297.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.005947, allocations: 4.188 kB / 297.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.005954, allocations: 4.125 kB / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.005958, allocations: 0 / 297.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.005977, allocations: 12 kB / 297.6 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.006163, allocations: 160.3 kB / 297.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.412e-05/0.006218, allocations: 22.58 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.006233, allocations: 8.859 kB / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.006254, allocations: 4 kB / 297.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.006276, allocations: 38.64 kB / 297.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.006277, allocations: 0 / 297.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001231/0.0064, allocations: 69.73 kB / 297.9 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.006439, allocations: 55.41 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.006737, allocations: 0.5244 MB / 298.5 MB, free: 316 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.006747, allocations: 25.7 kB / 298.5 MB, free: 284 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.0068, allocations: 141.3 kB / 298.6 MB, free: 136 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.006818, allocations: 15.84 kB / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.006841, allocations: 17.7 kB / 298.7 MB, free: 96 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.006941, allocations: 358.7 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.00695, allocations: 0 / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.00696, allocations: 11.97 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.006984, allocations: 16.8 kB / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006987, allocations: 0 / 299 MB, free: 15.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.798e-05/0.007044, allocations: 57.66 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.007057, allocations: 13.97 kB / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.007061, allocations: 0 / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.007069, allocations: 0 / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.007136, allocations: 11.98 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.007138, allocations: 0 / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.00716, allocations: 0 / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.007166, allocations: 4 kB / 299.1 MB, free: 15.61 MB / 298.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 (3): * Single equations (assignments): 3 * 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.01e-05/0.007226, allocations: 116.7 kB / 299.2 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.007247, allocations: 23.97 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.007346, allocations: 84.98 kB / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007348, allocations: 0 / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007349, allocations: 0 / 299.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.007351, allocations: 3.938 kB / 299.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.007468, allocations: 137.8 kB / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007469, allocations: 0 / 299.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.007496, allocations: 8 kB / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.007518, allocations: 35.7 kB / 299.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.007519, allocations: 0 / 299.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.007524, allocations: 7.938 kB / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.007524, allocations: 0 / 299.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.007526, allocations: 4 kB / 299.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.315e-05/0.007599, allocations: 151.5 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.007612, allocations: 4 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.007647, allocations: 0 / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.007658, allocations: 7.938 kB / 299.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.007661, allocations: 4 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.007827, allocations: 283.2 kB / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007827, allocations: 0 / 300 MB, free: 14.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001269/0.007954, allocations: 19.94 kB / 300 MB, free: 14.69 MB / 298.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 (3): * Single equations (assignments): 3 * 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.001036/0.00899, allocations: 483.1 kB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.009056, allocations: 12.86 kB / 300.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.009067, allocations: 12 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.009078, allocations: 16.78 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.009288, allocations: 41.83 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.01001, allocations: 0.5632 MB / 301.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.857e-05/0.01009, allocations: 119.2 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.963e-05/0.01012, allocations: 7.984 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.01017, allocations: 59.36 kB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01017, allocations: 0 / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of Templates: time 0.003553/0.01372, allocations: 1.283 MB / 302.6 MB, free: 12.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.9676052117720246]