Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002119/0.002123, allocations: 179.4 kB / 8.364 MB, free: 0.7148 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.989/1.989, 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.001094/0.001094, allocations: 92.27 kB / 262.1 MB, free: 13.87 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.2974/0.2974, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.716e-05, allocations: 4 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.397, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5607, allocations: 86.48 MB / 0.5503 GB, free: 12.83 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.561, allocations: 71.47 kB / 0.5504 GB, free: 12.77 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01784/0.5789, allocations: 4.186 MB / 0.5545 GB, free: 8.574 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5789, allocations: 0 / 0.5545 GB, free: 8.574 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.579, allocations: 4 kB / 0.5545 GB, free: 8.57 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.0005318/0.5795, allocations: 386.8 kB / 0.5549 GB, free: 8.148 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5796, allocations: 8.031 kB / 0.5549 GB, free: 8.141 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.5796, allocations: 11.86 kB / 0.5549 GB, free: 8.129 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.58, allocations: 195.5 kB / 0.5551 GB, free: 7.895 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.58, allocations: 0 / 0.5551 GB, free: 7.895 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.58, allocations: 7.938 kB / 0.5551 GB, free: 7.887 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001222/0.5802, allocations: 27.97 kB / 0.5551 GB, free: 7.859 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.5803, allocations: 45.69 kB / 0.5552 GB, free: 7.809 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5803, allocations: 0 / 0.5552 GB, free: 7.809 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5804, allocations: 4 kB / 0.5552 GB, free: 7.805 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5804, allocations: 3.938 kB / 0.5552 GB, free: 7.801 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.581, allocations: 297.3 kB / 0.5555 GB, free: 7.473 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.5811, allocations: 38.5 kB / 0.5555 GB, free: 7.426 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.5812, allocations: 20.86 kB / 0.5555 GB, free: 7.402 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.5812, allocations: 0 / 0.5555 GB, free: 7.402 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5813, allocations: 30.56 kB / 0.5555 GB, free: 7.363 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.5813, allocations: 0 / 0.5555 GB, free: 7.363 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.000696/0.582, allocations: 157.3 kB / 0.5557 GB, free: 7.203 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.582, allocations: 59.41 kB / 0.5557 GB, free: 7.133 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.5823, allocations: 157.4 kB / 0.5559 GB, free: 6.969 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5823, allocations: 25.7 kB / 0.5559 GB, free: 6.938 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.5824, allocations: 158.6 kB / 0.5561 GB, free: 6.781 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.5825, allocations: 23.66 kB / 0.5561 GB, free: 6.758 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.5825, allocations: 0 / 0.5561 GB, free: 6.758 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5826, allocations: 318.8 kB / 0.5564 GB, free: 6.438 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.5827, allocations: 20 kB / 0.5564 GB, free: 6.418 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/0.5828, allocations: 24.06 kB / 0.5564 GB, free: 6.395 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.5829, allocations: 23.98 kB / 0.5565 GB, free: 6.371 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5829, allocations: 3.938 kB / 0.5565 GB, free: 6.367 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001918/0.5831, allocations: 77.67 kB / 0.5565 GB, free: 6.285 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.5831, allocations: 4 kB / 0.5565 GB, free: 6.281 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5831, allocations: 0 / 0.5565 GB, free: 6.281 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5832, allocations: 0 / 0.5565 GB, free: 6.281 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.5834, allocations: 27.92 kB / 0.5566 GB, free: 6.254 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.5834, allocations: 3.953 kB / 0.5566 GB, free: 6.25 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.5835, allocations: 19.98 kB / 0.5566 GB, free: 6.23 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.5836, allocations: 4 kB / 0.5566 GB, free: 6.227 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.27e-05/0.5837, allocations: 101 kB / 0.5567 GB, free: 6.121 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.5837, allocations: 11.81 kB / 0.5567 GB, free: 6.109 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.584, allocations: 98.59 kB / 0.5568 GB, free: 6.008 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.584, allocations: 0 / 0.5568 GB, free: 6.008 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5841, allocations: 7.938 kB / 0.5568 GB, free: 6 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.5841, allocations: 3.953 kB / 0.5568 GB, free: 5.996 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.5846, allocations: 359.2 kB / 0.5572 GB, free: 5.602 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.5847, allocations: 0 / 0.5572 GB, free: 5.602 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.5849, allocations: 23.92 kB / 0.5572 GB, free: 5.578 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5849, allocations: 0 / 0.5572 GB, free: 5.578 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.5849, allocations: 4 kB / 0.5572 GB, free: 5.574 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5849, allocations: 0 / 0.5572 GB, free: 5.574 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.585, allocations: 7.953 kB / 0.5572 GB, free: 5.566 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.5852, allocations: 183.5 kB / 0.5574 GB, free: 5.371 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.5853, allocations: 96.98 kB / 0.5575 GB, free: 5.258 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.5854, allocations: 0 / 0.5575 GB, free: 5.258 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.5855, allocations: 11.98 kB / 0.5575 GB, free: 5.246 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.5856, allocations: 11.95 kB / 0.5575 GB, free: 5.234 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.5856, allocations: 4 kB / 0.5575 GB, free: 5.23 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.5858, allocations: 131.2 kB / 0.5576 GB, free: 5.102 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5858, allocations: 0 / 0.5576 GB, free: 5.102 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.5862, allocations: 16 kB / 0.5576 GB, free: 5.086 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.001001/0.5872, allocations: 338.7 kB / 0.5579 GB, free: 4.793 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.5874, allocations: 55.92 kB / 0.558 GB, free: 4.738 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.5874, allocations: 0 / 0.558 GB, free: 4.738 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.5875, allocations: 24 kB / 0.558 GB, free: 4.715 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.5878, allocations: 20.84 kB / 0.558 GB, free: 4.699 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.5883, allocations: 193.8 kB / 0.5582 GB, free: 4.484 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.5887, allocations: 0.7079 MB / 0.5589 GB, free: 3.75 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.5888, allocations: 23.42 kB / 0.5589 GB, free: 3.727 MB / 395.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5889, allocations: 0 / 0.5589 GB, free: 3.727 MB / 395.1 MB Notification: Performance of Templates: time 0.005117/0.594, allocations: 1.722 MB / 0.5606 GB, free: 2.008 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches