Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001133/0.001133, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002818, 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.001092/0.001092, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002556, 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.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1044/1.123, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3214/0.3214, allocations: 32.81 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02888/0.3502, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.529e-05, allocations: 3.688 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.006945/0.00697, allocations: 1.696 MB / 292.3 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.007893, allocations: 0.5419 MB / 292.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.007958, allocations: 1.406 kB / 292.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.008481, allocations: 495.8 kB / 293.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.008909, allocations: 303.2 kB / 293.6 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.009247, allocations: 127.6 kB / 293.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003244/0.01249, allocations: 163.6 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.01257, allocations: 16.11 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.01275, allocations: 155.7 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.01294, allocations: 183.7 kB / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.01296, allocations: 7.938 kB / 294.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.01304, allocations: 23.98 kB / 294.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.01312, allocations: 83.72 kB / 294.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.01316, allocations: 31.75 kB / 294.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.01339, allocations: 179.2 kB / 294.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.01341, allocations: 0 / 294.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01341, allocations: 0 / 294.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.01342, allocations: 0 / 294.6 MB, free: 4.305 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.0005719/0.014, allocations: 0.5883 MB / 295.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.01403, allocations: 8.031 kB / 295.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.01408, allocations: 24.91 kB / 295.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.01429, allocations: 242.1 kB / 295.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.0143, allocations: 384 / 295.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.01431, allocations: 8.375 kB / 295.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.0144, allocations: 50.95 kB / 295.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.01441, allocations: 192 / 295.5 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.01442, allocations: 3.938 kB / 295.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.01442, allocations: 4 kB / 295.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.1e-05/0.01444, allocations: 11.92 kB / 295.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.01464, allocations: 160.2 kB / 295.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/0.01468, allocations: 18.58 kB / 295.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.01469, allocations: 4.859 kB / 295.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.01471, allocations: 4.062 kB / 295.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.01473, allocations: 42.48 kB / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.01473, allocations: 0 / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001223/0.01486, allocations: 57.61 kB / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.01489, allocations: 55.41 kB / 295.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/0.01835, allocations: 0.5244 MB / 296.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.01836, allocations: 25.7 kB / 296.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/0.01844, allocations: 145.3 kB / 296.5 MB, free: 2.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.01845, allocations: 3.953 kB / 296.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.01849, allocations: 17.72 kB / 296.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01859, allocations: 354.7 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.01861, allocations: 8.125 kB / 296.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.01861, allocations: 0 / 296.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.01864, allocations: 12.8 kB / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01864, allocations: 0 / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.902e-05/0.01872, allocations: 57.61 kB / 297 MB, free: 1.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01873, allocations: 4 kB / 297 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01874, allocations: 0 / 297 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.01875, allocations: 4 kB / 297 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.01882, allocations: 11.97 kB / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.01882, allocations: 4.094 kB / 297 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.01885, allocations: 7.938 kB / 297 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.01886, allocations: 0 / 297 MB, free: 1.699 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 (2): * Single equations (assignments): 2 * 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 8.088e-05/0.01894, allocations: 116.7 kB / 297.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.01898, allocations: 23.91 kB / 297.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.01911, allocations: 76.69 kB / 297.2 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01911, allocations: 3.984 kB / 297.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.01911, allocations: 0 / 297.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01912, allocations: 0 / 297.2 MB, free: 1.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.01929, allocations: 133.7 kB / 297.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.01929, allocations: 4.031 kB / 297.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.01932, allocations: 7.984 kB / 297.4 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.01935, allocations: 27.77 kB / 297.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01935, allocations: 7.875 kB / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.01936, allocations: 4 kB / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01936, allocations: 0 / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01936, allocations: 0 / 297.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.01947, allocations: 159.4 kB / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.01948, allocations: 0 / 297.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.01954, allocations: 7.938 kB / 297.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-06/0.01955, allocations: 4.031 kB / 297.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.01955, allocations: 0 / 297.6 MB, free: 1.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.01979, allocations: 279.2 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01979, allocations: 0 / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001976/0.01998, allocations: 19.95 kB / 297.9 MB, free: 0.7891 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 (2): * Single equations (assignments): 2 * 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.004193/0.02418, allocations: 472.5 kB / 298.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.243e-05/0.02425, allocations: 12.84 kB / 298.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/0.02426, allocations: 12 kB / 298.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.02427, allocations: 8.797 kB / 298.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.02453, allocations: 37.77 kB / 298.4 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.02541, allocations: 0.558 MB / 299 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.068e-05/0.0255, allocations: 115.3 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.878e-05/0.02554, allocations: 15.97 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.02559, allocations: 55.38 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02559, allocations: 0 / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of Templates: time 0.00714/0.03273, allocations: 1.238 MB / 300.4 MB, free: 14.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.092683241702616]