Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001488/0.001489, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2402/0.2402, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.88 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4728, allocations: 60.82 MB / 0.5189 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003276/0.4761, allocations: 1.642 MB / 0.5205 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008001/0.4769, allocations: 450.8 kB / 0.521 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.477, allocations: 1.188 kB / 0.521 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.4773, allocations: 53.02 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.4776, allocations: 48.31 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.478, allocations: 175.6 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.4782, allocations: 87 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.4784, allocations: 16.92 kB / 0.5213 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.4785, allocations: 42.75 kB / 0.5214 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.4786, allocations: 38.19 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.4786, allocations: 4.375 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.4787, allocations: 48.75 kB / 0.5215 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.4788, allocations: 27.8 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.4789, allocations: 30.97 kB / 0.5215 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.4791, allocations: 101.7 kB / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4791, allocations: 1.312 kB / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4791, allocations: 0 / 0.5216 GB, free: 1.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.4791, 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.0005133/0.4797, allocations: 404.8 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4797, allocations: 9.656 kB / 0.522 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.4798, allocations: 9.531 kB / 0.522 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.48, allocations: 193.9 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.48, allocations: 5.531 kB / 0.5222 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.48, allocations: 7.469 kB / 0.5222 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.4802, allocations: 71.19 kB / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4803, allocations: 0 / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4803, allocations: 9.125 kB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4803, allocations: 1.156 kB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.4805, allocations: 47.39 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.481, allocations: 319.7 kB / 0.5226 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.4813, allocations: 64.39 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.367e-05/0.4814, allocations: 25.95 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.4814, allocations: 1.891 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.4814, allocations: 31.62 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.974e-06/0.4814, allocations: 3.984 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001569/0.483, allocations: 418.1 kB / 0.5232 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.483, allocations: 56.47 kB / 0.5232 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.4832, allocations: 172.7 kB / 0.5234 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.4832, allocations: 26.83 kB / 0.5234 GB, free: 496 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.4833, allocations: 103.8 kB / 0.5235 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.4833, allocations: 30.78 kB / 0.5235 GB, free: 372 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.4834, allocations: 23.42 kB / 0.5236 GB, free: 352 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.4835, allocations: 333.5 kB / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4837, allocations: 52.08 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.4838, allocations: 56.19 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.4842, allocations: 127.1 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4842, allocations: 0.8438 kB / 0.5241 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003645/0.4846, allocations: 161 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4846, allocations: 7.438 kB / 0.5243 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4846, allocations: 7.875 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4846, allocations: 2.438 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.4847, allocations: 28.95 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.4848, allocations: 0 / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/0.4848, allocations: 14.36 kB / 0.5243 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.4848, allocations: 6.484 kB / 0.5243 GB, free: 15.85 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.0001008/0.4849, allocations: 127.2 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.485, allocations: 7.469 kB / 0.5244 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.4854, allocations: 195.6 kB / 0.5246 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.4854, allocations: 4 kB / 0.5246 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4855, allocations: 6.859 kB / 0.5246 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.4855, allocations: 0.5156 kB / 0.5246 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007162/0.4862, allocations: 496.5 kB / 0.5251 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4862, allocations: 9.281 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.4863, allocations: 33.73 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4863, allocations: 5.438 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4863, allocations: 1.469 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.4864, allocations: 1.578 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4864, allocations: 0.875 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.4868, allocations: 271.1 kB / 0.5254 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.4869, allocations: 84.44 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.4869, allocations: 3.078 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.487, allocations: 13.62 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.487, allocations: 7.188 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.4871, allocations: 4.156 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.4872, allocations: 142.9 kB / 0.5257 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4872, allocations: 0 / 0.5257 GB, free: 14.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.4875, allocations: 26.81 kB / 0.5257 GB, free: 14.82 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.001109/0.4886, allocations: 453.5 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.489, allocations: 126.9 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.489, allocations: 5.688 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.4892, allocations: 69.52 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.0003646/0.4896, allocations: 19.62 kB / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.4903, allocations: 284.8 kB / 0.5266 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.4906, allocations: 0.7162 MB / 0.5273 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.836e-05/0.4907, allocations: 32.31 kB / 0.5273 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.4908, allocations: 14.95 kB / 0.5274 GB, free: 13.63 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4908, allocations: 1.438 kB / 0.5274 GB, free: 13.63 MB / 398.1 MB Notification: Performance of Templates: time 0.004686/0.4955, allocations: 1.623 MB / 0.5289 GB, free: 12.91 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches