Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.4 MB / 223.6 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008885/0.0008888, allocations: 82.36 kB / 271.9 MB, free: 8.281 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.3945/0.3945, allocations: 43.56 MB / 363.8 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 15.94 kB / 432.6 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 58.86 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.4296, allocations: 86.91 MB / 0.5648 GB, free: 15.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4299, allocations: 75.94 kB / 0.5649 GB, free: 15.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.4457, allocations: 7.701 MB / 0.5724 GB, free: 7.801 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4458, allocations: 0 / 0.5724 GB, free: 7.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.4458, allocations: 7.984 kB / 0.5724 GB, free: 7.793 MB / 394.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.0006082/0.4464, allocations: 0.6288 MB / 0.573 GB, free: 7.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4465, allocations: 8.031 kB / 0.573 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.4465, allocations: 48.38 kB / 0.5731 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.4469, allocations: 348.1 kB / 0.5734 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.4469, allocations: 4.375 kB / 0.5734 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.447, allocations: 0.9375 kB / 0.5734 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.4471, allocations: 66.16 kB / 0.5735 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4471, allocations: 192 / 0.5735 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4471, allocations: 3.938 kB / 0.5735 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.4471, allocations: 0 / 0.5735 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.4472, allocations: 31.98 kB / 0.5735 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.4478, allocations: 436.1 kB / 0.5739 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.4479, allocations: 46.5 kB / 0.574 GB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.448, allocations: 20.94 kB / 0.574 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.448, allocations: 0 / 0.574 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.4481, allocations: 34.56 kB / 0.574 GB, free: 5.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.4481, allocations: 0 / 0.574 GB, free: 5.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005747/0.4486, allocations: 243.9 kB / 0.5743 GB, free: 5.734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.4487, allocations: 51.62 kB / 0.5743 GB, free: 5.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.4499, allocations: 0.8495 MB / 0.5751 GB, free: 4.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.4499, allocations: 25.7 kB / 0.5752 GB, free: 4.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.45, allocations: 224.1 kB / 0.5754 GB, free: 4.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.4501, allocations: 19.86 kB / 0.5754 GB, free: 4.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.4501, allocations: 0 / 0.5754 GB, free: 4.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4502, allocations: 362.7 kB / 0.5757 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.4503, allocations: 23.98 kB / 0.5758 GB, free: 4.152 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.4504, allocations: 19.98 kB / 0.5758 GB, free: 4.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.4505, allocations: 60.77 kB / 0.5758 GB, free: 4.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4505, allocations: 0 / 0.5758 GB, free: 4.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.4507, allocations: 129 kB / 0.576 GB, free: 3.938 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4507, allocations: 4 kB / 0.576 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4507, allocations: 0 / 0.576 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.4508, allocations: 0 / 0.576 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.4508, allocations: 20.61 kB / 0.576 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4508, allocations: 0 / 0.576 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.4509, allocations: 15.92 kB / 0.576 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.4509, allocations: 0 / 0.576 GB, free: 3.898 MB / 394.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 (5): * Single equations (assignments): 5 * 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 0.0001782/0.4511, allocations: 229.6 kB / 0.5762 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.4512, allocations: 39.53 kB / 0.5763 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.4515, allocations: 145.2 kB / 0.5764 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4515, allocations: 0 / 0.5764 GB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4515, allocations: 4 kB / 0.5764 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4515, allocations: 4 kB / 0.5764 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.4522, allocations: 0.5881 MB / 0.577 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4522, allocations: 0 / 0.577 GB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.4523, allocations: 15.98 kB / 0.577 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4523, allocations: 4 kB / 0.577 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.4523, allocations: 0.75 kB / 0.577 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4523, allocations: 0 / 0.577 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4523, allocations: 3.938 kB / 0.577 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.4526, allocations: 211.1 kB / 0.5772 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.4527, allocations: 172.5 kB / 0.5774 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4528, allocations: 0 / 0.5774 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.4529, allocations: 8 kB / 0.5774 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.4529, allocations: 11.86 kB / 0.5774 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.4529, allocations: 7.938 kB / 0.5774 GB, free: 2.363 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006628/0.4536, allocations: 0.6355 MB / 0.578 GB, free: 1.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4536, allocations: 0 / 0.578 GB, free: 1.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.4539, allocations: 56 kB / 0.5781 GB, free: 1.676 MB / 394.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 (5): * Single equations (assignments): 5 * 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.0008134/0.4547, allocations: 412.5 kB / 0.5785 GB, free: 1.359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.4549, allocations: 51.97 kB / 0.5785 GB, free: 1.309 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4549, allocations: 0 / 0.5785 GB, free: 1.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.455, allocations: 35.92 kB / 0.5785 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.4553, allocations: 21.95 kB / 0.5786 GB, free: 1.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.4565, allocations: 0.9444 MB / 0.5795 GB, free: 284 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.4569, allocations: 0.83 MB / 0.5803 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.4569, allocations: 19.69 kB / 0.5803 GB, free: 15.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.457, allocations: 8 kB / 0.5803 GB, free: 15.39 MB / 410.7 MB Notification: Performance of Templates: time 0.006667/0.4636, allocations: 4.224 MB / 0.5844 GB, free: 11.16 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches