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.001479/0.001479, allocations: 180.9 kB / 13.66 MB, free: 1.664 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.977/1.977, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001075/0.001074, allocations: 82.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2702/0.2702, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.351e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4695/0.5786, allocations: 87.04 MB / 0.5578 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.5789, allocations: 71.88 kB / 0.5579 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02927/0.6082, allocations: 7.869 MB / 0.5655 GB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6082, allocations: 4 kB / 0.5655 GB, free: 9.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.517e-05/0.6083, allocations: 4 kB / 0.5656 GB, free: 9.457 MB / 378.7 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.0007374/0.609, allocations: 0.5367 MB / 0.5661 GB, free: 8.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.6091, allocations: 12.03 kB / 0.5661 GB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.6093, allocations: 43.39 kB / 0.5661 GB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.6102, allocations: 333.6 kB / 0.5664 GB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.6102, allocations: 0 / 0.5664 GB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.6102, allocations: 4 kB / 0.5665 GB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.6104, allocations: 52.88 kB / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6104, allocations: 0 / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.6104, allocations: 0 / 0.5665 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.6105, allocations: 7.875 kB / 0.5665 GB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.6105, allocations: 19.52 kB / 0.5665 GB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.6114, allocations: 432 kB / 0.5669 GB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.6115, allocations: 37.86 kB / 0.567 GB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.6116, allocations: 12.67 kB / 0.567 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.6116, allocations: 0 / 0.567 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.6117, allocations: 34.52 kB / 0.567 GB, free: 7.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.6117, allocations: 4 kB / 0.567 GB, free: 7.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002494/0.612, allocations: 84.69 kB / 0.5671 GB, free: 7.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.612, allocations: 55.41 kB / 0.5672 GB, free: 7.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.6139, allocations: 0.7824 MB / 0.5679 GB, free: 7.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.6139, allocations: 25.7 kB / 0.5679 GB, free: 7.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.6141, allocations: 237.2 kB / 0.5682 GB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.6142, allocations: 11.16 kB / 0.5682 GB, free: 6.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.6142, allocations: 0 / 0.5682 GB, free: 6.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6143, allocations: 314.8 kB / 0.5685 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.6144, allocations: 7.312 kB / 0.5685 GB, free: 6.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.6144, allocations: 4 kB / 0.5685 GB, free: 6.613 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.6144, allocations: 11.81 kB / 0.5685 GB, free: 6.605 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6145, allocations: 0 / 0.5685 GB, free: 6.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.6146, allocations: 45.12 kB / 0.5685 GB, free: 6.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6146, allocations: 4 kB / 0.5686 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.6146, allocations: 0 / 0.5686 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.6147, allocations: 3.953 kB / 0.5686 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.6148, allocations: 11.94 kB / 0.5686 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6148, allocations: 0 / 0.5686 GB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.6149, allocations: 7.984 kB / 0.5686 GB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.6149, allocations: 4.031 kB / 0.5686 GB, free: 6.527 MB / 378.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 () * 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.047e-05/0.615, allocations: 104.9 kB / 0.5687 GB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.6152, allocations: 43.44 kB / 0.5687 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.6154, allocations: 104.6 kB / 0.5688 GB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.6154, allocations: 3.953 kB / 0.5688 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6154, allocations: 0 / 0.5688 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6155, allocations: 0 / 0.5688 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.6159, allocations: 326.9 kB / 0.5691 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.616, allocations: 4.031 kB / 0.5691 GB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.616, allocations: 7.938 kB / 0.5691 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.616, allocations: 0 / 0.5691 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.6161, allocations: 3.938 kB / 0.5692 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6161, allocations: 0 / 0.5692 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6161, allocations: 7.953 kB / 0.5692 GB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.6164, allocations: 178.2 kB / 0.5693 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.6167, allocations: 163.9 kB / 0.5695 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.6168, allocations: 0 / 0.5695 GB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.6169, allocations: 7.984 kB / 0.5695 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.617, allocations: 4 kB / 0.5695 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.617, allocations: 3.953 kB / 0.5695 GB, free: 5.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.6181, allocations: 0.6366 MB / 0.5701 GB, free: 5.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6181, allocations: 0 / 0.5701 GB, free: 5.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.6185, allocations: 44 kB / 0.5702 GB, free: 5.051 MB / 378.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 () * 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.0009442/0.6195, allocations: 334.8 kB / 0.5705 GB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.6196, allocations: 11.69 kB / 0.5705 GB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6196, allocations: 0 / 0.5705 GB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.6197, allocations: 8.062 kB / 0.5705 GB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.6201, allocations: 30.17 kB / 0.5705 GB, free: 4.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.6218, allocations: 0.7493 MB / 0.5713 GB, free: 4.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.6224, allocations: 0.8262 MB / 0.5721 GB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.6225, allocations: 19.69 kB / 0.5721 GB, free: 3.184 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6225, allocations: 0 / 0.5721 GB, free: 3.184 MB / 378.7 MB Notification: Performance of Templates: time 0.01211/0.6346, allocations: 4.042 MB / 0.576 GB, free: 15.15 MB / 394.7 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