Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.001007/0.001007, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009792/0.0009792, allocations: 165.3 kB / 23.8 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.8955/0.8955, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.138/0.138, 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.011e-05, allocations: 2.312 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002067/0.002098, allocations: 1.617 MB / 349.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004984/0.002596, allocations: 331.3 kB / 349.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.002656, allocations: 0 / 349.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.003098, allocations: 455.1 kB / 350.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.003385, allocations: 255.4 kB / 350.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.003692, allocations: 139.7 kB / 350.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.003918, allocations: 163.6 kB / 350.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.004023, allocations: 11.98 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.00413, allocations: 115.8 kB / 350.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.004296, allocations: 235.6 kB / 351 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.004317, allocations: 4 kB / 351 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.24e-05/0.004389, allocations: 27.92 kB / 351 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.00447, allocations: 79.7 kB / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.004511, allocations: 35.75 kB / 351.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.004711, allocations: 175.2 kB / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.004716, allocations: 0 / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.004717, allocations: 4 kB / 351.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.004723, allocations: 4 kB / 351.3 MB, free: 5.809 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.0004751/0.005198, allocations: 0.6854 MB / 352 MB, free: 5.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.00524, allocations: 8.031 kB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.0053, allocations: 44.66 kB / 352 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.00547, allocations: 248.8 kB / 352.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.00548, allocations: 4.375 kB / 352.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.005493, allocations: 384 / 352.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.005617, allocations: 54.95 kB / 352.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.005626, allocations: 192 / 352.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.005636, allocations: 8.125 kB / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.005644, allocations: 0 / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.005669, allocations: 11.98 kB / 352.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.006046, allocations: 415.7 kB / 352.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.326e-05/0.006099, allocations: 31.06 kB / 352.8 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.006131, allocations: 15.69 kB / 352.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.006157, allocations: 0 / 352.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.006175, allocations: 33.39 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.006176, allocations: 0 / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001897/0.006366, allocations: 89.39 kB / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.006391, allocations: 51.41 kB / 353 MB, free: 3.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.006743, allocations: 0.6237 MB / 353.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.006751, allocations: 29.7 kB / 353.6 MB, free: 3.301 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.006864, allocations: 282.8 kB / 353.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.006887, allocations: 7.953 kB / 353.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.00692, allocations: 19.36 kB / 353.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.007013, allocations: 0.547 MB / 354.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.007031, allocations: 4 kB / 354.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.007044, allocations: 4 kB / 354.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.87e-05/0.007083, allocations: 19.88 kB / 354.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.007085, allocations: 0 / 354.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.044e-05/0.007176, allocations: 85.28 kB / 354.6 MB, free: 2.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.007193, allocations: 4 kB / 354.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.0072, allocations: 4 kB / 354.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.007219, allocations: 0 / 354.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.007298, allocations: 11.94 kB / 354.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.007304, allocations: 0 / 354.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.007329, allocations: 4 kB / 354.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.007335, allocations: 0 / 354.6 MB, free: 2.281 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 5.939e-05/0.007395, allocations: 160.6 kB / 354.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.007425, allocations: 51.64 kB / 354.8 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.007536, allocations: 72.75 kB / 354.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.007539, allocations: 3.938 kB / 354.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.007543, allocations: 0 / 354.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007546, allocations: 0 / 354.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.007717, allocations: 272.5 kB / 355.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.007719, allocations: 0 / 355.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.007744, allocations: 4 kB / 355.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007747, allocations: 3.938 kB / 355.2 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007754, allocations: 12.03 kB / 355.2 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.007757, allocations: 3.984 kB / 355.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.007759, allocations: 0 / 355.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.007847, allocations: 215.7 kB / 355.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.007869, allocations: 39.66 kB / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.007885, allocations: 4 kB / 355.4 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.007921, allocations: 3.984 kB / 355.4 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.007956, allocations: 4 kB / 355.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.007959, allocations: 0 / 355.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.008151, allocations: 426.7 kB / 355.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008151, allocations: 4.031 kB / 355.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.008321, allocations: 19.94 kB / 355.9 MB, free: 0.9375 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.0006779/0.008999, allocations: 321.8 kB / 356.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.731e-05/0.009086, allocations: 15.67 kB / 356.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009088, allocations: 0 / 356.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/0.009101, allocations: 11.69 kB / 356.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.009352, allocations: 30.08 kB / 356.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.009981, allocations: 0.5619 MB / 356.8 MB, free: 44 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.0101, allocations: 123.2 kB / 356.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.338e-05/0.01014, allocations: 7.984 kB / 356.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.01017, allocations: 16.48 kB / 356.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01018, allocations: 0 / 356.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of Templates: time 0.004206/0.01438, allocations: 1.177 MB / 358.1 MB, free: 14.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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.241951239760965]