Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001975/0.001975, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.927/1.927, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001149/0.001148, allocations: 88.42 kB / 270.9 MB, free: 8.379 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.5103/0.5103, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005003, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5803, allocations: 87.03 MB / 0.5637 GB, free: 15.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5807, allocations: 71.97 kB / 0.5638 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.5977, allocations: 3.928 MB / 0.5676 GB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5978, allocations: 3.938 kB / 0.5676 GB, free: 11.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.5978, allocations: 4 kB / 0.5676 GB, free: 11.72 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007854/0.5986, allocations: 435.3 kB / 0.568 GB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5987, allocations: 8.031 kB / 0.568 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.5987, allocations: 11.34 kB / 0.5681 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.599, allocations: 193.9 kB / 0.5682 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.599, allocations: 8 kB / 0.5683 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.5991, allocations: 4 kB / 0.5683 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.5995, allocations: 108.4 kB / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5996, allocations: 4 kB / 0.5684 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.5996, allocations: 3.938 kB / 0.5684 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5996, allocations: 0 / 0.5684 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.6002, allocations: 95.88 kB / 0.5685 GB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.6007, allocations: 308.7 kB / 0.5688 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.6011, allocations: 82.47 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.6012, allocations: 0 / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.6012, allocations: 34.69 kB / 0.5689 GB, free: 10.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.6012, allocations: 0 / 0.5689 GB, free: 10.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.002809/0.604, allocations: 465 kB / 0.5693 GB, free: 9.832 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.6041, allocations: 77.11 kB / 0.5694 GB, free: 9.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.6043, allocations: 135.2 kB / 0.5695 GB, free: 9.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.6044, allocations: 29.7 kB / 0.5695 GB, free: 9.566 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.6045, allocations: 166.5 kB / 0.5697 GB, free: 9.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.6046, allocations: 23.7 kB / 0.5697 GB, free: 9.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.6046, allocations: 0 / 0.5697 GB, free: 9.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.6047, allocations: 326.8 kB / 0.57 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.6053, allocations: 83.94 kB / 0.5701 GB, free: 8.969 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.6058, allocations: 105.8 kB / 0.5702 GB, free: 8.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.6064, allocations: 83.97 kB / 0.5703 GB, free: 8.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6064, allocations: 0 / 0.5703 GB, free: 8.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00116/0.6075, allocations: 225.3 kB / 0.5705 GB, free: 8.551 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.6076, allocations: 8 kB / 0.5705 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6076, allocations: 0.5469 kB / 0.5705 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6076, allocations: 0 / 0.5705 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.608, allocations: 51.95 kB / 0.5706 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.6081, allocations: 0 / 0.5706 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.6084, allocations: 35.95 kB / 0.5706 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.6084, allocations: 11.83 kB / 0.5706 GB, free: 8.449 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 (8): * Single equations (assignments): 8 * 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.0001466/0.6086, allocations: 121.8 kB / 0.5707 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.6086, allocations: 11.86 kB / 0.5707 GB, free: 8.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.6099, allocations: 247 kB / 0.571 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6099, allocations: 3.984 kB / 0.571 GB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6099, allocations: 7.938 kB / 0.571 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6099, allocations: 0 / 0.571 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.6115, allocations: 0.5066 MB / 0.5715 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6115, allocations: 3.938 kB / 0.5715 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.6119, allocations: 52.34 kB / 0.5715 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.6119, allocations: 0 / 0.5715 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.6119, allocations: 0 / 0.5715 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/0.6119, allocations: 8.062 kB / 0.5715 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.612, allocations: 3.984 kB / 0.5715 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.6132, allocations: 327.3 kB / 0.5719 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.6133, allocations: 88.91 kB / 0.5719 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.6134, allocations: 8 kB / 0.572 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.6137, allocations: 27.97 kB / 0.572 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.6138, allocations: 7.984 kB / 0.572 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.6138, allocations: 12 kB / 0.572 GB, free: 6.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.614, allocations: 123 kB / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.614, allocations: 0 / 0.5721 GB, free: 6.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.6144, allocations: 35.98 kB / 0.5721 GB, free: 6.773 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 (8): * Single equations (assignments): 8 * 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.001288/0.6157, allocations: 462.9 kB / 0.5726 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.6169, allocations: 187.8 kB / 0.5728 GB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.617, allocations: 0 / 0.5728 GB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.6175, allocations: 99.86 kB / 0.5729 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.6179, allocations: 23.94 kB / 0.5729 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.6185, allocations: 249.3 kB / 0.5731 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.6188, allocations: 0.6965 MB / 0.5738 GB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.619, allocations: 15.44 kB / 0.5738 GB, free: 5.105 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.619, allocations: 3.938 kB / 0.5738 GB, free: 5.102 MB / 394.7 MB Notification: Performance of Templates: time 0.006102/0.6251, allocations: 2.13 MB / 0.5759 GB, free: 2.977 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches