Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001078/0.001078, allocations: 183.7 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.393/1.393, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009958/0.0009964, allocations: 101.8 kB / 267.1 MB, free: 9.273 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.3379/0.3379, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.326e-05/4.328e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.4291, allocations: 87.12 MB / 0.5579 GB, free: 16.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.4293, allocations: 76.14 kB / 0.558 GB, free: 16.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009168/0.4385, allocations: 4.231 MB / 0.5621 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4385, allocations: 0 / 0.5621 GB, free: 14.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.4386, allocations: 0 / 0.5621 GB, free: 14.43 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.0002659/0.4388, allocations: 389.4 kB / 0.5625 GB, free: 14.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4389, allocations: 13.11 kB / 0.5625 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.4389, allocations: 7.906 kB / 0.5625 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.4391, allocations: 200.1 kB / 0.5627 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4391, allocations: 4 kB / 0.5627 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.4391, allocations: 0 / 0.5627 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.844e-05/0.4392, allocations: 54 kB / 0.5627 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4393, allocations: 5.375 kB / 0.5627 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4393, allocations: 4 kB / 0.5627 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4393, allocations: 0.5469 kB / 0.5627 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.4393, allocations: 21.38 kB / 0.5628 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.4397, allocations: 317 kB / 0.5631 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.108e-05/0.4397, allocations: 44.95 kB / 0.5631 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.4398, allocations: 16.8 kB / 0.5631 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.4398, allocations: 3.281 kB / 0.5631 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.4398, allocations: 32.11 kB / 0.5632 GB, free: 13.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4398, allocations: 0 / 0.5632 GB, free: 13.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004059/0.4402, allocations: 169.8 kB / 0.5633 GB, free: 13.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.749e-05/0.4403, allocations: 51.41 kB / 0.5634 GB, free: 13.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4404, allocations: 156.9 kB / 0.5635 GB, free: 12.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.4404, allocations: 25.7 kB / 0.5635 GB, free: 12.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.681e-05/0.4404, allocations: 101.6 kB / 0.5636 GB, free: 12.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.4405, allocations: 28.97 kB / 0.5637 GB, free: 12.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.4405, allocations: 3.812 kB / 0.5637 GB, free: 12.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.4405, allocations: 321.5 kB / 0.564 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/0.4405, allocations: 25.14 kB / 0.564 GB, free: 12.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.4406, allocations: 27.56 kB / 0.564 GB, free: 12.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.4406, allocations: 23.91 kB / 0.5641 GB, free: 12.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.4406, allocations: 0 / 0.5641 GB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.4407, allocations: 83.17 kB / 0.5641 GB, free: 12.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4408, allocations: 8 kB / 0.5641 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4408, allocations: 0 / 0.5641 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4408, allocations: 3.953 kB / 0.5641 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4409, allocations: 28.91 kB / 0.5642 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4409, allocations: 1.172 kB / 0.5642 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.441, allocations: 14.36 kB / 0.5642 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.441, allocations: 4 kB / 0.5642 GB, free: 12.36 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 (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 4.177e-05/0.4411, allocations: 105.8 kB / 0.5643 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.4411, allocations: 9.312 kB / 0.5643 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.4413, allocations: 116.9 kB / 0.5644 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4413, allocations: 7.953 kB / 0.5644 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4413, allocations: 0 / 0.5644 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.4413, allocations: 4.141 kB / 0.5644 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.4416, allocations: 384 kB / 0.5648 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4416, allocations: 3.984 kB / 0.5648 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.46e-05/0.4417, allocations: 23.8 kB / 0.5648 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4417, allocations: 9.266 kB / 0.5648 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.4417, allocations: 0 / 0.5648 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4417, allocations: 0 / 0.5648 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4417, allocations: 4 kB / 0.5648 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.4419, allocations: 189.8 kB / 0.565 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.4419, allocations: 91.75 kB / 0.5651 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.4419, allocations: 3.953 kB / 0.5651 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.442, allocations: 20.27 kB / 0.5651 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.4421, allocations: 2.625 kB / 0.5651 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.4421, allocations: 4 kB / 0.5651 GB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.33e-05/0.4422, allocations: 137 kB / 0.5653 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4422, allocations: 0 / 0.5653 GB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000205/0.4424, allocations: 24.44 kB / 0.5653 GB, free: 11.32 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 (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.0006887/0.4431, allocations: 364.2 kB / 0.5656 GB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.4432, allocations: 57.11 kB / 0.5657 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4432, allocations: 3.875 kB / 0.5657 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.4433, allocations: 32.83 kB / 0.5657 GB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.4434, allocations: 12.77 kB / 0.5657 GB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.4437, allocations: 165 kB / 0.5659 GB, free: 10.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.4439, allocations: 0.7137 MB / 0.5666 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.4439, allocations: 25.61 kB / 0.5666 GB, free: 10.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.444, allocations: 12.89 kB / 0.5666 GB, free: 10.08 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.444, allocations: 3.938 kB / 0.5666 GB, free: 10.08 MB / 394.7 MB Notification: Performance of Templates: time 0.00291/0.4469, allocations: 1.257 MB / 0.5679 GB, free: 9.078 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches