Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 177 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.273/1.273, allocations: 223.2 MB / 241 MB, free: 11.88 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.0007935/0.0007935, allocations: 90.58 kB / 292.2 MB, free: 10.91 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.319/0.319, allocations: 44.21 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 16 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3245, allocations: 61.89 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.4413, allocations: 89.01 MB / 0.5965 GB, free: 6.113 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4416, allocations: 83.92 kB / 0.5966 GB, free: 6.035 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.4543, allocations: 4.819 MB / 0.6013 GB, free: 1.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4543, allocations: 0 / 0.6013 GB, free: 1.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.4544, allocations: 0 / 0.6013 GB, free: 1.215 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004892/0.4549, allocations: 446.6 kB / 0.6017 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4549, allocations: 8.562 kB / 0.6017 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.455, allocations: 15.81 kB / 0.6017 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.4552, allocations: 200.3 kB / 0.6019 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4552, allocations: 11.89 kB / 0.6019 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.4553, allocations: 4 kB / 0.6019 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4554, allocations: 69.61 kB / 0.602 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.4554, allocations: 0 / 0.602 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.4555, allocations: 4 kB / 0.602 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4555, allocations: 0 / 0.602 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.4556, allocations: 51.95 kB / 0.602 GB, free: 332 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.4561, allocations: 340.8 kB / 0.6024 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.4563, allocations: 66.48 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.4564, allocations: 0 / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.4564, allocations: 34.56 kB / 0.6025 GB, free: 15.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.4564, allocations: 0 / 0.6025 GB, free: 15.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001458/0.4578, allocations: 0.4973 MB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.4579, allocations: 60.58 kB / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.4581, allocations: 191.8 kB / 0.6032 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4581, allocations: 25.7 kB / 0.6032 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.4582, allocations: 116 kB / 0.6033 GB, free: 14.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.4582, allocations: 31.55 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.4582, allocations: 4 kB / 0.6034 GB, free: 14.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4583, allocations: 322.8 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.4585, allocations: 63.97 kB / 0.6037 GB, free: 14.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.4586, allocations: 63.89 kB / 0.6038 GB, free: 14.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.4588, allocations: 71.95 kB / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4588, allocations: 0 / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003246/0.4591, allocations: 177.4 kB / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4591, allocations: 5.406 kB / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4591, allocations: 0 / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4592, allocations: 4 kB / 0.604 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4593, allocations: 35.91 kB / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4593, allocations: 0 / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.4594, allocations: 23.89 kB / 0.6041 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4594, allocations: 4 kB / 0.6041 GB, free: 14.1 MB / 426.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 (11): * Single equations (assignments): 11 * 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 0.0001016/0.4595, allocations: 133.8 kB / 0.6042 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.4595, allocations: 19.8 kB / 0.6042 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.4599, allocations: 202.9 kB / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.46, allocations: 4 kB / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.46, allocations: 0 / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.46, allocations: 0 / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.4607, allocations: 0.5273 MB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4607, allocations: 3.984 kB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4608, allocations: 31.98 kB / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4608, allocations: 4 kB / 0.605 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4609, allocations: 3.953 kB / 0.605 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4609, allocations: 0 / 0.605 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4609, allocations: 4 kB / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.4613, allocations: 316.3 kB / 0.6053 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.4613, allocations: 100.9 kB / 0.6054 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.4614, allocations: 4 kB / 0.6054 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.4615, allocations: 15.98 kB / 0.6054 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.4615, allocations: 11.98 kB / 0.6054 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4615, allocations: 4 kB / 0.6054 GB, free: 12.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001416/0.4617, allocations: 164.2 kB / 0.6056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4617, allocations: 0 / 0.6056 GB, free: 12.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.462, allocations: 35.94 kB / 0.6056 GB, free: 12.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009454/0.4629, allocations: 476.7 kB / 0.6061 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.4633, allocations: 151.8 kB / 0.6062 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4633, allocations: 0 / 0.6062 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.4634, allocations: 75.89 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.4636, allocations: 17.48 kB / 0.6063 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.4642, allocations: 351.4 kB / 0.6066 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.4645, allocations: 0.7278 MB / 0.6074 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.534e-05/0.4646, allocations: 32.52 kB / 0.6074 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.4647, allocations: 19.42 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of SimCode: time 4e-07/0.4647, allocations: 4 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Performance of Templates: time 0.003757/0.4684, allocations: 1.619 MB / 0.609 GB, free: 9.086 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches