Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001256/0.001256, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.492/1.492, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2274/0.2274, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4749, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003065/0.478, allocations: 1.621 MB / 0.5205 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.4787, allocations: 426.4 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.4788, allocations: 1.344 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007035/0.4795, allocations: 454.1 kB / 0.5213 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.48, allocations: 252.3 kB / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.4804, allocations: 132.3 kB / 0.5217 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.4807, allocations: 164.9 kB / 0.5219 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.4808, allocations: 26.39 kB / 0.5219 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.481, allocations: 107.9 kB / 0.522 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003/0.4813, allocations: 207.2 kB / 0.5222 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.4813, allocations: 3.406 kB / 0.5222 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4815, allocations: 40.33 kB / 0.5222 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.4816, allocations: 85.2 kB / 0.5223 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.4817, allocations: 103.2 kB / 0.5224 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.482, allocations: 253.5 kB / 0.5227 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4821, allocations: 1.688 kB / 0.5227 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4821, allocations: 0 / 0.5227 GB, free: 1.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.4821, allocations: 0 / 0.5227 GB, free: 1.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006938/0.4828, allocations: 0.6317 MB / 0.5233 GB, free: 1.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4828, allocations: 10.12 kB / 0.5233 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.4829, allocations: 46.31 kB / 0.5233 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.4832, allocations: 296.7 kB / 0.5236 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4832, allocations: 1.969 kB / 0.5236 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.4832, allocations: 6 kB / 0.5236 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.4834, allocations: 62.73 kB / 0.5237 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4834, allocations: 0 / 0.5237 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.4834, allocations: 0 / 0.5237 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4834, allocations: 0 / 0.5237 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.4836, allocations: 37.16 kB / 0.5237 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.484, allocations: 389.6 kB / 0.5241 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.4842, allocations: 43.73 kB / 0.5241 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.033e-05/0.4842, allocations: 24.3 kB / 0.5242 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.4843, allocations: 1.062 kB / 0.5242 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.4843, allocations: 36.08 kB / 0.5242 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4843, allocations: 0 / 0.5242 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008195/0.4851, allocations: 288.2 kB / 0.5245 GB, free: 332 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.4852, allocations: 55.41 kB / 0.5245 GB, free: 264 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.4862, allocations: 0.8598 MB / 0.5254 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4862, allocations: 25.7 kB / 0.5254 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.4864, allocations: 215.4 kB / 0.5256 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4865, allocations: 18.47 kB / 0.5256 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.4865, allocations: 23.2 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4867, allocations: 355.3 kB / 0.526 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.4868, allocations: 37.84 kB / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.4869, allocations: 35.16 kB / 0.526 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.4871, allocations: 71.31 kB / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4871, allocations: 0 / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002922/0.4874, allocations: 140.4 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4874, allocations: 5.5 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4875, allocations: 0 / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4875, allocations: 1.375 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4876, allocations: 17.73 kB / 0.5263 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4876, allocations: 5.312 kB / 0.5263 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.4877, allocations: 13.42 kB / 0.5263 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4877, allocations: 1.375 kB / 0.5263 GB, free: 15.16 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 (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 0.0002136/0.4879, allocations: 218 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.488, allocations: 42.16 kB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.4884, allocations: 167.9 kB / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4884, allocations: 1.312 kB / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4884, allocations: 0 / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4884, allocations: 3.938 kB / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.4891, allocations: 0.4904 MB / 0.5272 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4891, allocations: 0 / 0.5272 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.4892, allocations: 21.64 kB / 0.5272 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.4892, allocations: 5.188 kB / 0.5272 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4892, allocations: 9.469 kB / 0.5272 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4892, allocations: 0 / 0.5272 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4893, allocations: 288 / 0.5272 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.4896, allocations: 247.9 kB / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.4897, allocations: 113.1 kB / 0.5275 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.4897, allocations: 9.406 kB / 0.5276 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/0.4898, allocations: 9.734 kB / 0.5276 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.4899, allocations: 6.703 kB / 0.5276 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.4899, allocations: 6.375 kB / 0.5276 GB, free: 14.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006851/0.4906, allocations: 0.6447 MB / 0.5282 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4906, allocations: 0 / 0.5282 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.4909, allocations: 27.53 kB / 0.5282 GB, free: 13.77 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 (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.001012/0.4919, allocations: 390.2 kB / 0.5286 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.4922, allocations: 86.27 kB / 0.5287 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4922, allocations: 0 / 0.5287 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.4924, allocations: 45.62 kB / 0.5287 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.4928, allocations: 24.83 kB / 0.5288 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.4941, allocations: 0.7823 MB / 0.5295 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.4946, allocations: 0.8281 MB / 0.5303 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.4947, allocations: 17.88 kB / 0.5303 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.4947, allocations: 11.88 kB / 0.5304 GB, free: 12.32 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4947, allocations: 0 / 0.5304 GB, free: 12.32 MB / 398.1 MB Notification: Performance of Templates: time 0.005666/0.5004, allocations: 1.581 MB / 0.5319 GB, free: 11.53 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches