Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001025, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008406/0.0008405, allocations: 93.66 kB / 267.1 MB, free: 9.273 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.3362/0.3362, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.243e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3409/0.4518, allocations: 86.5 MB / 0.5573 GB, free: 2.527 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001708/0.452, allocations: 81.48 kB / 0.5574 GB, free: 2.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009617/0.4616, allocations: 4.247 MB / 0.5615 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4617, allocations: 3.938 kB / 0.5615 GB, free: 14.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.4617, allocations: 4 kB / 0.5615 GB, free: 14.23 MB / 394.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.000386/0.4621, allocations: 397.8 kB / 0.5619 GB, free: 13.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4621, allocations: 8.031 kB / 0.5619 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.4622, allocations: 19.25 kB / 0.5619 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.4624, allocations: 212.1 kB / 0.5621 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4624, allocations: 4.75 kB / 0.5621 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4625, allocations: 8 kB / 0.5621 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.4626, allocations: 71.44 kB / 0.5622 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4626, allocations: 0 / 0.5622 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.4626, allocations: 0 / 0.5622 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4626, allocations: 5.375 kB / 0.5622 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.269e-05/0.4627, allocations: 33.33 kB / 0.5622 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.4632, allocations: 413 kB / 0.5626 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.4634, allocations: 81.06 kB / 0.5627 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.4635, allocations: 25.89 kB / 0.5627 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.4635, allocations: 12 kB / 0.5628 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4635, allocations: 34.56 kB / 0.5628 GB, free: 12.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4635, allocations: 0 / 0.5628 GB, free: 12.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005076/0.464, allocations: 200.7 kB / 0.563 GB, free: 12.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.4641, allocations: 77.11 kB / 0.563 GB, free: 12.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.4643, allocations: 203.8 kB / 0.5632 GB, free: 12.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.4643, allocations: 37.69 kB / 0.5633 GB, free: 12.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.4644, allocations: 108 kB / 0.5634 GB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.4645, allocations: 31.55 kB / 0.5634 GB, free: 12.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.4645, allocations: 0 / 0.5634 GB, free: 12.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.4646, allocations: 322.8 kB / 0.5637 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.4646, allocations: 24.64 kB / 0.5637 GB, free: 11.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.873e-05/0.4647, allocations: 41.59 kB / 0.5638 GB, free: 11.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.4647, allocations: 35.98 kB / 0.5638 GB, free: 11.65 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4648, allocations: 0 / 0.5638 GB, free: 11.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001562/0.4649, allocations: 101.5 kB / 0.5639 GB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.4649, allocations: 7.938 kB / 0.5639 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4649, allocations: 0 / 0.5639 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.465, allocations: 4 kB / 0.5639 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.4651, allocations: 23.98 kB / 0.5639 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.4651, allocations: 8.656 kB / 0.564 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.4651, allocations: 7.984 kB / 0.564 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4651, allocations: 8 kB / 0.564 GB, free: 11.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.476e-05/0.4652, allocations: 105 kB / 0.5641 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.4653, allocations: 11.91 kB / 0.5641 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.4655, allocations: 142.7 kB / 0.5642 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4655, allocations: 0 / 0.5642 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.4655, allocations: 64 / 0.5642 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4655, allocations: 11.95 kB / 0.5642 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.4661, allocations: 0.5063 MB / 0.5647 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4661, allocations: 0 / 0.5647 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.4662, allocations: 23.98 kB / 0.5647 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4662, allocations: 0 / 0.5647 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.4662, allocations: 7.953 kB / 0.5648 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4662, allocations: 0 / 0.5648 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4662, allocations: 0 / 0.5648 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.4664, allocations: 314.8 kB / 0.5651 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.4665, allocations: 93 kB / 0.5651 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.4665, allocations: 0 / 0.5651 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4666, allocations: 16 kB / 0.5652 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.4667, allocations: 11.92 kB / 0.5652 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.4667, allocations: 4 kB / 0.5652 GB, free: 10.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.4668, allocations: 172.2 kB / 0.5653 GB, free: 9.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4668, allocations: 0 / 0.5653 GB, free: 9.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.4671, allocations: 24 kB / 0.5654 GB, free: 9.945 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0007392/0.4679, allocations: 374.8 kB / 0.5657 GB, free: 9.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.468, allocations: 67.92 kB / 0.5658 GB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.468, allocations: 0 / 0.5658 GB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.4681, allocations: 43.92 kB / 0.5658 GB, free: 9.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.4683, allocations: 18.88 kB / 0.5658 GB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.4687, allocations: 220.1 kB / 0.5661 GB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.469, allocations: 0.7238 MB / 0.5668 GB, free: 8.531 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.087e-05/0.4691, allocations: 24.41 kB / 0.5668 GB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.4691, allocations: 19.42 kB / 0.5668 GB, free: 8.488 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4691, allocations: 0 / 0.5668 GB, free: 8.488 MB / 394.7 MB Notification: Performance of Templates: time 0.003295/0.4724, allocations: 1.351 MB / 0.5681 GB, free: 7.145 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches