Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008021/0.0008021, allocations: 82.17 kB / 261.7 MB, free: 1.617 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.2006/0.2006, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.85e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4241/0.5465, allocations: 86.5 MB / 0.5504 GB, free: 8.359 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.5467, allocations: 74.44 kB / 0.5505 GB, free: 8.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01393/0.5607, allocations: 7.752 MB / 0.558 GB, free: 1.703 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5607, allocations: 0 / 0.558 GB, free: 1.703 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.5608, allocations: 8 kB / 0.5581 GB, free: 1.695 MB / 362.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.0004252/0.5612, allocations: 0.5477 MB / 0.5586 GB, free: 1.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5612, allocations: 11.97 kB / 0.5586 GB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.5613, allocations: 47.39 kB / 0.5586 GB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.5617, allocations: 329.9 kB / 0.559 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.5617, allocations: 0.8438 kB / 0.559 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.5617, allocations: 4 kB / 0.559 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.706e-05/0.5618, allocations: 23.3 kB / 0.559 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.965e-05/0.5619, allocations: 45.62 kB / 0.559 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5619, allocations: 0 / 0.559 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.5619, allocations: 3.938 kB / 0.559 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.562, allocations: 7.953 kB / 0.559 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/0.5625, allocations: 418.9 kB / 0.5594 GB, free: 260 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.5626, allocations: 42.19 kB / 0.5595 GB, free: 216 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.5627, allocations: 12.8 kB / 0.5595 GB, free: 200 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.5627, allocations: 4 kB / 0.5595 GB, free: 196 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.5627, allocations: 38.5 kB / 0.5595 GB, free: 152 kB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5627, allocations: 0 / 0.5595 GB, free: 152 kB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005013/0.5632, allocations: 199.7 kB / 0.5597 GB, free: 15.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.5633, allocations: 51.41 kB / 0.5598 GB, free: 15.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.5644, allocations: 0.7474 MB / 0.5605 GB, free: 15.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.5644, allocations: 25.7 kB / 0.5605 GB, free: 15.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.5645, allocations: 220.5 kB / 0.5607 GB, free: 15.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.5646, allocations: 11.81 kB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.5646, allocations: 4 kB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5648, allocations: 361.5 kB / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.5648, allocations: 11.12 kB / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.5648, allocations: 15.44 kB / 0.5611 GB, free: 14.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.5648, allocations: 15.36 kB / 0.5611 GB, free: 14.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5649, allocations: 4 kB / 0.5611 GB, free: 14.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001305/0.565, allocations: 98.19 kB / 0.5612 GB, free: 14.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.565, allocations: 4 kB / 0.5612 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.565, allocations: 0 / 0.5612 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5651, allocations: 7.781 kB / 0.5612 GB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.5651, allocations: 12 kB / 0.5613 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5651, allocations: 3.984 kB / 0.5613 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.5652, allocations: 8.156 kB / 0.5613 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.5652, allocations: 0 / 0.5613 GB, free: 14.64 MB / 378.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 8.189e-05/0.5653, allocations: 105 kB / 0.5614 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.5654, allocations: 39.44 kB / 0.5614 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.5656, allocations: 131.1 kB / 0.5615 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5656, allocations: 3.953 kB / 0.5615 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5656, allocations: 0 / 0.5615 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.5656, allocations: 0 / 0.5615 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.5663, allocations: 0.5385 MB / 0.5621 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.5663, allocations: 0 / 0.5621 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.5663, allocations: 27.62 kB / 0.5621 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5664, allocations: 0 / 0.5621 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.5664, allocations: 11.95 kB / 0.5621 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5664, allocations: 0 / 0.5621 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5664, allocations: 0 / 0.5621 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.5666, allocations: 202.3 kB / 0.5623 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.5668, allocations: 155.5 kB / 0.5624 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.5668, allocations: 0 / 0.5624 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.5669, allocations: 7.953 kB / 0.5624 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.567, allocations: 14.73 kB / 0.5625 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.567, allocations: 3.938 kB / 0.5625 GB, free: 13.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005977/0.5676, allocations: 0.608 MB / 0.5631 GB, free: 13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5676, allocations: 0 / 0.5631 GB, free: 13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000299/0.5679, allocations: 59.94 kB / 0.5631 GB, free: 12.94 MB / 378.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.0008443/0.5688, allocations: 338.8 kB / 0.5634 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.5689, allocations: 32.19 kB / 0.5635 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5689, allocations: 0 / 0.5635 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.5689, allocations: 19.36 kB / 0.5635 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.5692, allocations: 20.09 kB / 0.5635 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.5702, allocations: 0.7175 MB / 0.5642 GB, free: 11.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.5707, allocations: 0.8315 MB / 0.565 GB, free: 11.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.642e-05/0.5708, allocations: 47.97 kB / 0.5651 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.887e-05/0.5709, allocations: 27.42 kB / 0.5651 GB, free: 11.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5709, allocations: 0 / 0.5651 GB, free: 11.03 MB / 378.7 MB Notification: Performance of Templates: time 0.00579/0.5767, allocations: 2.126 MB / 0.5672 GB, free: 8.91 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches