Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009769/0.0009768, 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.211/1.211, 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.0007991/0.0007988, allocations: 90.12 kB / 292.1 MB, free: 10.92 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.3361/0.3361, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 12 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3311, allocations: 61.89 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.4394, allocations: 88.56 MB / 0.596 GB, free: 6.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.4396, allocations: 83.92 kB / 0.5961 GB, free: 6.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01119/0.4508, allocations: 4.721 MB / 0.6007 GB, free: 1.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.4508, allocations: 0 / 0.6007 GB, free: 1.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.4509, allocations: 3.938 kB / 0.6007 GB, free: 1.766 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.0004533/0.4513, allocations: 434.7 kB / 0.6011 GB, free: 1.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4514, allocations: 8.562 kB / 0.6012 GB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.4514, allocations: 15.81 kB / 0.6012 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.4517, allocations: 200.3 kB / 0.6014 GB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4517, allocations: 11.89 kB / 0.6014 GB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.4517, allocations: 8 kB / 0.6014 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4519, allocations: 61.67 kB / 0.6014 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4519, allocations: 3.984 kB / 0.6014 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.4519, allocations: 3.938 kB / 0.6014 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4519, allocations: 0 / 0.6014 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.4521, allocations: 51.97 kB / 0.6015 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.4525, allocations: 312.7 kB / 0.6018 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.4527, allocations: 62.55 kB / 0.6019 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.4527, allocations: 4 kB / 0.6019 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.4528, allocations: 38.72 kB / 0.6019 GB, free: 420 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4528, allocations: 0 / 0.6019 GB, free: 420 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001432/0.4542, allocations: 469.3 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4543, allocations: 56.47 kB / 0.6024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.4545, allocations: 194.5 kB / 0.6026 GB, free: 15.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4545, allocations: 29.7 kB / 0.6026 GB, free: 15.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.4546, allocations: 108.1 kB / 0.6027 GB, free: 15.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4546, allocations: 39.45 kB / 0.6028 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/0.4546, allocations: 0 / 0.6028 GB, free: 15.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4547, allocations: 322.8 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4549, allocations: 55.97 kB / 0.6031 GB, free: 15.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.455, allocations: 43.97 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.4551, allocations: 55.97 kB / 0.6032 GB, free: 15.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4551, allocations: 4 kB / 0.6032 GB, free: 15.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002971/0.4554, allocations: 161.3 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4554, allocations: 9.406 kB / 0.6034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4555, allocations: 0 / 0.6034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4555, allocations: 4 kB / 0.6034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.4556, allocations: 31.97 kB / 0.6034 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4556, allocations: 3.953 kB / 0.6034 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.4557, allocations: 11.98 kB / 0.6034 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4557, allocations: 8 kB / 0.6034 GB, free: 14.78 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 9.798e-05/0.4558, allocations: 133.8 kB / 0.6036 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.4558, allocations: 7.906 kB / 0.6036 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.4562, allocations: 179 kB / 0.6037 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4562, allocations: 3.984 kB / 0.6037 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4563, allocations: 0 / 0.6037 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4563, allocations: 7.938 kB / 0.6037 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.4569, allocations: 0.4921 MB / 0.6042 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4569, allocations: 96 / 0.6042 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.457, allocations: 39.98 kB / 0.6043 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4571, allocations: 4 kB / 0.6043 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4571, allocations: 7.938 kB / 0.6043 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4571, allocations: 3.938 kB / 0.6043 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4571, allocations: 4 kB / 0.6043 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.4575, allocations: 288.4 kB / 0.6046 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.4575, allocations: 101 kB / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4576, allocations: 0 / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.4577, allocations: 15.98 kB / 0.6047 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.4577, allocations: 15.92 kB / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.4577, allocations: 4 kB / 0.6047 GB, free: 13.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4579, allocations: 160.9 kB / 0.6048 GB, free: 13.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4579, allocations: 0 / 0.6048 GB, free: 13.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.4582, allocations: 39.94 kB / 0.6049 GB, free: 13.16 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.0009862/0.4592, allocations: 460.8 kB / 0.6053 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.4595, allocations: 127.8 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4595, allocations: 0 / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.4596, allocations: 71.89 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.4598, allocations: 21.5 kB / 0.6055 GB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.4603, allocations: 315.7 kB / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.4606, allocations: 0.7237 MB / 0.6065 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.4607, allocations: 24.53 kB / 0.6066 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.4607, allocations: 15.44 kB / 0.6066 GB, free: 11.55 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4607, allocations: 0 / 0.6066 GB, free: 11.55 MB / 426.7 MB Notification: Performance of Templates: time 0.003677/0.4644, allocations: 1.548 MB / 0.6081 GB, free: 10.01 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches