Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009646/0.0009645, allocations: 179.8 kB / 14.15 MB, free: 1.176 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.287/1.287, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008882, allocations: 91.72 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1732/0.1732, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.284e-05, allocations: 4.219 kB / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 61.92 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4524, allocations: 88.72 MB / 0.5883 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.4526, allocations: 79.77 kB / 0.5884 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01643/0.469, allocations: 8.02 MB / 0.5962 GB, free: 8.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4691, allocations: 0 / 0.5962 GB, free: 8.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.4691, allocations: 8 kB / 0.5963 GB, free: 8.492 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.0006499/0.4698, allocations: 0.5326 MB / 0.5968 GB, free: 7.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.4698, allocations: 8.031 kB / 0.5968 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.4699, allocations: 43.44 kB / 0.5968 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.4705, allocations: 331.3 kB / 0.5971 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.4705, allocations: 0 / 0.5971 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4705, allocations: 3.984 kB / 0.5971 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.4707, allocations: 49.7 kB / 0.5972 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.4707, allocations: 0 / 0.5972 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.4707, allocations: 0 / 0.5972 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4707, allocations: 0 / 0.5972 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.4708, allocations: 15.98 kB / 0.5972 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.4714, allocations: 444.6 kB / 0.5976 GB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.785e-05/0.4714, allocations: 30.58 kB / 0.5977 GB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.4715, allocations: 8.922 kB / 0.5977 GB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.4715, allocations: 6.828 kB / 0.5977 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.4715, allocations: 34.56 kB / 0.5977 GB, free: 6.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4715, allocations: 0 / 0.5977 GB, free: 6.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002121/0.4717, allocations: 89.06 kB / 0.5978 GB, free: 6.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.4718, allocations: 51.41 kB / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.473, allocations: 0.7824 MB / 0.5986 GB, free: 5.895 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.473, allocations: 25.7 kB / 0.5986 GB, free: 5.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.4732, allocations: 224.1 kB / 0.5988 GB, free: 5.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.4732, allocations: 7.906 kB / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.4732, allocations: 0 / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4733, allocations: 362.8 kB / 0.5992 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.4734, allocations: 4 kB / 0.5992 GB, free: 5.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.493e-05/0.4734, allocations: 11.98 kB / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.266e-05/0.4734, allocations: 8.062 kB / 0.5992 GB, free: 5.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4734, allocations: 0 / 0.5992 GB, free: 5.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001079/0.4735, allocations: 85.16 kB / 0.5993 GB, free: 5.156 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4736, allocations: 5.094 kB / 0.5993 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4736, allocations: 0 / 0.5993 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.4736, allocations: 7.938 kB / 0.5993 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.4737, allocations: 4 kB / 0.5993 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.4737, allocations: 0 / 0.5993 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.4737, allocations: 7.906 kB / 0.5993 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4737, allocations: 4.031 kB / 0.5993 GB, free: 5.129 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.916e-05/0.4738, allocations: 112.9 kB / 0.5994 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.4739, allocations: 39.53 kB / 0.5995 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.4741, allocations: 100.6 kB / 0.5996 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4741, allocations: 3.938 kB / 0.5996 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4741, allocations: 0 / 0.5996 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4741, allocations: 3.938 kB / 0.5996 GB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.4744, allocations: 329.4 kB / 0.5999 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4744, allocations: 12.02 kB / 0.5999 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.4744, allocations: 4 kB / 0.5999 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4744, allocations: 4 kB / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4745, allocations: 0 / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4745, allocations: 0 / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4745, allocations: 0 / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.4746, allocations: 178.9 kB / 0.6001 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.4748, allocations: 160.5 kB / 0.6002 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.4749, allocations: 12.03 kB / 0.6002 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.475, allocations: 4 kB / 0.6003 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.475, allocations: 3.984 kB / 0.6003 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.475, allocations: 0 / 0.6003 GB, free: 4.074 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006347/0.4757, allocations: 0.6342 MB / 0.6009 GB, free: 3.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4757, allocations: 0 / 0.6009 GB, free: 3.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.4759, allocations: 52 kB / 0.6009 GB, free: 3.391 MB / 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0007054/0.4766, allocations: 315.6 kB / 0.6012 GB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.639e-05/0.4767, allocations: 19.98 kB / 0.6012 GB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4767, allocations: 0 / 0.6012 GB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.4768, allocations: 8 kB / 0.6013 GB, free: 3.141 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.477, allocations: 34.16 kB / 0.6013 GB, free: 3.105 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.4779, allocations: 0.6955 MB / 0.602 GB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.4783, allocations: 0.8262 MB / 0.6028 GB, free: 1.535 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.4783, allocations: 44.41 kB / 0.6028 GB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.4784, allocations: 23.44 kB / 0.6028 GB, free: 1.465 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4784, allocations: 3.938 kB / 0.6028 GB, free: 1.461 MB / 410.7 MB Notification: Performance of Templates: time 0.005273/0.4837, allocations: 2.268 MB / 0.6051 GB, free: 15.19 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches