Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 88.03 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2181/0.2181, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.612e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.411/0.5396, allocations: 86.5 MB / 0.5504 GB, free: 8.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.54, allocations: 75.17 kB / 0.5505 GB, free: 8.301 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.5535, allocations: 7.748 MB / 0.558 GB, free: 1.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5535, allocations: 3.984 kB / 0.558 GB, free: 1.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.851e-05/0.5535, allocations: 8 kB / 0.5581 GB, free: 1.672 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003808/0.5539, allocations: 0.5448 MB / 0.5586 GB, free: 1.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.554, allocations: 11.97 kB / 0.5586 GB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.554, allocations: 51.39 kB / 0.5586 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.5544, allocations: 327.8 kB / 0.559 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5544, allocations: 0 / 0.559 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.5544, allocations: 4 kB / 0.559 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.724e-05/0.5545, allocations: 19.17 kB / 0.559 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.012e-05/0.5546, allocations: 48.38 kB / 0.559 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5546, allocations: 3.938 kB / 0.559 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.5546, allocations: 0 / 0.559 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.5546, allocations: 7.953 kB / 0.559 GB, free: 0.625 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.5551, allocations: 419.5 kB / 0.5594 GB, free: 240 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.5553, allocations: 37.81 kB / 0.5595 GB, free: 196 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.5553, allocations: 12.48 kB / 0.5595 GB, free: 184 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.5553, allocations: 0.6562 kB / 0.5595 GB, free: 184 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.5553, allocations: 38.56 kB / 0.5595 GB, free: 136 kB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.5553, allocations: 0 / 0.5595 GB, free: 136 kB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004283/0.5558, allocations: 197.3 kB / 0.5597 GB, free: 15.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.5558, allocations: 53.84 kB / 0.5598 GB, free: 15.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5568, allocations: 0.7517 MB / 0.5605 GB, free: 15.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.5569, allocations: 25.7 kB / 0.5605 GB, free: 15.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.557, allocations: 219.6 kB / 0.5607 GB, free: 15.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.557, allocations: 11.81 kB / 0.5607 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.557, allocations: 4 kB / 0.5607 GB, free: 15.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5572, allocations: 361.3 kB / 0.5611 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.5572, allocations: 11.25 kB / 0.5611 GB, free: 14.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.5573, allocations: 11.44 kB / 0.5611 GB, free: 14.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.5573, allocations: 18.55 kB / 0.5611 GB, free: 14.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.5573, allocations: 0 / 0.5611 GB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001271/0.5574, allocations: 103.3 kB / 0.5612 GB, free: 14.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.5575, allocations: 4 kB / 0.5612 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.5575, allocations: 0 / 0.5612 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5575, allocations: 7.781 kB / 0.5612 GB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.5576, allocations: 15.98 kB / 0.5613 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.5576, allocations: 0 / 0.5613 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.5576, allocations: 8.156 kB / 0.5613 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.5577, allocations: 0 / 0.5613 GB, free: 14.62 MB / 378.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 () * 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 7.009e-05/0.5577, allocations: 101 kB / 0.5614 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.5578, allocations: 43.58 kB / 0.5614 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.558, allocations: 133.4 kB / 0.5615 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.558, allocations: 3.953 kB / 0.5615 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.558, allocations: 0 / 0.5615 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.558, allocations: 0 / 0.5615 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.5587, allocations: 0.541 MB / 0.5621 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5587, allocations: 3.938 kB / 0.5621 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.5588, allocations: 20 kB / 0.5621 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5588, allocations: 3.984 kB / 0.5621 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.5588, allocations: 11.95 kB / 0.5621 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.5588, allocations: 0 / 0.5621 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5588, allocations: 0 / 0.5621 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/0.559, allocations: 199.6 kB / 0.5623 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.5592, allocations: 158.6 kB / 0.5624 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.5592, allocations: 0 / 0.5624 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/0.5593, allocations: 11.94 kB / 0.5625 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.5594, allocations: 8 kB / 0.5625 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.5594, allocations: 0 / 0.5625 GB, free: 13.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005622/0.5599, allocations: 0.6076 MB / 0.5631 GB, free: 12.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.56, allocations: 0 / 0.5631 GB, free: 12.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002773/0.5602, allocations: 59.94 kB / 0.5631 GB, free: 12.93 MB / 378.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 () * 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.0007285/0.561, allocations: 345.8 kB / 0.5634 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.746e-05/0.5611, allocations: 30.92 kB / 0.5635 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5611, allocations: 0 / 0.5635 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.5611, allocations: 18.56 kB / 0.5635 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.5614, allocations: 23.89 kB / 0.5635 GB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009509/0.5623, allocations: 0.7088 MB / 0.5642 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.5628, allocations: 0.8363 MB / 0.565 GB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.5629, allocations: 47.97 kB / 0.5651 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.563, allocations: 23.44 kB / 0.5651 GB, free: 11.01 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.563, allocations: 0 / 0.5651 GB, free: 11.01 MB / 378.7 MB Notification: Performance of Templates: time 0.005333/0.5683, allocations: 2.13 MB / 0.5672 GB, free: 8.891 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches