Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008619/0.0008619, allocations: 183 kB / 18.09 MB, free: 3.727 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.201/1.201, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.000763/0.000763, allocations: 97.05 kB / 293.3 MB, free: 10.77 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.2864/0.2864, allocations: 44.14 MB / 388.5 MB, free: 38.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 16 kB / 461.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2899, allocations: 61.87 MB / 0.5107 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3906, allocations: 88.35 MB / 0.597 GB, free: 6.754 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.3909, allocations: 79.94 kB / 0.5971 GB, free: 6.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01657/0.4075, allocations: 7.927 MB / 0.6048 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4075, allocations: 0 / 0.6048 GB, free: 14.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.729e-05/0.4075, allocations: 8 kB / 0.6048 GB, free: 14.72 MB / 426.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.4082, allocations: 0.622 MB / 0.6054 GB, free: 14.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4082, allocations: 8.031 kB / 0.6054 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.4083, allocations: 40.47 kB / 0.6055 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.4087, allocations: 348.1 kB / 0.6058 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4088, allocations: 4.375 kB / 0.6058 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.4088, allocations: 4.359 kB / 0.6058 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4089, allocations: 53.97 kB / 0.6059 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.4089, allocations: 192 / 0.6059 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4089, allocations: 7.938 kB / 0.6059 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.409, allocations: 3.938 kB / 0.6059 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.409, allocations: 23.98 kB / 0.6059 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.4096, allocations: 428.6 kB / 0.6063 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.522e-05/0.4097, allocations: 34.56 kB / 0.6064 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.4097, allocations: 16.92 kB / 0.6064 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.4098, allocations: 0 / 0.6064 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.4098, allocations: 34.56 kB / 0.6064 GB, free: 12.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4098, allocations: 0 / 0.6064 GB, free: 12.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002523/0.4101, allocations: 109.1 kB / 0.6065 GB, free: 12.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.4101, allocations: 51.41 kB / 0.6066 GB, free: 12.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.4113, allocations: 0.8457 MB / 0.6074 GB, free: 11.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.4113, allocations: 25.7 kB / 0.6074 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.4114, allocations: 227.9 kB / 0.6076 GB, free: 11.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.4115, allocations: 4 kB / 0.6076 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.4115, allocations: 0 / 0.6076 GB, free: 11.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4116, allocations: 362.9 kB / 0.608 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.4117, allocations: 12 kB / 0.608 GB, free: 11.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.4117, allocations: 15.92 kB / 0.608 GB, free: 11.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.4118, allocations: 28.78 kB / 0.608 GB, free: 11.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4118, allocations: 0 / 0.608 GB, free: 11.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001576/0.4119, allocations: 101.1 kB / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.412, allocations: 8 kB / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.412, allocations: 0 / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.412, allocations: 0 / 0.6081 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.4121, allocations: 4 kB / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.4121, allocations: 0 / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.4121, allocations: 7.984 kB / 0.6081 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.4121, allocations: 4.031 kB / 0.6081 GB, free: 11.1 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 (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 0.0001694/0.4123, allocations: 209.7 kB / 0.6083 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.4124, allocations: 43.44 kB / 0.6084 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.4126, allocations: 116.2 kB / 0.6085 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4126, allocations: 0 / 0.6085 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4126, allocations: 4 kB / 0.6085 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4126, allocations: 4.031 kB / 0.6085 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.4129, allocations: 321.4 kB / 0.6088 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4129, allocations: 0 / 0.6088 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.4129, allocations: 4 kB / 0.6088 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.413, allocations: 4 kB / 0.6088 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.413, allocations: 0 / 0.6088 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.413, allocations: 3.984 kB / 0.6088 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.413, allocations: 0 / 0.6088 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.4132, allocations: 198.9 kB / 0.609 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.4134, allocations: 160.5 kB / 0.6092 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.4134, allocations: 0 / 0.6092 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.4135, allocations: 4 kB / 0.6092 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.4135, allocations: 7.938 kB / 0.6092 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.4135, allocations: 0 / 0.6092 GB, free: 9.941 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006682/0.4142, allocations: 0.6432 MB / 0.6098 GB, free: 9.301 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4142, allocations: 4.031 kB / 0.6098 GB, free: 9.297 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.4145, allocations: 55.94 kB / 0.6099 GB, free: 9.242 MB / 426.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 (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.000683/0.4152, allocations: 346.4 kB / 0.6102 GB, free: 9.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.4153, allocations: 31.98 kB / 0.6102 GB, free: 9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4153, allocations: 0 / 0.6102 GB, free: 9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.4154, allocations: 11.98 kB / 0.6102 GB, free: 8.988 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.4157, allocations: 32.23 kB / 0.6103 GB, free: 8.957 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.4168, allocations: 0.8895 MB / 0.6111 GB, free: 8.043 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.4172, allocations: 0.8106 MB / 0.6119 GB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.411e-05/0.4173, allocations: 35.98 kB / 0.612 GB, free: 7.172 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.4174, allocations: 27.42 kB / 0.612 GB, free: 7.145 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4174, allocations: 0 / 0.612 GB, free: 7.145 MB / 426.7 MB Notification: Performance of Templates: time 0.005506/0.4229, allocations: 2.253 MB / 0.6142 GB, free: 4.887 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches