Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 177.8 kB / 8.358 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 87.08 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2976/0.2976, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.847e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.397, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.559, allocations: 86.72 MB / 0.5506 GB, free: 12.58 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.5594, allocations: 71.97 kB / 0.5507 GB, free: 12.51 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01881/0.5782, allocations: 4.273 MB / 0.5548 GB, free: 8.223 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5782, allocations: 0 / 0.5548 GB, free: 8.223 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.5783, allocations: 4 kB / 0.5548 GB, free: 8.219 MB / 395.1 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.000551/0.5788, allocations: 386.2 kB / 0.5552 GB, free: 7.797 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5789, allocations: 12.03 kB / 0.5552 GB, free: 7.785 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.579, allocations: 15.86 kB / 0.5552 GB, free: 7.77 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.5793, allocations: 187 kB / 0.5554 GB, free: 7.547 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5793, allocations: 3.984 kB / 0.5554 GB, free: 7.543 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.5793, allocations: 0 / 0.5554 GB, free: 7.543 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/0.5794, allocations: 23.94 kB / 0.5554 GB, free: 7.52 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.5796, allocations: 63.41 kB / 0.5555 GB, free: 7.445 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5796, allocations: 0 / 0.5555 GB, free: 7.445 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.5797, allocations: 4 kB / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5797, allocations: 0 / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.5802, allocations: 289.3 kB / 0.5558 GB, free: 7.121 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.5804, allocations: 46.44 kB / 0.5558 GB, free: 7.066 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.5804, allocations: 20.86 kB / 0.5558 GB, free: 7.043 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.5805, allocations: 0 / 0.5558 GB, free: 7.043 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.5805, allocations: 30.56 kB / 0.5559 GB, free: 7.004 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.704e-06/0.5805, allocations: 0 / 0.5559 GB, free: 7.004 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006754/0.5812, allocations: 149.3 kB / 0.556 GB, free: 6.852 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.5813, allocations: 85.11 kB / 0.5561 GB, free: 6.75 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.5815, allocations: 128.1 kB / 0.5562 GB, free: 6.617 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5815, allocations: 25.7 kB / 0.5562 GB, free: 6.586 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.5816, allocations: 166.4 kB / 0.5564 GB, free: 6.422 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.5817, allocations: 19.7 kB / 0.5564 GB, free: 6.402 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.5817, allocations: 4 kB / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5818, allocations: 310.8 kB / 0.5567 GB, free: 6.086 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.5819, allocations: 16.25 kB / 0.5567 GB, free: 6.07 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.582, allocations: 41.7 kB / 0.5568 GB, free: 6.023 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.5821, allocations: 23.98 kB / 0.5568 GB, free: 6 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.5821, allocations: 0 / 0.5568 GB, free: 6 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000207/0.5823, allocations: 81.91 kB / 0.5569 GB, free: 5.914 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5823, allocations: 7.938 kB / 0.5569 GB, free: 5.906 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5824, allocations: 0 / 0.5569 GB, free: 5.906 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5824, allocations: 7.984 kB / 0.5569 GB, free: 5.898 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.5826, allocations: 24.02 kB / 0.5569 GB, free: 5.875 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5827, allocations: 3.953 kB / 0.5569 GB, free: 5.871 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.5828, allocations: 15.98 kB / 0.5569 GB, free: 5.855 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.5828, allocations: 0 / 0.5569 GB, free: 5.855 MB / 395.1 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 9.902e-05/0.5829, allocations: 112.9 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.583, allocations: 7.906 kB / 0.557 GB, free: 5.73 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.5833, allocations: 94.36 kB / 0.5571 GB, free: 5.637 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5833, allocations: 7.984 kB / 0.5571 GB, free: 5.629 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5833, allocations: 0 / 0.5571 GB, free: 5.629 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.5834, allocations: 3.953 kB / 0.5572 GB, free: 5.625 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.5839, allocations: 343.1 kB / 0.5575 GB, free: 5.246 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5839, allocations: 0 / 0.5575 GB, free: 5.246 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.5841, allocations: 23.98 kB / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.5842, allocations: 0 / 0.5575 GB, free: 5.223 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.5842, allocations: 4 kB / 0.5575 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5842, allocations: 0 / 0.5575 GB, free: 5.219 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.5842, allocations: 3.953 kB / 0.5575 GB, free: 5.215 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.5845, allocations: 183.4 kB / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.5846, allocations: 89 kB / 0.5578 GB, free: 4.914 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.5846, allocations: 0 / 0.5578 GB, free: 4.914 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.5848, allocations: 19.98 kB / 0.5578 GB, free: 4.895 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.5849, allocations: 15.88 kB / 0.5578 GB, free: 4.879 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.5849, allocations: 0 / 0.5578 GB, free: 4.879 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.585, allocations: 107.3 kB / 0.5579 GB, free: 4.773 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.585, allocations: 0 / 0.5579 GB, free: 4.773 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003907/0.5854, allocations: 28 kB / 0.5579 GB, free: 4.746 MB / 395.1 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.001131/0.5865, allocations: 392 kB / 0.5583 GB, free: 4.406 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.5868, allocations: 55.97 kB / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5868, allocations: 0 / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.5869, allocations: 24 kB / 0.5584 GB, free: 4.328 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.5873, allocations: 35.52 kB / 0.5584 GB, free: 4.297 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.5878, allocations: 157.8 kB / 0.5586 GB, free: 4.113 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.5881, allocations: 0.7079 MB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.373e-05/0.5882, allocations: 15.44 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5883, allocations: 0 / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of Templates: time 0.005747/0.594, allocations: 1.848 MB / 0.5611 GB, free: 1.516 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches