Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001234/0.001234, allocations: 179.1 kB / 18.71 MB, free: 4.387 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.505/1.505, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2133/0.2133, allocations: 44.19 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.4817, allocations: 60.82 MB / 0.5189 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003525/0.4853, allocations: 1.653 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009168/0.4863, allocations: 450 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.241e-05/0.4863, allocations: 2.469 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.4867, allocations: 50.98 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.487, allocations: 52.95 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.4875, allocations: 171.4 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.4877, allocations: 73.66 kB / 0.5213 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.4879, allocations: 20.86 kB / 0.5213 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.488, allocations: 38.25 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.4881, allocations: 41.17 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.4881, allocations: 3.562 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.4882, allocations: 51.67 kB / 0.5215 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.4883, allocations: 28.52 kB / 0.5215 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.4884, allocations: 26.95 kB / 0.5215 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.4886, allocations: 102.4 kB / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4887, allocations: 0 / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4887, allocations: 1.281 kB / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.4887, allocations: 0 / 0.5216 GB, free: 1.906 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005077/0.4892, allocations: 408 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4892, allocations: 9.422 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.4893, allocations: 9.219 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.4895, allocations: 200.7 kB / 0.5222 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4895, allocations: 2.531 kB / 0.5222 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.4895, allocations: 6.938 kB / 0.5222 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.4898, allocations: 78.62 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.4898, allocations: 0 / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.4898, allocations: 1.094 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4898, allocations: 1.188 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.49, allocations: 43.5 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.4905, allocations: 323.8 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.4908, allocations: 56.62 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.4909, allocations: 26.48 kB / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.4909, allocations: 1.188 kB / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.491, allocations: 40.7 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.491, allocations: 0 / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001674/0.4927, allocations: 413.3 kB / 0.5232 GB, free: 0.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.4927, allocations: 57.48 kB / 0.5232 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.4929, allocations: 171.5 kB / 0.5234 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4929, allocations: 27.61 kB / 0.5234 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.493, allocations: 103.1 kB / 0.5235 GB, free: 400 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.493, allocations: 30.06 kB / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.4931, allocations: 28.28 kB / 0.5235 GB, free: 352 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.4932, allocations: 321.9 kB / 0.5239 GB, free: 28 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.4933, allocations: 54.92 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.4935, allocations: 56.38 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.4938, allocations: 123.8 kB / 0.5241 GB, free: 15.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4938, allocations: 0 / 0.5241 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004352/0.4943, allocations: 169 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4943, allocations: 13.41 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4943, allocations: 3.938 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4944, allocations: 1.219 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4945, allocations: 26.11 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.4945, allocations: 0.7031 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.4946, allocations: 13.2 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4946, allocations: 3.094 kB / 0.5243 GB, free: 15.86 MB / 398.1 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.0001273/0.4947, allocations: 130.6 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.4948, allocations: 8.844 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.4953, allocations: 189.5 kB / 0.5246 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.4953, allocations: 6.078 kB / 0.5246 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4953, allocations: 0 / 0.5246 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.4953, allocations: 2.391 kB / 0.5246 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008397/0.4961, allocations: 0.4994 MB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4962, allocations: 2.188 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4963, allocations: 28.59 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.4963, allocations: 6.578 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4963, allocations: 1.812 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4963, allocations: 1.781 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4963, allocations: 4.719 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.4968, allocations: 266.4 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.4968, allocations: 85.02 kB / 0.5255 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.4969, allocations: 10.59 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.497, allocations: 9.047 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.497, allocations: 7.688 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4971, allocations: 9 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.4972, allocations: 134.1 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4972, allocations: 0 / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000274/0.4975, allocations: 27.19 kB / 0.5257 GB, free: 14.83 MB / 398.1 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.001138/0.4986, allocations: 462.8 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.499, allocations: 131.2 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.499, allocations: 0 / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.4992, allocations: 73.53 kB / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.4996, allocations: 22.62 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.5002, allocations: 275.6 kB / 0.5266 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.5005, allocations: 0.7212 MB / 0.5273 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.5006, allocations: 25.41 kB / 0.5273 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.5007, allocations: 15.23 kB / 0.5273 GB, free: 13.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.444e-06/0.5007, allocations: 4 kB / 0.5273 GB, free: 13.63 MB / 398.1 MB Notification: Performance of Templates: time 0.005001/0.5057, allocations: 1.615 MB / 0.5289 GB, free: 12.95 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches