Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0008977/0.0008978, allocations: 181.3 kB / 17.41 MB, free: 4.289 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.422/1.422, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.000737/0.0007369, allocations: 96.97 kB / 271.9 MB, free: 8.273 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.2798/0.2798, allocations: 43.56 MB / 363.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 16 kB / 432.6 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09662, allocations: 58.85 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2536/0.3503, allocations: 87.51 MB / 0.5654 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.3505, allocations: 71.97 kB / 0.5655 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01052/0.3611, allocations: 4.613 MB / 0.57 GB, free: 10.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3611, allocations: 0 / 0.57 GB, free: 10.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3611, allocations: 0 / 0.57 GB, free: 10.28 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.000419/0.3616, allocations: 398.8 kB / 0.5703 GB, free: 9.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3616, allocations: 12.03 kB / 0.5704 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.3616, allocations: 8.844 kB / 0.5704 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3619, allocations: 192.9 kB / 0.5706 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3619, allocations: 8.375 kB / 0.5706 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3619, allocations: 4.312 kB / 0.5706 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3621, allocations: 81.16 kB / 0.5706 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3622, allocations: 192 / 0.5706 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3622, allocations: 7.938 kB / 0.5706 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3622, allocations: 0 / 0.5706 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.3623, allocations: 55.89 kB / 0.5707 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.3628, allocations: 312.7 kB / 0.571 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3629, allocations: 50.55 kB / 0.571 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.363, allocations: 32.94 kB / 0.5711 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.363, allocations: 0 / 0.5711 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.363, allocations: 41.56 kB / 0.5711 GB, free: 8.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3631, allocations: 0 / 0.5711 GB, free: 8.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007523/0.3638, allocations: 265.2 kB / 0.5714 GB, free: 8.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3639, allocations: 81.11 kB / 0.5714 GB, free: 8.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.364, allocations: 140.5 kB / 0.5716 GB, free: 8.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.364, allocations: 25.7 kB / 0.5716 GB, free: 8.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.3641, allocations: 96.12 kB / 0.5717 GB, free: 8.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.3641, allocations: 23.66 kB / 0.5717 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.3641, allocations: 0 / 0.5717 GB, free: 8.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3642, allocations: 326.8 kB / 0.572 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3643, allocations: 47.97 kB / 0.5721 GB, free: 7.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3645, allocations: 57.67 kB / 0.5721 GB, free: 7.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.3647, allocations: 108.8 kB / 0.5722 GB, free: 7.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3647, allocations: 0 / 0.5722 GB, free: 7.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000276/0.365, allocations: 137.5 kB / 0.5724 GB, free: 7.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.365, allocations: 7.984 kB / 0.5724 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.365, allocations: 0 / 0.5724 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.3651, allocations: 0 / 0.5724 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3652, allocations: 27.98 kB / 0.5724 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3652, allocations: 0 / 0.5724 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.3653, allocations: 15.98 kB / 0.5724 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.3653, allocations: 4 kB / 0.5724 GB, free: 7.531 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 (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 7.888e-05/0.3654, allocations: 122.3 kB / 0.5725 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.3654, allocations: 7.906 kB / 0.5725 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.3657, allocations: 162.2 kB / 0.5727 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3657, allocations: 4 kB / 0.5727 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3658, allocations: 3.938 kB / 0.5727 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3658, allocations: 4 kB / 0.5727 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.3663, allocations: 426.8 kB / 0.5731 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3663, allocations: 288 / 0.5731 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.3664, allocations: 27.92 kB / 0.5731 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3664, allocations: 0 / 0.5731 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3664, allocations: 0 / 0.5731 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.3664, allocations: 4.781 kB / 0.5732 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3664, allocations: 0 / 0.5732 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.3667, allocations: 243.4 kB / 0.5734 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.3668, allocations: 97 kB / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3668, allocations: 0 / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.3669, allocations: 16.55 kB / 0.5735 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.367, allocations: 11.98 kB / 0.5735 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.367, allocations: 4 kB / 0.5735 GB, free: 6.316 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.936e-05/0.3671, allocations: 109.9 kB / 0.5736 GB, free: 6.211 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3671, allocations: 3.938 kB / 0.5736 GB, free: 6.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.3673, allocations: 43.92 kB / 0.5737 GB, free: 6.164 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 (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.0008419/0.3682, allocations: 451 kB / 0.5741 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.3685, allocations: 95.94 kB / 0.5742 GB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3685, allocations: 4 kB / 0.5742 GB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3686, allocations: 63.89 kB / 0.5742 GB, free: 5.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.3689, allocations: 12 kB / 0.5743 GB, free: 5.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.3693, allocations: 245 kB / 0.5745 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.3695, allocations: 0.6965 MB / 0.5752 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.3696, allocations: 19.42 kB / 0.5752 GB, free: 4.641 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3696, allocations: 0 / 0.5752 GB, free: 4.641 MB / 394.7 MB Notification: Performance of Templates: time 0.003159/0.3727, allocations: 1.839 MB / 0.577 GB, free: 2.805 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches