Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.413/1.413, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001146/0.001146, allocations: 97.94 kB / 291.9 MB, free: 10.94 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.4372/0.4372, allocations: 44.14 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 55.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3916, allocations: 60.8 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002695/0.3944, allocations: 1.693 MB / 0.508 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005994/0.395, allocations: 441.4 kB / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.3951, allocations: 0 / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004356/0.3955, allocations: 452.8 kB / 0.5089 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.3958, allocations: 243.7 kB / 0.5091 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.396, allocations: 112.1 kB / 0.5092 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3962, allocations: 171.7 kB / 0.5094 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.3963, allocations: 24.5 kB / 0.5094 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.3964, allocations: 104.1 kB / 0.5095 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.3966, allocations: 207.8 kB / 0.5097 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3966, allocations: 2.688 kB / 0.5097 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.3967, allocations: 46.66 kB / 0.5098 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.3968, allocations: 89.27 kB / 0.5098 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.3968, allocations: 102.2 kB / 0.5099 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.397, allocations: 260.7 kB / 0.5102 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.397, allocations: 3.938 kB / 0.5102 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3971, allocations: 0 / 0.5102 GB, free: 36.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3971, allocations: 0 / 0.5102 GB, free: 36.46 MB / 378.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.0005398/0.3976, allocations: 0.6468 MB / 0.5108 GB, free: 35.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.3976, allocations: 9.375 kB / 0.5108 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.3977, allocations: 43.12 kB / 0.5109 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.3979, allocations: 298.7 kB / 0.5112 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-06/0.3979, allocations: 3.094 kB / 0.5112 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.3979, allocations: 2.969 kB / 0.5112 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.3981, allocations: 68.42 kB / 0.5112 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3981, allocations: 3.984 kB / 0.5112 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.3981, allocations: 2.719 kB / 0.5112 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3981, allocations: 0 / 0.5112 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.3982, allocations: 35.5 kB / 0.5113 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.3986, allocations: 402.8 kB / 0.5117 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.3988, allocations: 53.23 kB / 0.5117 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.3989, allocations: 27.83 kB / 0.5117 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3989, allocations: 4 kB / 0.5117 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.3989, allocations: 34.56 kB / 0.5118 GB, free: 35.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3989, allocations: 2.5 kB / 0.5118 GB, free: 35.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001222/0.4001, allocations: 459.8 kB / 0.5122 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.4002, allocations: 63.34 kB / 0.5123 GB, free: 34.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.4008, allocations: 0.8481 MB / 0.5131 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.4008, allocations: 29.7 kB / 0.5131 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4009, allocations: 214.9 kB / 0.5133 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.401, allocations: 28.09 kB / 0.5134 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.401, allocations: 28.47 kB / 0.5134 GB, free: 34.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.646e-05/0.4011, allocations: 357.5 kB / 0.5137 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.4012, allocations: 54.09 kB / 0.5138 GB, free: 33.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.4013, allocations: 42.59 kB / 0.5138 GB, free: 33.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.4016, allocations: 97.86 kB / 0.5139 GB, free: 33.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4016, allocations: 0 / 0.5139 GB, free: 33.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002786/0.4019, allocations: 180.9 kB / 0.5141 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4019, allocations: 6.844 kB / 0.5141 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4019, allocations: 3.984 kB / 0.5141 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4019, allocations: 2.906 kB / 0.5141 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.934e-05/0.402, allocations: 26.48 kB / 0.5141 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.402, allocations: 0 / 0.5141 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.891e-05/0.4021, allocations: 14.83 kB / 0.5141 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.4021, allocations: 2.438 kB / 0.5141 GB, free: 33.81 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.4023, allocations: 218.4 kB / 0.5144 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.4023, allocations: 42.94 kB / 0.5144 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.4027, allocations: 198 kB / 0.5146 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4027, allocations: 8.312 kB / 0.5146 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4027, allocations: 0 / 0.5146 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4027, allocations: 0 / 0.5146 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.4034, allocations: 0.5669 MB / 0.5151 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4034, allocations: 2.125 kB / 0.5151 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.581e-05/0.4035, allocations: 24.84 kB / 0.5152 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4035, allocations: 5.5 kB / 0.5152 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4035, allocations: 1.875 kB / 0.5152 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4035, allocations: 7.672 kB / 0.5152 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4035, allocations: 0 / 0.5152 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.4041, allocations: 0.968 MB / 0.5161 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.4042, allocations: 109.3 kB / 0.5162 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4042, allocations: 2.812 kB / 0.5162 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4043, allocations: 13.28 kB / 0.5162 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.4044, allocations: 12.75 kB / 0.5163 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.4044, allocations: 6.844 kB / 0.5163 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004918/0.4049, allocations: 0.6435 MB / 0.5169 GB, free: 31.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4049, allocations: 0 / 0.5169 GB, free: 31.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.4053, allocations: 36.66 kB / 0.5169 GB, free: 31.91 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008881/0.4062, allocations: 465.2 kB / 0.5174 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.4064, allocations: 103.5 kB / 0.5175 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4065, allocations: 0 / 0.5175 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.4066, allocations: 60.22 kB / 0.5175 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.407, allocations: 30.2 kB / 0.5176 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.408, allocations: 1.057 MB / 0.5186 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.4083, allocations: 0.8339 MB / 0.5194 GB, free: 30.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.4084, allocations: 19.73 kB / 0.5194 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.4085, allocations: 13.67 kB / 0.5194 GB, free: 30.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4085, allocations: 0 / 0.5194 GB, free: 30.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005041/0.4135, allocations: 1.77 MB / 0.5212 GB, free: 30.09 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches