Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.95/1.95, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001148/0.001148, allocations: 95.33 kB / 270.9 MB, free: 8.375 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.5002/0.5002, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004512, allocations: 15.98 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1237, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4487/0.5725, allocations: 87.23 MB / 0.5639 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5729, allocations: 67.97 kB / 0.564 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02051/0.5934, allocations: 4.459 MB / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5935, allocations: 0 / 0.5683 GB, free: 10.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.095e-05/0.5935, allocations: 4 kB / 0.5683 GB, free: 10.84 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.0006985/0.5942, allocations: 422.5 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5943, allocations: 8.562 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.5943, allocations: 15.81 kB / 0.5688 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.5947, allocations: 207.5 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5947, allocations: 6.062 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.5947, allocations: 7.922 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.595, allocations: 73.64 kB / 0.569 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.595, allocations: 4 kB / 0.569 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.5951, allocations: 8.5 kB / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5951, allocations: 0 / 0.569 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.5953, allocations: 39.97 kB / 0.5691 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.596, allocations: 332.7 kB / 0.5694 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.5963, allocations: 46.56 kB / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.5963, allocations: 0 / 0.5694 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.5964, allocations: 38.66 kB / 0.5695 GB, free: 9.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.5964, allocations: 0 / 0.5695 GB, free: 9.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001395/0.5978, allocations: 269.1 kB / 0.5697 GB, free: 9.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.5978, allocations: 59.41 kB / 0.5698 GB, free: 9.168 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.5982, allocations: 198 kB / 0.57 GB, free: 8.969 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.5982, allocations: 25.7 kB / 0.57 GB, free: 8.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.5983, allocations: 166.6 kB / 0.5702 GB, free: 8.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.5984, allocations: 23.56 kB / 0.5702 GB, free: 8.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.5984, allocations: 4 kB / 0.5702 GB, free: 8.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5985, allocations: 314.8 kB / 0.5705 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.5988, allocations: 51.97 kB / 0.5705 GB, free: 8.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.599, allocations: 43.91 kB / 0.5706 GB, free: 8.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.5993, allocations: 51.97 kB / 0.5706 GB, free: 8.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5993, allocations: 0 / 0.5706 GB, free: 8.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005431/0.5998, allocations: 137.6 kB / 0.5708 GB, free: 8.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5999, allocations: 4 kB / 0.5708 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5999, allocations: 0 / 0.5708 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.5999, allocations: 7.953 kB / 0.5708 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.6001, allocations: 19.98 kB / 0.5708 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6001, allocations: 0 / 0.5708 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.6003, allocations: 19.98 kB / 0.5708 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.6003, allocations: 4 kB / 0.5708 GB, free: 8.09 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 0.0001395/0.6005, allocations: 129.8 kB / 0.5709 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.6005, allocations: 11.91 kB / 0.571 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006349/0.6012, allocations: 158.9 kB / 0.5711 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6012, allocations: 0 / 0.5711 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6012, allocations: 3.953 kB / 0.5711 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6012, allocations: 3.938 kB / 0.5711 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009718/0.6022, allocations: 458.3 kB / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.6022, allocations: 0 / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.6024, allocations: 23.98 kB / 0.5716 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6024, allocations: 4.75 kB / 0.5716 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.6024, allocations: 3.953 kB / 0.5716 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6025, allocations: 480 / 0.5716 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6025, allocations: 0 / 0.5716 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.6031, allocations: 243.3 kB / 0.5718 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/0.6032, allocations: 100.9 kB / 0.5719 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.6032, allocations: 0 / 0.5719 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.6034, allocations: 23.94 kB / 0.5719 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.6035, allocations: 3.938 kB / 0.5719 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.6035, allocations: 4 kB / 0.5719 GB, free: 6.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002337/0.6037, allocations: 159.7 kB / 0.5721 GB, free: 6.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6037, allocations: 0 / 0.5721 GB, free: 6.684 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003563/0.6041, allocations: 27.94 kB / 0.5721 GB, free: 6.656 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.001205/0.6053, allocations: 425 kB / 0.5725 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.606, allocations: 103.9 kB / 0.5726 GB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.606, allocations: 3.938 kB / 0.5726 GB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.6062, allocations: 55.97 kB / 0.5727 GB, free: 6.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.6066, allocations: 22.17 kB / 0.5727 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/0.6073, allocations: 310.7 kB / 0.573 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.6077, allocations: 0.716 MB / 0.5737 GB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.6078, allocations: 11.44 kB / 0.5737 GB, free: 5.066 MB / 394.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6078, allocations: 0 / 0.5737 GB, free: 5.066 MB / 394.7 MB Notification: Performance of Templates: time 0.005129/0.6129, allocations: 1.837 MB / 0.5755 GB, free: 3.23 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches