Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009889/0.0009888, allocations: 177.9 kB / 17.06 MB, free: 5.098 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.244/1.244, allocations: 223.2 MB / 241 MB, free: 10.14 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.0008577/0.0008576, allocations: 92.58 kB / 292.2 MB, free: 10.71 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.2948/0.2948, allocations: 44.21 MB / 387.5 MB, free: 38.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 12 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3404, allocations: 61.89 MB / 0.5096 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.4518, allocations: 87.95 MB / 0.5954 GB, free: 7.207 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.4521, allocations: 79.92 kB / 0.5955 GB, free: 7.133 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009499/0.4616, allocations: 3.71 MB / 0.5991 GB, free: 3.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4617, allocations: 0 / 0.5991 GB, free: 3.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4617, allocations: 0 / 0.5991 GB, free: 3.422 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003863/0.4621, allocations: 398.9 kB / 0.5995 GB, free: 2.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4621, allocations: 8.562 kB / 0.5995 GB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.4622, allocations: 7.906 kB / 0.5995 GB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.4624, allocations: 198.8 kB / 0.5997 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.4624, allocations: 0 / 0.5997 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.4624, allocations: 3.984 kB / 0.5997 GB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.4626, allocations: 49.64 kB / 0.5998 GB, free: 2.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.4626, allocations: 4 kB / 0.5998 GB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4626, allocations: 8 kB / 0.5998 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.4626, allocations: 0 / 0.5998 GB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.4627, allocations: 23.98 kB / 0.5998 GB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.463, allocations: 276.9 kB / 0.6001 GB, free: 2.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4632, allocations: 42.56 kB / 0.6001 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.4633, allocations: 4 kB / 0.6001 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.4633, allocations: 34.5 kB / 0.6002 GB, free: 2.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4633, allocations: 0 / 0.6002 GB, free: 2.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005035/0.4638, allocations: 153.4 kB / 0.6003 GB, free: 2.066 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4638, allocations: 55.41 kB / 0.6004 GB, free: 2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.464, allocations: 142.9 kB / 0.6005 GB, free: 1.852 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.464, allocations: 25.7 kB / 0.6005 GB, free: 1.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.4641, allocations: 96.14 kB / 0.6006 GB, free: 1.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.4641, allocations: 19.73 kB / 0.6006 GB, free: 1.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.4641, allocations: 0 / 0.6006 GB, free: 1.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4642, allocations: 314.8 kB / 0.6009 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.4643, allocations: 23.98 kB / 0.6009 GB, free: 1.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/0.4643, allocations: 23.92 kB / 0.601 GB, free: 1.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.4644, allocations: 28.17 kB / 0.601 GB, free: 1.312 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4644, allocations: 3.953 kB / 0.601 GB, free: 1.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001669/0.4646, allocations: 93.58 kB / 0.6011 GB, free: 1.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4646, allocations: 5.719 kB / 0.6011 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.4646, allocations: 4 kB / 0.6011 GB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.4646, allocations: 3.984 kB / 0.6011 GB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/0.4647, allocations: 12 kB / 0.6011 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4647, allocations: 0 / 0.6011 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.4648, allocations: 7.984 kB / 0.6011 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.4648, allocations: 4 kB / 0.6011 GB, free: 1.176 MB / 410.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 (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.296e-05/0.4649, allocations: 115.2 kB / 0.6012 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.4649, allocations: 19.8 kB / 0.6013 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.4651, allocations: 101.9 kB / 0.6014 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4651, allocations: 0 / 0.6014 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4651, allocations: 0 / 0.6014 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4651, allocations: 0 / 0.6014 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.4656, allocations: 370.4 kB / 0.6017 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4656, allocations: 0 / 0.6017 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.4656, allocations: 15.98 kB / 0.6017 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4656, allocations: 288 / 0.6017 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.4657, allocations: 0 / 0.6017 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4657, allocations: 4 kB / 0.6017 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4657, allocations: 0 / 0.6017 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.4659, allocations: 191.3 kB / 0.6019 GB, free: 296 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.4659, allocations: 93.23 kB / 0.602 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.466, allocations: 0 / 0.602 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.415e-05/0.466, allocations: 12 kB / 0.602 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.4661, allocations: 11.92 kB / 0.602 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4661, allocations: 0 / 0.602 GB, free: 160 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.4662, allocations: 119.2 kB / 0.6021 GB, free: 40 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4662, allocations: 0 / 0.6021 GB, free: 40 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.4664, allocations: 20 kB / 0.6022 GB, free: 20 kB / 410.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 () * Number of clocked 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.0008253/0.4672, allocations: 405 kB / 0.6025 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.4674, allocations: 51.97 kB / 0.6026 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4674, allocations: 0 / 0.6026 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.4675, allocations: 27.92 kB / 0.6026 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.4677, allocations: 31.81 kB / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.468, allocations: 192.5 kB / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.4683, allocations: 0.6926 MB / 0.6035 GB, free: 14.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.4684, allocations: 20.17 kB / 0.6035 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.4684, allocations: 15.42 kB / 0.6035 GB, free: 14.7 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4684, allocations: 0 / 0.6035 GB, free: 14.7 MB / 426.7 MB Notification: Performance of Templates: time 0.002957/0.4714, allocations: 1.036 MB / 0.6046 GB, free: 13.68 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches