Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002233/0.002237, allocations: 187.2 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.94/1.94, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001093/0.001093, allocations: 81.81 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.5076/0.5076, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.000476, allocations: 15.98 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.5834, allocations: 87.23 MB / 0.5639 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5838, allocations: 74.91 kB / 0.564 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01825/0.602, allocations: 4.232 MB / 0.5681 GB, free: 11.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6021, allocations: 0 / 0.5681 GB, free: 11.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.6021, allocations: 0 / 0.5681 GB, free: 11.03 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.0006008/0.6027, allocations: 414.5 kB / 0.5685 GB, free: 10.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.6028, allocations: 8.562 kB / 0.5685 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.6029, allocations: 15.34 kB / 0.5685 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.6032, allocations: 199.4 kB / 0.5687 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6032, allocations: 0.5469 kB / 0.5687 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.6032, allocations: 4 kB / 0.5687 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.6035, allocations: 65.66 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.6035, allocations: 4 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.6035, allocations: 5.031 kB / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.6035, allocations: 4.547 kB / 0.5688 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.6038, allocations: 39.97 kB / 0.5688 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006272/0.6045, allocations: 324.7 kB / 0.5692 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.6047, allocations: 50.56 kB / 0.5692 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.6047, allocations: 4.078 kB / 0.5692 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.6048, allocations: 38.5 kB / 0.5692 GB, free: 9.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.6048, allocations: 0.6562 kB / 0.5692 GB, free: 9.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001363/0.6061, allocations: 266 kB / 0.5695 GB, free: 9.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.6062, allocations: 55.41 kB / 0.5695 GB, free: 9.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.6065, allocations: 153.6 kB / 0.5697 GB, free: 9.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.6065, allocations: 25.7 kB / 0.5697 GB, free: 9.199 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.187e-05/0.6066, allocations: 170.5 kB / 0.5699 GB, free: 9.031 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.6066, allocations: 23.72 kB / 0.5699 GB, free: 9.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.6067, allocations: 5.594 kB / 0.5699 GB, free: 9.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6068, allocations: 318.8 kB / 0.5702 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.6071, allocations: 47.97 kB / 0.5703 GB, free: 8.637 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.6073, allocations: 39.97 kB / 0.5703 GB, free: 8.598 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.6075, allocations: 60.61 kB / 0.5704 GB, free: 8.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6076, allocations: 0 / 0.5704 GB, free: 8.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005399/0.6081, allocations: 129.9 kB / 0.5705 GB, free: 8.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.6081, allocations: 8 kB / 0.5705 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6082, allocations: 0 / 0.5705 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6082, allocations: 3.953 kB / 0.5705 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.6084, allocations: 19.98 kB / 0.5705 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6084, allocations: 8.062 kB / 0.5705 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.6086, allocations: 15.98 kB / 0.5705 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.6086, allocations: 4 kB / 0.5705 GB, free: 8.348 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.0001496/0.6088, allocations: 129.8 kB / 0.5707 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.6088, allocations: 7.906 kB / 0.5707 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006406/0.6095, allocations: 158.3 kB / 0.5708 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6095, allocations: 2.062 kB / 0.5708 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.6095, allocations: 4.578 kB / 0.5708 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6095, allocations: 0 / 0.5708 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.6107, allocations: 434.3 kB / 0.5712 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6107, allocations: 0 / 0.5712 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.6109, allocations: 35.98 kB / 0.5713 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.6109, allocations: 0 / 0.5713 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.6109, allocations: 3.953 kB / 0.5713 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.611, allocations: 0 / 0.5713 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.611, allocations: 4.281 kB / 0.5713 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.6116, allocations: 239.3 kB / 0.5715 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.6117, allocations: 100.9 kB / 0.5716 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.6117, allocations: 4 kB / 0.5716 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.6119, allocations: 11.95 kB / 0.5716 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.612, allocations: 11.98 kB / 0.5716 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.612, allocations: 0 / 0.5716 GB, free: 7.125 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.6122, allocations: 137.5 kB / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6122, allocations: 0 / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003514/0.6126, allocations: 27.94 kB / 0.5718 GB, free: 6.965 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.001185/0.6138, allocations: 403.2 kB / 0.5722 GB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006087/0.6144, allocations: 103.9 kB / 0.5723 GB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6144, allocations: 0 / 0.5723 GB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.6147, allocations: 67.88 kB / 0.5723 GB, free: 6.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.615, allocations: 8 kB / 0.5723 GB, free: 6.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.6157, allocations: 285.1 kB / 0.5726 GB, free: 6.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.6161, allocations: 0.7043 MB / 0.5733 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.6162, allocations: 15.44 kB / 0.5733 GB, free: 5.434 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6162, allocations: 0 / 0.5733 GB, free: 5.434 MB / 394.7 MB Notification: Performance of Templates: time 0.00509/0.6213, allocations: 1.746 MB / 0.575 GB, free: 3.688 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches