Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002148/0.002148, 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.368/1.368, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001044/0.001044, allocations: 103.5 kB / 291.9 MB, free: 10.95 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.4813/0.4813, allocations: 44.14 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 51.92 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4589, allocations: 60.81 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003261/0.4622, allocations: 1.675 MB / 0.508 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.4638, allocations: 1.016 MB / 0.509 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.4639, allocations: 0 / 0.509 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.4641, allocations: 13.16 kB / 0.509 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.4643, allocations: 37.5 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.4647, allocations: 122.4 kB / 0.5092 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.4648, allocations: 60.34 kB / 0.5092 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.4649, allocations: 13.14 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.465, allocations: 20.06 kB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.4651, allocations: 34.88 kB / 0.5093 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.4652, allocations: 6.875 kB / 0.5093 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.4653, allocations: 51.61 kB / 0.5094 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/0.4654, allocations: 18.58 kB / 0.5094 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.4654, allocations: 22.98 kB / 0.5094 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.4656, allocations: 89.52 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4656, allocations: 0 / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4656, allocations: 0 / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.4656, allocations: 0 / 0.5095 GB, free: 36.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004751/0.4661, allocations: 387.9 kB / 0.5099 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4662, allocations: 15.41 kB / 0.5099 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.4662, allocations: 7.594 kB / 0.5099 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.4664, allocations: 192.5 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.4664, allocations: 4.375 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.4665, allocations: 6.656 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.4667, allocations: 75.08 kB / 0.5101 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4667, allocations: 3.938 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4667, allocations: 2.781 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.4667, allocations: 4 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4669, allocations: 34.94 kB / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.4672, allocations: 292.6 kB / 0.5105 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.4674, allocations: 42.2 kB / 0.5105 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.4675, allocations: 27.72 kB / 0.5105 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.4675, allocations: 0 / 0.5105 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.4675, allocations: 33.47 kB / 0.5106 GB, free: 35.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4675, allocations: 0 / 0.5106 GB, free: 35.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008476/0.4684, allocations: 204.3 kB / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.4684, allocations: 77.11 kB / 0.5108 GB, free: 34.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.4686, allocations: 141.3 kB / 0.511 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.4686, allocations: 25.7 kB / 0.511 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.4686, allocations: 95.92 kB / 0.5111 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.4687, allocations: 23 kB / 0.5111 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.4687, allocations: 17.09 kB / 0.5111 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.4688, allocations: 324.8 kB / 0.5114 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.4689, allocations: 29.3 kB / 0.5115 GB, free: 34.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4691, allocations: 49.27 kB / 0.5115 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.4693, allocations: 80.73 kB / 0.5116 GB, free: 34.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4693, allocations: 0 / 0.5116 GB, free: 34.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003146/0.4697, allocations: 99.48 kB / 0.5117 GB, free: 34.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4697, allocations: 9.375 kB / 0.5117 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4697, allocations: 0 / 0.5117 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4697, allocations: 0 / 0.5117 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.4699, allocations: 26.67 kB / 0.5117 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4699, allocations: 4 kB / 0.5117 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.47, allocations: 16.89 kB / 0.5117 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.47, allocations: 6.75 kB / 0.5117 GB, free: 34.15 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 (7): * Single equations (assignments): 7 * 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 7.715e-05/0.4701, allocations: 116.1 kB / 0.5119 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.4701, allocations: 2.812 kB / 0.5119 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.4705, allocations: 130.9 kB / 0.512 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4705, allocations: 0 / 0.512 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4705, allocations: 0 / 0.512 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4705, allocations: 3.938 kB / 0.512 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.4711, allocations: 391.4 kB / 0.5124 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4711, allocations: 0 / 0.5124 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.4712, allocations: 25.03 kB / 0.5124 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4712, allocations: 3.938 kB / 0.5124 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4712, allocations: 10.5 kB / 0.5124 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4712, allocations: 0 / 0.5124 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4712, allocations: 0 / 0.5124 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.4719, allocations: 0.7946 MB / 0.5132 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.472, allocations: 83.98 kB / 0.5133 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.472, allocations: 4 kB / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.4721, allocations: 9.219 kB / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.4722, allocations: 12.7 kB / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4722, allocations: 0 / 0.5133 GB, free: 32.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.994e-05/0.4723, allocations: 112 kB / 0.5134 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4723, allocations: 0 / 0.5134 GB, free: 32.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005821/0.4729, allocations: 24.19 kB / 0.5134 GB, free: 32.66 MB / 378.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 (7): * Single equations (assignments): 7 * 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.001232/0.4741, allocations: 443.1 kB / 0.5138 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.4745, allocations: 82.52 kB / 0.5139 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4745, allocations: 0 / 0.5139 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.4746, allocations: 43.62 kB / 0.514 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.4751, allocations: 21.47 kB / 0.514 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.4756, allocations: 322.8 kB / 0.5143 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.4758, allocations: 0.6947 MB / 0.515 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.95e-05/0.4759, allocations: 21.2 kB / 0.515 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.4759, allocations: 21.19 kB / 0.515 GB, free: 31.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4759, allocations: 0 / 0.515 GB, free: 31.41 MB / 378.7 MB Notification: Performance of Templates: time 0.004524/0.4805, allocations: 1.419 MB / 0.5164 GB, free: 31.25 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches