Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 183 kB / 13.19 MB, free: 2.129 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.472/1.472, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.0007947/0.0007948, allocations: 87.16 kB / 267 MB, free: 9.27 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.3594/0.3594, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.482e-05/4.507e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3995/0.5204, allocations: 87.2 MB / 0.558 GB, free: 16.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.5207, allocations: 72.36 kB / 0.558 GB, free: 16.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.5359, allocations: 8.1 MB / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5359, allocations: 0 / 0.5659 GB, free: 11.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.536, allocations: 4 kB / 0.566 GB, free: 11.2 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.0004495/0.5364, allocations: 0.5597 MB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5365, allocations: 12.03 kB / 0.5665 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.5365, allocations: 40.5 kB / 0.5665 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.5369, allocations: 328.9 kB / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.537, allocations: 4 kB / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.537, allocations: 0 / 0.5669 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.5371, allocations: 53.88 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5371, allocations: 0.5469 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5371, allocations: 3.438 kB / 0.5669 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.5371, allocations: 8 kB / 0.5669 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.5372, allocations: 23.38 kB / 0.5669 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.5377, allocations: 433.9 kB / 0.5674 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.5379, allocations: 48.47 kB / 0.5674 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.5379, allocations: 16.23 kB / 0.5674 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.5379, allocations: 4 kB / 0.5674 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.5379, allocations: 35.08 kB / 0.5675 GB, free: 9.605 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5379, allocations: 0 / 0.5675 GB, free: 9.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004034/0.5383, allocations: 200.1 kB / 0.5677 GB, free: 9.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.5384, allocations: 51.41 kB / 0.5677 GB, free: 9.355 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009072/0.5393, allocations: 0.7875 MB / 0.5685 GB, free: 8.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.5393, allocations: 25.7 kB / 0.5685 GB, free: 8.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.5394, allocations: 217.4 kB / 0.5687 GB, free: 8.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.5394, allocations: 23.23 kB / 0.5687 GB, free: 8.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.5395, allocations: 2.344 kB / 0.5687 GB, free: 8.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.5395, allocations: 359.9 kB / 0.5691 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.471e-05/0.5396, allocations: 11.31 kB / 0.5691 GB, free: 8.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.5396, allocations: 17.42 kB / 0.5691 GB, free: 8.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.5396, allocations: 11.25 kB / 0.5691 GB, free: 8.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.5396, allocations: 4 kB / 0.5691 GB, free: 8.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.5397, allocations: 107.4 kB / 0.5692 GB, free: 8.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5398, allocations: 7.953 kB / 0.5692 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.5398, allocations: 0 / 0.5692 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5398, allocations: 0 / 0.5692 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.5399, allocations: 15.98 kB / 0.5692 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5399, allocations: 0 / 0.5692 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.54, allocations: 16.17 kB / 0.5693 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.54, allocations: 0 / 0.5693 GB, free: 8.062 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 3.746e-05/0.54, allocations: 109 kB / 0.5694 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.5401, allocations: 39.44 kB / 0.5694 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.5403, allocations: 128.8 kB / 0.5695 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5403, allocations: 4 kB / 0.5695 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5403, allocations: 4.25 kB / 0.5695 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.5403, allocations: 0 / 0.5695 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.5409, allocations: 0.5788 MB / 0.5701 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5409, allocations: 7.953 kB / 0.5701 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.541, allocations: 15.94 kB / 0.5701 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.541, allocations: 0 / 0.5701 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.541, allocations: 0 / 0.5701 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.541, allocations: 5.297 kB / 0.5701 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.541, allocations: 0 / 0.5701 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.5412, allocations: 198.1 kB / 0.5703 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.5414, allocations: 166.3 kB / 0.5705 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.5414, allocations: 3.5 kB / 0.5705 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.004e-05/0.5415, allocations: 4 kB / 0.5705 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.5415, allocations: 11.97 kB / 0.5705 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.5415, allocations: 0 / 0.5705 GB, free: 6.824 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004998/0.5421, allocations: 0.6367 MB / 0.5711 GB, free: 6.367 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5421, allocations: 4 kB / 0.5711 GB, free: 6.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.5423, allocations: 59.84 kB / 0.5712 GB, free: 6.305 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007644/0.5431, allocations: 381.6 kB / 0.5715 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.702e-05/0.5432, allocations: 34.61 kB / 0.5716 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5432, allocations: 0 / 0.5716 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.946e-05/0.5432, allocations: 19.44 kB / 0.5716 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.5435, allocations: 29.83 kB / 0.5716 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007709/0.5443, allocations: 0.7145 MB / 0.5723 GB, free: 5.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.5445, allocations: 0.841 MB / 0.5731 GB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.5446, allocations: 44.22 kB / 0.5732 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.5447, allocations: 19.44 kB / 0.5732 GB, free: 4.383 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5447, allocations: 0 / 0.5732 GB, free: 4.383 MB / 394.7 MB Notification: Performance of Templates: time 0.005044/0.5497, allocations: 2.454 MB / 0.5756 GB, free: 1.93 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches