Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10") translateModel(ModelicaTest.Tables.CombiTable2D.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002221/0.002221, allocations: 185.4 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 2.013/2.013, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001121/0.001121, allocations: 92.47 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.5245/0.5245, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007005/0.0007003, allocations: 16 kB / 431.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1628, allocations: 58.85 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.6169, allocations: 87.09 MB / 0.5638 GB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.6172, allocations: 75.97 kB / 0.5638 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01906/0.6363, allocations: 4.47 MB / 0.5682 GB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6364, allocations: 0 / 0.5682 GB, free: 10.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.6364, allocations: 4 kB / 0.5682 GB, free: 10.99 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.0005769/0.637, allocations: 397.8 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6371, allocations: 16.02 kB / 0.5686 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.6371, allocations: 11.34 kB / 0.5686 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.6374, allocations: 187 kB / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.6374, allocations: 5.031 kB / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.6374, allocations: 7.938 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.6377, allocations: 79.38 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.6377, allocations: 0 / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.6378, allocations: 1.031 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.6378, allocations: 4 kB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.638, allocations: 43.97 kB / 0.5689 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.6385, allocations: 292.7 kB / 0.5692 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.6387, allocations: 42.56 kB / 0.5693 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.6388, allocations: 8.078 kB / 0.5693 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.6388, allocations: 39.22 kB / 0.5693 GB, free: 9.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.6388, allocations: 3 kB / 0.5693 GB, free: 9.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001239/0.6401, allocations: 245.2 kB / 0.5695 GB, free: 9.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.6401, allocations: 77.11 kB / 0.5696 GB, free: 9.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.6403, allocations: 132.9 kB / 0.5697 GB, free: 9.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.6404, allocations: 25.7 kB / 0.5698 GB, free: 9.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.6405, allocations: 163.3 kB / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.6405, allocations: 19.64 kB / 0.5699 GB, free: 9.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.6405, allocations: 4 kB / 0.5699 GB, free: 9.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.6407, allocations: 315.2 kB / 0.5702 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.6409, allocations: 39.97 kB / 0.5703 GB, free: 8.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.6411, allocations: 61.62 kB / 0.5703 GB, free: 8.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.6414, allocations: 43.97 kB / 0.5704 GB, free: 8.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6414, allocations: 3.938 kB / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004987/0.6419, allocations: 125.6 kB / 0.5705 GB, free: 8.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6419, allocations: 4 kB / 0.5705 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6419, allocations: 0 / 0.5705 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.642, allocations: 7.953 kB / 0.5705 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.6422, allocations: 23.98 kB / 0.5705 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6422, allocations: 0 / 0.5705 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.6423, allocations: 19.98 kB / 0.5706 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.6424, allocations: 0 / 0.5706 GB, free: 8.379 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.0001592/0.6425, allocations: 121.8 kB / 0.5707 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.6426, allocations: 7.906 kB / 0.5707 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005557/0.6431, allocations: 134.3 kB / 0.5708 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.6432, allocations: 7.953 kB / 0.5708 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6432, allocations: 0 / 0.5708 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.6432, allocations: 8.859 kB / 0.5708 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008501/0.6441, allocations: 406.5 kB / 0.5712 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6441, allocations: 0 / 0.5712 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.6443, allocations: 19.98 kB / 0.5712 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.6443, allocations: 3.953 kB / 0.5712 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.6443, allocations: 4 kB / 0.5712 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.6443, allocations: 4.562 kB / 0.5712 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6443, allocations: 0 / 0.5712 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.6449, allocations: 231.8 kB / 0.5715 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.645, allocations: 89.02 kB / 0.5715 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.645, allocations: 7.953 kB / 0.5716 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.6452, allocations: 15.98 kB / 0.5716 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.6453, allocations: 9.109 kB / 0.5716 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.6453, allocations: 4 kB / 0.5716 GB, free: 7.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.6454, allocations: 111.2 kB / 0.5717 GB, free: 7.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6455, allocations: 0 / 0.5717 GB, free: 7.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003908/0.6459, allocations: 39.88 kB / 0.5717 GB, free: 7.078 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.001309/0.6472, allocations: 450.3 kB / 0.5722 GB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005524/0.6478, allocations: 95.88 kB / 0.5722 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.6478, allocations: 8 kB / 0.5723 GB, free: 6.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.648, allocations: 47.97 kB / 0.5723 GB, free: 6.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.6484, allocations: 19.36 kB / 0.5723 GB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.649, allocations: 225.2 kB / 0.5725 GB, free: 6.316 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.6493, allocations: 0.7004 MB / 0.5732 GB, free: 5.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.6494, allocations: 15.44 kB / 0.5732 GB, free: 5.578 MB / 394.7 MB Notification: Performance of SimCode: time 1.823e-06/0.6494, allocations: 0 / 0.5732 GB, free: 5.578 MB / 394.7 MB Notification: Performance of Templates: time 0.005347/0.6548, allocations: 1.771 MB / 0.575 GB, free: 3.809 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches