Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 114.4 kB / 17.78 MB, free: 5.246 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 183 kB / 18.71 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2456/0.2456, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.89 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4602, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.003445/0.4637, allocations: 1.639 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000961/0.4646, allocations: 0.6827 MB / 0.5212 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.4647, allocations: 1.188 kB / 0.5212 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.465, allocations: 28.92 kB / 0.5212 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.4652, allocations: 38.39 kB / 0.5212 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.313e-06/0.4653, allocations: 1.094 kB / 0.5212 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.4655, allocations: 38.42 kB / 0.5213 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.4655, allocations: 6.891 kB / 0.5213 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.4656, allocations: 13.08 kB / 0.5213 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.4656, allocations: 12.67 kB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4657, allocations: 1.094 kB / 0.5213 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.4657, allocations: 11.89 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.4658, allocations: 14.23 kB / 0.5213 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.4658, allocations: 20.09 kB / 0.5213 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.466, allocations: 70.98 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.466, allocations: 0 / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4661, allocations: 1.125 kB / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4661, allocations: 0 / 0.5214 GB, free: 1.871 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004123/0.4665, allocations: 362 kB / 0.5218 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4665, allocations: 9.969 kB / 0.5218 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.4666, allocations: 7.641 kB / 0.5218 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.4667, allocations: 172.5 kB / 0.5219 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4667, allocations: 1.625 kB / 0.5219 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.4667, allocations: 11.72 kB / 0.522 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.4669, allocations: 124.6 kB / 0.5221 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4669, allocations: 192 / 0.5221 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.467, allocations: 5 kB / 0.5221 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/0.467, allocations: 28.28 kB / 0.5221 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.162e-05/0.4671, allocations: 41.61 kB / 0.5221 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/0.4676, allocations: 0.8933 MB / 0.523 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.107e-05/0.4677, allocations: 170.8 kB / 0.5232 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.4677, allocations: 85.05 kB / 0.5233 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.4678, allocations: 83.22 kB / 0.5233 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.4678, allocations: 111.7 kB / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.4678, allocations: 0 / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.524e-05/0.4679, allocations: 35.12 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.468, allocations: 126.7 kB / 0.5236 GB, free: 15.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.4682, allocations: 190.3 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.4682, allocations: 29.7 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.4683, allocations: 147.1 kB / 0.524 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.4683, allocations: 2.547 kB / 0.524 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.4684, allocations: 41.8 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4686, allocations: 322.5 kB / 0.5243 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.8e-05/0.4686, allocations: 34.84 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4688, allocations: 153.3 kB / 0.5245 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.469, allocations: 207.6 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.469, allocations: 1.781 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003654/0.4694, allocations: 203.4 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4694, allocations: 7.5 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4694, allocations: 4.375 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4694, allocations: 5.938 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.4696, allocations: 37.38 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.4696, allocations: 7.125 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.311e-05/0.4697, allocations: 20.38 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.4697, allocations: 10.31 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001509/0.4699, allocations: 217.6 kB / 0.5252 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.47, allocations: 117.4 kB / 0.5253 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.482e-05/0.4701, allocations: 119.7 kB / 0.5254 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.98e-05/0.4702, allocations: 182.4 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/0.4703, allocations: 185.7 kB / 0.5258 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.018e-05/0.4704, allocations: 183.2 kB / 0.5259 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.4707, allocations: 423.1 kB / 0.5263 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.382e-05/0.4708, allocations: 111 kB / 0.5264 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.053e-05/0.4709, allocations: 105.5 kB / 0.5265 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-05/0.471, allocations: 178 kB / 0.5267 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.4711, allocations: 182.3 kB / 0.5269 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.231e-05/0.4712, allocations: 182 kB / 0.5271 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.84e-05/0.4713, allocations: 178 kB / 0.5272 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.4715, allocations: 316.2 kB / 0.5275 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.4716, allocations: 189.6 kB / 0.5277 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.4717, allocations: 189.9 kB / 0.5279 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4718, allocations: 102.8 kB / 0.528 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.4719, allocations: 190 kB / 0.5282 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.472, allocations: 102.8 kB / 0.5283 GB, free: 10.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.4722, allocations: 126.7 kB / 0.5284 GB, free: 10.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4722, allocations: 0 / 0.5284 GB, free: 10.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.4725, allocations: 16.03 kB / 0.5284 GB, free: 10.86 MB / 398.1 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 (0): * Single equations (assignments): 0 * 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.0006162/0.4732, allocations: 277.4 kB / 0.5287 GB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4734, allocations: 74.17 kB / 0.5287 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4734, allocations: 0 / 0.5287 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.4734, allocations: 0 / 0.5287 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.4738, allocations: 472.2 kB / 0.5292 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.4742, allocations: 241.6 kB / 0.5294 GB, free: 9.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.4746, allocations: 0.6996 MB / 0.5301 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.4748, allocations: 51.55 kB / 0.5301 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.4749, allocations: 16.3 kB / 0.5302 GB, free: 9.246 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4749, allocations: 0 / 0.5302 GB, free: 9.246 MB / 398.1 MB Notification: Performance of Templates: time 0.003676/0.4785, allocations: 0.7155 MB / 0.5309 GB, free: 9.137 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches