Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001842/0.001841, allocations: 178 kB / 8.362 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 2.025/2.025, 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.001109/0.001108, allocations: 80.64 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.2935/0.2935, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.615e-05, allocations: 224 / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4082, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.5692, allocations: 86.38 MB / 0.5503 GB, free: 12.91 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5696, allocations: 67.97 kB / 0.5503 GB, free: 12.85 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02995/0.5995, allocations: 7.814 MB / 0.558 GB, free: 5.016 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5996, allocations: 0 / 0.558 GB, free: 5.016 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.885e-05/0.5996, allocations: 8 kB / 0.558 GB, free: 5.008 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007276/0.6004, allocations: 0.5403 MB / 0.5585 GB, free: 4.422 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6004, allocations: 12.03 kB / 0.5585 GB, free: 4.41 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.6006, allocations: 43.39 kB / 0.5585 GB, free: 4.367 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.6013, allocations: 323.3 kB / 0.5588 GB, free: 4.012 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.6013, allocations: 0.5469 kB / 0.5588 GB, free: 4.012 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.6014, allocations: 4 kB / 0.5589 GB, free: 4.008 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.288e-05/0.6015, allocations: 19.92 kB / 0.5589 GB, free: 3.988 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.6016, allocations: 42.12 kB / 0.5589 GB, free: 3.941 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.6016, allocations: 0 / 0.5589 GB, free: 3.941 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.6016, allocations: 3.938 kB / 0.5589 GB, free: 3.938 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.6016, allocations: 11.89 kB / 0.5589 GB, free: 3.926 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008708/0.6025, allocations: 409.4 kB / 0.5593 GB, free: 3.488 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.551e-05/0.6026, allocations: 26.56 kB / 0.5593 GB, free: 3.453 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.6027, allocations: 12.92 kB / 0.5594 GB, free: 3.438 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.6027, allocations: 4 kB / 0.5594 GB, free: 3.434 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.6028, allocations: 30.56 kB / 0.5594 GB, free: 3.395 MB / 395.1 MB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.6028, allocations: 0 / 0.5594 GB, free: 3.395 MB / 395.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002584/0.603, allocations: 89.03 kB / 0.5595 GB, free: 3.301 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.6031, allocations: 55.39 kB / 0.5595 GB, free: 3.234 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.6049, allocations: 0.7512 MB / 0.5603 GB, free: 2.477 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.605, allocations: 25.7 kB / 0.5603 GB, free: 2.445 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.6052, allocations: 230.6 kB / 0.5605 GB, free: 2.219 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.6052, allocations: 11.94 kB / 0.5605 GB, free: 2.207 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.6052, allocations: 0 / 0.5605 GB, free: 2.207 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6054, allocations: 310.8 kB / 0.5608 GB, free: 1.895 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.6054, allocations: 11.98 kB / 0.5608 GB, free: 1.883 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.6055, allocations: 8 kB / 0.5608 GB, free: 1.875 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.6055, allocations: 4 kB / 0.5608 GB, free: 1.871 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6055, allocations: 0 / 0.5608 GB, free: 1.871 MB / 395.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001224/0.6057, allocations: 41.69 kB / 0.5609 GB, free: 1.824 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.6057, allocations: 12.09 kB / 0.5609 GB, free: 1.812 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.6057, allocations: 3.938 kB / 0.5609 GB, free: 1.809 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6058, allocations: 0 / 0.5609 GB, free: 1.809 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.6059, allocations: 4 kB / 0.5609 GB, free: 1.805 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6059, allocations: 3.953 kB / 0.5609 GB, free: 1.801 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.606, allocations: 4 kB / 0.5609 GB, free: 1.797 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.606, allocations: 3.984 kB / 0.5609 GB, free: 1.793 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 (2): * Single equations (assignments): 2 * 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 8.358e-05/0.6061, allocations: 108.9 kB / 0.561 GB, free: 1.68 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6063, allocations: 43.44 kB / 0.561 GB, free: 1.637 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.6066, allocations: 96.97 kB / 0.5611 GB, free: 1.527 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6066, allocations: 0 / 0.5611 GB, free: 1.527 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6066, allocations: 0 / 0.5611 GB, free: 1.527 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.6066, allocations: 3.953 kB / 0.5611 GB, free: 1.523 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.6071, allocations: 306 kB / 0.5614 GB, free: 1.188 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.6071, allocations: 0 / 0.5614 GB, free: 1.188 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.321e-05/0.6072, allocations: 11.92 kB / 0.5614 GB, free: 1.176 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6072, allocations: 0 / 0.5614 GB, free: 1.176 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.6072, allocations: 3.938 kB / 0.5615 GB, free: 1.172 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.6072, allocations: 7.969 kB / 0.5615 GB, free: 1.164 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.6072, allocations: 4 kB / 0.5615 GB, free: 1.16 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.6075, allocations: 175 kB / 0.5616 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.6078, allocations: 164.5 kB / 0.5618 GB, free: 0.793 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.6079, allocations: 0 / 0.5618 GB, free: 0.793 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.608, allocations: 4 kB / 0.5618 GB, free: 0.7891 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.6081, allocations: 8.016 kB / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.6081, allocations: 0 / 0.5618 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.6092, allocations: 0.6082 MB / 0.5624 GB, free: 180 kB / 395.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6092, allocations: 0 / 0.5624 GB, free: 180 kB / 395.1 MB Notification: Performance of remove unused functions: time 0.000442/0.6096, allocations: 52 kB / 0.5624 GB, free: 128 kB / 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 (2): * Single equations (assignments): 2 * 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.0009038/0.6106, allocations: 297.8 kB / 0.5627 GB, free: 15.87 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.6107, allocations: 15.94 kB / 0.5627 GB, free: 15.85 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6107, allocations: 0 / 0.5627 GB, free: 15.85 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 3.263e-05/0.6107, allocations: 7.984 kB / 0.5628 GB, free: 15.84 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.6111, allocations: 29.91 kB / 0.5628 GB, free: 15.82 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.6129, allocations: 0.7474 MB / 0.5635 GB, free: 15.04 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005626/0.6135, allocations: 0.8263 MB / 0.5643 GB, free: 14.18 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.6136, allocations: 19.44 kB / 0.5643 GB, free: 14.16 MB / 411.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6136, allocations: 0 / 0.5643 GB, free: 14.16 MB / 411.1 MB Notification: Performance of Templates: time 0.01206/0.6257, allocations: 4.01 MB / 0.5682 GB, free: 10.14 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches