Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009703/0.0009704, allocations: 183 kB / 18.09 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007582/0.0007582, allocations: 96.94 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2731/0.2731, allocations: 44.15 MB / 388.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 16 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2707, allocations: 61.87 MB / 0.5107 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.3744, allocations: 88.07 MB / 0.5967 GB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.3747, allocations: 83.94 kB / 0.5968 GB, free: 6.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009422/0.3841, allocations: 3.737 MB / 0.6005 GB, free: 3.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3842, allocations: 0 / 0.6005 GB, free: 3.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3842, allocations: 4 kB / 0.6005 GB, free: 3.176 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000367/0.3846, allocations: 383.1 kB / 0.6008 GB, free: 2.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3846, allocations: 16.02 kB / 0.6008 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.3846, allocations: 8.844 kB / 0.6009 GB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.3849, allocations: 192.2 kB / 0.601 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3849, allocations: 8.375 kB / 0.601 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.3849, allocations: 384 / 0.601 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.385, allocations: 50.23 kB / 0.6011 GB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.385, allocations: 4.125 kB / 0.6011 GB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3851, allocations: 7.938 kB / 0.6011 GB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3851, allocations: 4 kB / 0.6011 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.3852, allocations: 27.97 kB / 0.6011 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.3855, allocations: 280.9 kB / 0.6014 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.3857, allocations: 50.44 kB / 0.6015 GB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.3858, allocations: 28.94 kB / 0.6015 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.3858, allocations: 3.938 kB / 0.6015 GB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.3858, allocations: 34.5 kB / 0.6015 GB, free: 1.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3858, allocations: 0 / 0.6015 GB, free: 1.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000518/0.3864, allocations: 169.3 kB / 0.6017 GB, free: 1.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.3864, allocations: 51.41 kB / 0.6017 GB, free: 1.699 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3865, allocations: 147.2 kB / 0.6019 GB, free: 1.547 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.3866, allocations: 25.7 kB / 0.6019 GB, free: 1.516 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.3866, allocations: 96.12 kB / 0.602 GB, free: 1.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.3866, allocations: 19.73 kB / 0.602 GB, free: 1.398 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.3866, allocations: 4 kB / 0.602 GB, free: 1.395 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3868, allocations: 326.8 kB / 0.6023 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.3868, allocations: 19.98 kB / 0.6023 GB, free: 1.047 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.3869, allocations: 23.98 kB / 0.6024 GB, free: 1.023 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.387, allocations: 68.81 kB / 0.6024 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3871, allocations: 0 / 0.6024 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001834/0.3872, allocations: 93.52 kB / 0.6025 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3873, allocations: 5.406 kB / 0.6025 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.3873, allocations: 4 kB / 0.6025 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3873, allocations: 4.25 kB / 0.6025 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.3874, allocations: 11.98 kB / 0.6025 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3874, allocations: 11.98 kB / 0.6026 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.3874, allocations: 4 kB / 0.6026 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3874, allocations: 3.984 kB / 0.6026 GB, free: 0.8125 MB / 410.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 (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.583e-05/0.3875, allocations: 126.3 kB / 0.6027 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3876, allocations: 7.906 kB / 0.6027 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.3878, allocations: 109.9 kB / 0.6028 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3878, allocations: 0 / 0.6028 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3878, allocations: 0 / 0.6028 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3878, allocations: 0 / 0.6028 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.3882, allocations: 366.5 kB / 0.6031 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3882, allocations: 0 / 0.6031 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.3883, allocations: 15.94 kB / 0.6032 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3883, allocations: 3.984 kB / 0.6032 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3883, allocations: 0 / 0.6032 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3883, allocations: 8 kB / 0.6032 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3883, allocations: 7.875 kB / 0.6032 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.3886, allocations: 183.4 kB / 0.6033 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.3886, allocations: 89.02 kB / 0.6034 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3887, allocations: 4 kB / 0.6034 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.3887, allocations: 11.98 kB / 0.6034 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.3888, allocations: 3.938 kB / 0.6035 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.3888, allocations: 4 kB / 0.6035 GB, free: 15.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.3889, allocations: 116.5 kB / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3889, allocations: 3.938 kB / 0.6036 GB, free: 15.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000224/0.3891, allocations: 20 kB / 0.6036 GB, free: 15.65 MB / 426.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 (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.0007993/0.3899, allocations: 410.6 kB / 0.604 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.3901, allocations: 55.97 kB / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3901, allocations: 0 / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.3902, allocations: 43.91 kB / 0.6041 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3905, allocations: 15.98 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.3908, allocations: 196.1 kB / 0.6043 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.3911, allocations: 0.6965 MB / 0.605 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.3912, allocations: 15.98 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.3912, allocations: 19.38 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3912, allocations: 0 / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of Templates: time 0.002921/0.3941, allocations: 1.068 MB / 0.606 GB, free: 13.26 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches