Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 177 kB / 17.06 MB, free: 5.094 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.347/1.347, allocations: 223.2 MB / 241 MB, free: 11.89 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.0007601/0.0007601, allocations: 88.02 kB / 292.2 MB, free: 10.93 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.33/0.33, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 12 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3544, allocations: 61.91 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.4659, allocations: 88.29 MB / 0.5958 GB, free: 6.852 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4662, allocations: 75.92 kB / 0.5958 GB, free: 6.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.4834, allocations: 7.977 MB / 0.6036 GB, free: 14.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.4834, allocations: 4 kB / 0.6036 GB, free: 14.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.4835, allocations: 4 kB / 0.6036 GB, free: 14.78 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.0006785/0.4841, allocations: 0.6335 MB / 0.6043 GB, free: 14.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4842, allocations: 12.03 kB / 0.6043 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.4843, allocations: 39.44 kB / 0.6043 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.4847, allocations: 323.4 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4848, allocations: 0 / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.4848, allocations: 4 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.4849, allocations: 61.61 kB / 0.6047 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.485, allocations: 4 kB / 0.6047 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.485, allocations: 0 / 0.6047 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.485, allocations: 0 / 0.6047 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.4851, allocations: 35.97 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006277/0.4858, allocations: 432.7 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.4859, allocations: 54.48 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.4859, allocations: 0 / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.486, allocations: 34.56 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.486, allocations: 0 / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003473/0.4863, allocations: 133.2 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.4864, allocations: 55.39 kB / 0.6054 GB, free: 12.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.4875, allocations: 0.7785 MB / 0.6062 GB, free: 12.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4875, allocations: 29.7 kB / 0.6062 GB, free: 11.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.4877, allocations: 216.1 kB / 0.6064 GB, free: 11.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.4877, allocations: 7.812 kB / 0.6064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.4877, allocations: 0 / 0.6064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4879, allocations: 366.7 kB / 0.6068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.488, allocations: 19.92 kB / 0.6068 GB, free: 11.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.596e-05/0.488, allocations: 27.98 kB / 0.6068 GB, free: 11.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/0.4881, allocations: 15.98 kB / 0.6068 GB, free: 11.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4881, allocations: 3.938 kB / 0.6068 GB, free: 11.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002063/0.4883, allocations: 109.2 kB / 0.6069 GB, free: 11.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4884, allocations: 8 kB / 0.6069 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4884, allocations: 0 / 0.6069 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4884, allocations: 0 / 0.6069 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.4885, allocations: 11.98 kB / 0.6069 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4885, allocations: 0 / 0.6069 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.4886, allocations: 8 kB / 0.6069 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.4886, allocations: 3.984 kB / 0.607 GB, free: 11.17 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 (3): * Single equations (assignments): 3 * 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.0001992/0.4888, allocations: 218.2 kB / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.4889, allocations: 43.44 kB / 0.6072 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.4891, allocations: 129 kB / 0.6073 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4892, allocations: 3.984 kB / 0.6073 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4892, allocations: 0 / 0.6073 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4892, allocations: 0 / 0.6073 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.4896, allocations: 329.4 kB / 0.6076 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4896, allocations: 0 / 0.6076 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.4897, allocations: 8 kB / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4897, allocations: 0 / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4897, allocations: 7.984 kB / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4897, allocations: 0 / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4897, allocations: 0 / 0.6077 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.49, allocations: 214.9 kB / 0.6079 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.4902, allocations: 164.5 kB / 0.608 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.4903, allocations: 0 / 0.608 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4904, allocations: 12.41 kB / 0.608 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.4904, allocations: 0 / 0.608 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.4904, allocations: 0 / 0.608 GB, free: 9.957 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007058/0.4912, allocations: 0.6433 MB / 0.6087 GB, free: 9.316 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4912, allocations: 0 / 0.6087 GB, free: 9.316 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.4915, allocations: 51.98 kB / 0.6087 GB, free: 9.266 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 (3): * Single equations (assignments): 3 * 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.0009772/0.4925, allocations: 367.6 kB / 0.6091 GB, free: 9.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.4927, allocations: 43.91 kB / 0.6091 GB, free: 8.988 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4927, allocations: 0 / 0.6091 GB, free: 8.988 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.4927, allocations: 23.92 kB / 0.6091 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.493, allocations: 33.91 kB / 0.6092 GB, free: 8.934 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.4944, allocations: 0.8841 MB / 0.61 GB, free: 8.023 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.4948, allocations: 0.8262 MB / 0.6108 GB, free: 7.168 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.416e-05/0.4949, allocations: 40.42 kB / 0.6109 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.495, allocations: 15.44 kB / 0.6109 GB, free: 7.109 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.495, allocations: 4 kB / 0.6109 GB, free: 7.105 MB / 426.7 MB Notification: Performance of Templates: time 0.005534/0.5005, allocations: 2.283 MB / 0.6131 GB, free: 4.82 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches