Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001584, allocations: 185.1 kB / 16.41 MB, free: 5.727 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.982/1.982, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001139/0.001139, allocations: 96.67 kB / 270.9 MB, free: 8.391 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.5049/0.5049, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006228/0.000623, allocations: 12 kB / 431.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.128, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.5836, allocations: 87.22 MB / 0.5639 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5839, allocations: 75.97 kB / 0.564 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03086/0.6148, allocations: 8.155 MB / 0.5719 GB, free: 7.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.6149, allocations: 0 / 0.5719 GB, free: 7.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.686e-05/0.6149, allocations: 4 kB / 0.5719 GB, free: 7.32 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.001095/0.616, allocations: 0.6434 MB / 0.5726 GB, free: 6.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.6161, allocations: 12.02 kB / 0.5726 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.6163, allocations: 43.44 kB / 0.5726 GB, free: 6.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.6169, allocations: 334.9 kB / 0.5729 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.617, allocations: 0 / 0.5729 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.617, allocations: 4 kB / 0.5729 GB, free: 6.211 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.6173, allocations: 70.62 kB / 0.573 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6173, allocations: 0 / 0.573 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.6173, allocations: 4 kB / 0.573 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.6173, allocations: 4 kB / 0.573 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002529/0.6176, allocations: 51.86 kB / 0.5731 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009671/0.6186, allocations: 452.7 kB / 0.5735 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.6188, allocations: 58.48 kB / 0.5736 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.6189, allocations: 0 / 0.5736 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.6189, allocations: 30.56 kB / 0.5736 GB, free: 5.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.6189, allocations: 4 kB / 0.5736 GB, free: 5.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001464/0.6204, allocations: 347.9 kB / 0.5739 GB, free: 5.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.6205, allocations: 51.41 kB / 0.574 GB, free: 5.066 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.6224, allocations: 0.7863 MB / 0.5747 GB, free: 4.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.6224, allocations: 25.7 kB / 0.5748 GB, free: 4.242 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.6226, allocations: 238.6 kB / 0.575 GB, free: 4.008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.6227, allocations: 31.62 kB / 0.575 GB, free: 3.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.6227, allocations: 0 / 0.575 GB, free: 3.977 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.6228, allocations: 310.8 kB / 0.5753 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.6231, allocations: 47.97 kB / 0.5754 GB, free: 3.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.6233, allocations: 43.97 kB / 0.5754 GB, free: 3.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.6236, allocations: 51.97 kB / 0.5755 GB, free: 3.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6236, allocations: 0 / 0.5755 GB, free: 3.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005485/0.6241, allocations: 137.5 kB / 0.5756 GB, free: 3.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.6242, allocations: 11.95 kB / 0.5756 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6242, allocations: 0 / 0.5756 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6242, allocations: 0 / 0.5756 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.6244, allocations: 23.98 kB / 0.5756 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6244, allocations: 0 / 0.5756 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.6246, allocations: 16.86 kB / 0.5756 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.6247, allocations: 8 kB / 0.5756 GB, free: 3.324 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.0003083/0.625, allocations: 213.8 kB / 0.5759 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.6251, allocations: 39.53 kB / 0.5759 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/0.6258, allocations: 213.5 kB / 0.5761 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6258, allocations: 0 / 0.5761 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6258, allocations: 4 kB / 0.5761 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6258, allocations: 0 / 0.5761 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.6273, allocations: 0.6514 MB / 0.5767 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.6273, allocations: 0 / 0.5767 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.6275, allocations: 31.88 kB / 0.5768 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.6275, allocations: 3.938 kB / 0.5768 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.6276, allocations: 4 kB / 0.5768 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6276, allocations: 0 / 0.5768 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6276, allocations: 0 / 0.5768 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.6283, allocations: 271 kB / 0.577 GB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.6286, allocations: 164.5 kB / 0.5772 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.6286, allocations: 7.953 kB / 0.5772 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.6288, allocations: 15.98 kB / 0.5772 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.6289, allocations: 7.984 kB / 0.5772 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.6289, allocations: 4 kB / 0.5772 GB, free: 1.605 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00121/0.6301, allocations: 0.6355 MB / 0.5778 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6302, allocations: 3.938 kB / 0.5778 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004756/0.6307, allocations: 63.94 kB / 0.5779 GB, free: 0.9062 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.001149/0.6318, allocations: 412 kB / 0.5783 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.6324, allocations: 103.9 kB / 0.5784 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6324, allocations: 0 / 0.5784 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.6327, allocations: 63.89 kB / 0.5785 GB, free: 440 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.6331, allocations: 29.89 kB / 0.5785 GB, free: 412 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.6352, allocations: 0.9837 MB / 0.5794 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.6358, allocations: 0.834 MB / 0.5803 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.636, allocations: 27.69 kB / 0.5803 GB, free: 14.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.636, allocations: 0 / 0.5803 GB, free: 14.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01237/0.6484, allocations: 4.432 MB / 0.5846 GB, free: 10.05 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches