Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 184.8 kB / 17.06 MB, free: 5.074 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.313/1.313, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008463/0.0008463, allocations: 96.16 kB / 292.2 MB, free: 10.93 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.3064/0.3064, allocations: 44.23 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003082, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3359, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4554, allocations: 89.01 MB / 0.5965 GB, free: 6.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4557, allocations: 75.91 kB / 0.5966 GB, free: 6.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.4675, allocations: 4.795 MB / 0.6012 GB, free: 1.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4676, allocations: 0 / 0.6012 GB, free: 1.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4676, allocations: 4 kB / 0.6012 GB, free: 1.266 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.0004637/0.4681, allocations: 430.6 kB / 0.6016 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4681, allocations: 12.56 kB / 0.6017 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.4682, allocations: 11.81 kB / 0.6017 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.4684, allocations: 212.3 kB / 0.6019 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4684, allocations: 7.953 kB / 0.6019 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.4685, allocations: 12 kB / 0.6019 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.4687, allocations: 65.61 kB / 0.602 GB, free: 444 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4687, allocations: 0 / 0.602 GB, free: 444 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4687, allocations: 0 / 0.602 GB, free: 444 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4687, allocations: 4 kB / 0.602 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.4689, allocations: 55.95 kB / 0.602 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.4695, allocations: 328.8 kB / 0.6023 GB, free: 4 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.4698, allocations: 66.53 kB / 0.6024 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.4698, allocations: 4 kB / 0.6024 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.4698, allocations: 38.67 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4698, allocations: 0 / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.00143/0.4713, allocations: 0.489 MB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4713, allocations: 60.58 kB / 0.603 GB, free: 15.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.4715, allocations: 195.8 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.4716, allocations: 33.64 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.4716, allocations: 112 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.4717, allocations: 35.53 kB / 0.6033 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.4717, allocations: 4 kB / 0.6033 GB, free: 14.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4718, allocations: 322.8 kB / 0.6036 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.4719, allocations: 59.97 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.4721, allocations: 68 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.4722, allocations: 71.95 kB / 0.6038 GB, free: 14.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4722, allocations: 0 / 0.6038 GB, free: 14.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003228/0.4726, allocations: 181.4 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4726, allocations: 8 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4726, allocations: 0 / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.4726, allocations: 3.938 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4727, allocations: 35.91 kB / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4727, allocations: 0 / 0.604 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.4728, allocations: 19.95 kB / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.4728, allocations: 4 kB / 0.6041 GB, free: 14.15 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.0001005/0.4729, allocations: 129.8 kB / 0.6042 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.473, allocations: 19.8 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.4734, allocations: 206.9 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4734, allocations: 0.5625 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4734, allocations: 0 / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4734, allocations: 0 / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.4741, allocations: 0.5234 MB / 0.6049 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4741, allocations: 11.98 kB / 0.6049 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.4742, allocations: 32.05 kB / 0.605 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4742, allocations: 0 / 0.605 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.4743, allocations: 7.953 kB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4743, allocations: 4 kB / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4743, allocations: 0 / 0.605 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.4746, allocations: 320.3 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.4747, allocations: 100.9 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.4747, allocations: 0 / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4748, allocations: 19.98 kB / 0.6054 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.4749, allocations: 8.078 kB / 0.6054 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.4749, allocations: 7.938 kB / 0.6054 GB, free: 12.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.475, allocations: 160.2 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.475, allocations: 4 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.4753, allocations: 43.92 kB / 0.6056 GB, free: 12.44 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.000944/0.4763, allocations: 451 kB / 0.606 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.4766, allocations: 143.8 kB / 0.6062 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4766, allocations: 0 / 0.6062 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.4768, allocations: 83.89 kB / 0.6063 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.477, allocations: 22.66 kB / 0.6063 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.4776, allocations: 347.4 kB / 0.6066 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.4779, allocations: 0.7199 MB / 0.6073 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.964e-05/0.478, allocations: 36.52 kB / 0.6073 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.4781, allocations: 23.42 kB / 0.6074 GB, free: 10.76 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4781, allocations: 0 / 0.6074 GB, free: 10.76 MB / 426.7 MB Notification: Performance of Templates: time 0.00396/0.482, allocations: 1.619 MB / 0.6089 GB, free: 9.148 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches