Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008962/0.0008962, allocations: 90.3 kB / 261.7 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2037/0.2037, allocations: 43.49 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.556e-05/1.558e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 58.86 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5674, allocations: 86.72 MB / 0.5506 GB, free: 8.215 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5677, allocations: 79.25 kB / 0.5507 GB, free: 8.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009854/0.5776, allocations: 4.283 MB / 0.5549 GB, free: 4.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5777, allocations: 0 / 0.5549 GB, free: 4.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.5777, allocations: 3.672 kB / 0.5549 GB, free: 4.906 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003532/0.578, allocations: 378.1 kB / 0.5552 GB, free: 4.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.5781, allocations: 8.031 kB / 0.5552 GB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.5781, allocations: 11.86 kB / 0.5553 GB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.5783, allocations: 194.6 kB / 0.5554 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5784, allocations: 0 / 0.5554 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.5784, allocations: 4 kB / 0.5554 GB, free: 4.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.514e-05/0.5785, allocations: 23.3 kB / 0.5555 GB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.823e-05/0.5786, allocations: 62.78 kB / 0.5555 GB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5786, allocations: 0 / 0.5555 GB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5786, allocations: 0 / 0.5555 GB, free: 4.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.5786, allocations: 7.609 kB / 0.5555 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.579, allocations: 288.4 kB / 0.5558 GB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.739e-05/0.5791, allocations: 42.88 kB / 0.5558 GB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.5791, allocations: 16.62 kB / 0.5559 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.5791, allocations: 0 / 0.5559 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.5792, allocations: 38.56 kB / 0.5559 GB, free: 3.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.5792, allocations: 0 / 0.5559 GB, free: 3.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004608/0.5796, allocations: 148.6 kB / 0.556 GB, free: 3.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.5797, allocations: 77.11 kB / 0.5561 GB, free: 3.539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.5798, allocations: 132.2 kB / 0.5562 GB, free: 3.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.5798, allocations: 29.64 kB / 0.5563 GB, free: 3.379 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.5798, allocations: 103.4 kB / 0.5564 GB, free: 3.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.5799, allocations: 15.7 kB / 0.5564 GB, free: 3.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.5799, allocations: 4 kB / 0.5564 GB, free: 3.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.5799, allocations: 314.8 kB / 0.5567 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.58, allocations: 23.92 kB / 0.5567 GB, free: 2.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.58, allocations: 33.02 kB / 0.5567 GB, free: 2.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.58, allocations: 23.86 kB / 0.5568 GB, free: 2.891 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5801, allocations: 4.031 kB / 0.5568 GB, free: 2.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001021/0.5802, allocations: 89 kB / 0.5569 GB, free: 2.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.5802, allocations: 4 kB / 0.5569 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5802, allocations: 0 / 0.5569 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5802, allocations: 0 / 0.5569 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5803, allocations: 23.98 kB / 0.5569 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5803, allocations: 8.016 kB / 0.5569 GB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.5804, allocations: 19.98 kB / 0.5569 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.5804, allocations: 0 / 0.5569 GB, free: 2.754 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.5805, allocations: 104.9 kB / 0.557 GB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.5805, allocations: 7.906 kB / 0.557 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.5807, allocations: 101.6 kB / 0.5571 GB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5807, allocations: 0 / 0.5571 GB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5807, allocations: 4 kB / 0.5571 GB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5807, allocations: 3.953 kB / 0.5571 GB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.581, allocations: 349.3 kB / 0.5575 GB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.581, allocations: 3.984 kB / 0.5575 GB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/0.5811, allocations: 23.92 kB / 0.5575 GB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5811, allocations: 4 kB / 0.5575 GB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.5811, allocations: 3.875 kB / 0.5575 GB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5811, allocations: 0 / 0.5575 GB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5811, allocations: 3.953 kB / 0.5575 GB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.5813, allocations: 182.2 kB / 0.5577 GB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.5813, allocations: 85.02 kB / 0.5577 GB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.5813, allocations: 3.984 kB / 0.5578 GB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.5814, allocations: 12 kB / 0.5578 GB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.5815, allocations: 15.56 kB / 0.5578 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.5815, allocations: 0 / 0.5578 GB, free: 1.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.5815, allocations: 107.1 kB / 0.5579 GB, free: 1.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5815, allocations: 0 / 0.5579 GB, free: 1.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.5818, allocations: 31.88 kB / 0.5579 GB, free: 1.734 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007799/0.5826, allocations: 381.9 kB / 0.5583 GB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.5827, allocations: 47.17 kB / 0.5583 GB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5827, allocations: 0 / 0.5583 GB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.5828, allocations: 35.7 kB / 0.5584 GB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.583, allocations: 19.94 kB / 0.5584 GB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.5833, allocations: 135.1 kB / 0.5585 GB, free: 1.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.5834, allocations: 0.7079 MB / 0.5592 GB, free: 476 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.317e-05/0.5835, allocations: 20.64 kB / 0.5592 GB, free: 456 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.5835, allocations: 15.25 kB / 0.5592 GB, free: 444 kB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5835, allocations: 0 / 0.5592 GB, free: 444 kB / 362.7 MB Notification: Performance of Templates: time 0.00362/0.5871, allocations: 1.422 MB / 0.5606 GB, free: 15.03 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches