Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 181 kB / 17.06 MB, free: 5.094 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.228/1.228, allocations: 223.2 MB / 241 MB, free: 11.87 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.0007838/0.0007838, allocations: 93.59 kB / 292.1 MB, free: 10.94 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.3185/0.3185, allocations: 44.21 MB / 387.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 12 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3495, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.4562, allocations: 88.07 MB / 0.5956 GB, free: 7.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4565, allocations: 71.94 kB / 0.5956 GB, free: 7.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009613/0.4661, allocations: 3.772 MB / 0.5993 GB, free: 3.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4661, allocations: 0 / 0.5993 GB, free: 3.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.4661, allocations: 0 / 0.5993 GB, free: 3.254 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.0003885/0.4665, allocations: 398.9 kB / 0.5997 GB, free: 2.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.4666, allocations: 12.56 kB / 0.5997 GB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.4666, allocations: 7.906 kB / 0.5997 GB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.4668, allocations: 188.3 kB / 0.5999 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4668, allocations: 11.94 kB / 0.5999 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.4669, allocations: 0 / 0.5999 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.467, allocations: 53.69 kB / 0.6 GB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.467, allocations: 0 / 0.6 GB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.467, allocations: 0 / 0.6 GB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.467, allocations: 7.984 kB / 0.6 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.4671, allocations: 31.92 kB / 0.6 GB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.4675, allocations: 288.9 kB / 0.6003 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.4677, allocations: 46.56 kB / 0.6003 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.4677, allocations: 0 / 0.6003 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4677, allocations: 34.56 kB / 0.6003 GB, free: 2.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.4677, allocations: 0 / 0.6003 GB, free: 2.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005209/0.4683, allocations: 173.2 kB / 0.6005 GB, free: 1.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.4683, allocations: 55.34 kB / 0.6006 GB, free: 1.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.4685, allocations: 155.4 kB / 0.6007 GB, free: 1.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4685, allocations: 37.64 kB / 0.6007 GB, free: 1.594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.4685, allocations: 92.14 kB / 0.6008 GB, free: 1.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.4686, allocations: 15.73 kB / 0.6008 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.4686, allocations: 4 kB / 0.6009 GB, free: 1.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4687, allocations: 322.8 kB / 0.6012 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.4688, allocations: 27.97 kB / 0.6012 GB, free: 1.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.4688, allocations: 23.98 kB / 0.6012 GB, free: 1.105 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.06e-05/0.4689, allocations: 31.98 kB / 0.6012 GB, free: 1.074 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.4689, allocations: 0 / 0.6012 GB, free: 1.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001773/0.4691, allocations: 89.58 kB / 0.6013 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.4691, allocations: 7.984 kB / 0.6013 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4691, allocations: 4 kB / 0.6013 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.4692, allocations: 0 / 0.6013 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.4692, allocations: 16 kB / 0.6014 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4692, allocations: 3.938 kB / 0.6014 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.4693, allocations: 7.984 kB / 0.6014 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4693, allocations: 0 / 0.6014 GB, free: 0.9414 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.613e-05/0.4694, allocations: 121.8 kB / 0.6015 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.4694, allocations: 7.906 kB / 0.6015 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.4697, allocations: 110 kB / 0.6016 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4697, allocations: 0 / 0.6016 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4697, allocations: 0 / 0.6016 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4697, allocations: 0 / 0.6016 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.4701, allocations: 374.8 kB / 0.602 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4701, allocations: 8.047 kB / 0.602 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.4702, allocations: 12 kB / 0.602 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4702, allocations: 0 / 0.602 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4702, allocations: 4 kB / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4702, allocations: 0 / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4702, allocations: 0 / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.4705, allocations: 195.3 kB / 0.6022 GB, free: 40 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.4706, allocations: 97 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.4706, allocations: 3.938 kB / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.55e-05/0.4707, allocations: 8 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.4707, allocations: 7.984 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.4707, allocations: 0 / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.875e-05/0.4708, allocations: 131.2 kB / 0.6024 GB, free: 15.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4708, allocations: 0 / 0.6024 GB, free: 15.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.471, allocations: 12 kB / 0.6024 GB, free: 15.77 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.0008128/0.4718, allocations: 420.4 kB / 0.6028 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.472, allocations: 59.97 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4721, allocations: 3.938 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.4721, allocations: 31.97 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.4723, allocations: 10.34 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.4727, allocations: 221.2 kB / 0.6031 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.473, allocations: 0.7026 MB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.473, allocations: 24.14 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.4731, allocations: 11.44 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4731, allocations: 0 / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of Templates: time 0.003086/0.4762, allocations: 1.073 MB / 0.6049 GB, free: 13.33 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches