Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, 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.293/1.293, 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.0008343/0.0008341, allocations: 92.8 kB / 292.2 MB, free: 10.91 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.3277/0.3277, allocations: 44.21 MB / 387.5 MB, free: 39.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 12 kB / 459.9 MB, free: 1.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3464, allocations: 61.9 MB / 0.5096 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.4582, allocations: 88.56 MB / 0.596 GB, free: 6.613 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.4584, allocations: 71.94 kB / 0.5961 GB, free: 6.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.47, allocations: 4.701 MB / 0.6007 GB, free: 1.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.47, allocations: 0 / 0.6007 GB, free: 1.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.4701, allocations: 4 kB / 0.6007 GB, free: 1.84 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.0004457/0.4705, allocations: 430.7 kB / 0.6011 GB, free: 1.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4706, allocations: 12.5 kB / 0.6011 GB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.4706, allocations: 15.81 kB / 0.6011 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.4708, allocations: 208.2 kB / 0.6013 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4709, allocations: 3.953 kB / 0.6013 GB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4709, allocations: 4 kB / 0.6013 GB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.4711, allocations: 69.61 kB / 0.6014 GB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4711, allocations: 0 / 0.6014 GB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4711, allocations: 4 kB / 0.6014 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4711, allocations: 4 kB / 0.6014 GB, free: 1.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.4713, allocations: 39.97 kB / 0.6015 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.4717, allocations: 328.6 kB / 0.6018 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.4719, allocations: 54.56 kB / 0.6018 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4719, allocations: 0 / 0.6018 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.472, allocations: 38.59 kB / 0.6019 GB, free: 500 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.472, allocations: 0 / 0.6019 GB, free: 500 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.00139/0.4734, allocations: 472.8 kB / 0.6023 GB, free: 20 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.4734, allocations: 60.64 kB / 0.6024 GB, free: 15.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.4736, allocations: 186.5 kB / 0.6025 GB, free: 15.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.4736, allocations: 33.7 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.4737, allocations: 104.1 kB / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.4737, allocations: 35.45 kB / 0.6027 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.4738, allocations: 4 kB / 0.6027 GB, free: 15.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4739, allocations: 326.8 kB / 0.603 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.474, allocations: 55.91 kB / 0.6031 GB, free: 15.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.4741, allocations: 47.97 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.4742, allocations: 47.98 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4742, allocations: 4 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000299/0.4745, allocations: 165.4 kB / 0.6033 GB, free: 14.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4746, allocations: 9.875 kB / 0.6033 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4746, allocations: 0 / 0.6033 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4746, allocations: 3.938 kB / 0.6033 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4747, allocations: 28.55 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4747, allocations: 4 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.4748, allocations: 19.94 kB / 0.6034 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4748, allocations: 0 / 0.6034 GB, free: 14.86 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 8.912e-05/0.4749, allocations: 133.8 kB / 0.6035 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.475, allocations: 7.906 kB / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.4754, allocations: 183 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4754, allocations: 0 / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4754, allocations: 3.984 kB / 0.6037 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4754, allocations: 8 kB / 0.6037 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.476, allocations: 0.4998 MB / 0.6042 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.476, allocations: 4 kB / 0.6042 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.4761, allocations: 27.98 kB / 0.6042 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.4762, allocations: 0 / 0.6042 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4762, allocations: 11.89 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4762, allocations: 7.938 kB / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4762, allocations: 0 / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.4765, allocations: 292.5 kB / 0.6045 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.4766, allocations: 93 kB / 0.6046 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.4767, allocations: 8 kB / 0.6046 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.4768, allocations: 8 kB / 0.6046 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.4768, allocations: 19.92 kB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.4768, allocations: 7.984 kB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.4769, allocations: 152.9 kB / 0.6048 GB, free: 13.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4769, allocations: 0 / 0.6048 GB, free: 13.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.4772, allocations: 35.94 kB / 0.6048 GB, free: 13.24 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.0009804/0.4782, allocations: 466.8 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.4785, allocations: 127.8 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4785, allocations: 0 / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.4787, allocations: 63.91 kB / 0.6055 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.4789, allocations: 28.25 kB / 0.6055 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.4794, allocations: 327.2 kB / 0.6058 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.4797, allocations: 0.716 MB / 0.6065 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.425e-05/0.4798, allocations: 16.53 kB / 0.6065 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.4798, allocations: 19.44 kB / 0.6065 GB, free: 11.62 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4798, allocations: 0 / 0.6065 GB, free: 11.62 MB / 426.7 MB Notification: Performance of Templates: time 0.003667/0.4835, allocations: 1.552 MB / 0.6081 GB, free: 10.09 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches