Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001159/0.001159, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.44/1.44, 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.2281/0.2281, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4821, allocations: 60.81 MB / 0.5189 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003827/0.486, allocations: 1.628 MB / 0.5205 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.4869, allocations: 425.5 kB / 0.5209 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.487, allocations: 1.281 kB / 0.5209 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009683/0.488, allocations: 444.8 kB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000667/0.4887, allocations: 257.4 kB / 0.5216 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.4892, allocations: 131.6 kB / 0.5217 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.4896, allocations: 162 kB / 0.5219 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.4898, allocations: 18.05 kB / 0.5219 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.49, allocations: 107.2 kB / 0.522 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.4904, allocations: 206 kB / 0.5222 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.4904, allocations: 3.25 kB / 0.5222 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.4905, allocations: 30.23 kB / 0.5222 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.4907, allocations: 80.44 kB / 0.5223 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.359e-05/0.4908, allocations: 108.3 kB / 0.5224 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.4912, allocations: 247.8 kB / 0.5226 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4913, allocations: 0 / 0.5226 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.4913, allocations: 3.938 kB / 0.5226 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.4913, allocations: 3.938 kB / 0.5226 GB, free: 2.047 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.0008821/0.4922, allocations: 0.6237 MB / 0.5232 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.4922, allocations: 9.469 kB / 0.5232 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.959e-05/0.4923, allocations: 43.08 kB / 0.5233 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.4927, allocations: 293 kB / 0.5236 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4927, allocations: 5.781 kB / 0.5236 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.4928, allocations: 6.594 kB / 0.5236 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.4929, allocations: 54.56 kB / 0.5236 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.493, allocations: 0.9375 kB / 0.5236 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.493, allocations: 0.8906 kB / 0.5236 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.493, allocations: 5.109 kB / 0.5236 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4931, allocations: 22.89 kB / 0.5237 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.4937, allocations: 392.5 kB / 0.524 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.494, allocations: 46.12 kB / 0.5241 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.494, allocations: 12.77 kB / 0.5241 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.4941, allocations: 5.531 kB / 0.5241 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.4941, allocations: 31.59 kB / 0.5241 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.4941, allocations: 1.625 kB / 0.5241 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006273/0.4947, allocations: 224.3 kB / 0.5243 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.4948, allocations: 52.81 kB / 0.5244 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.496, allocations: 0.8593 MB / 0.5252 GB, free: 216 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.496, allocations: 25.7 kB / 0.5253 GB, free: 184 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.4962, allocations: 218.4 kB / 0.5255 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.4962, allocations: 21.11 kB / 0.5255 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.4963, allocations: 21.84 kB / 0.5255 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4964, allocations: 355.3 kB / 0.5258 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.4965, allocations: 18.98 kB / 0.5259 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.4966, allocations: 22.92 kB / 0.5259 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.4967, allocations: 48.39 kB / 0.5259 GB, free: 15.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4967, allocations: 3.938 kB / 0.5259 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002138/0.497, allocations: 119.2 kB / 0.526 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.497, allocations: 5.281 kB / 0.5261 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.497, allocations: 0 / 0.5261 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.497, allocations: 1.5 kB / 0.5261 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.4971, allocations: 13.42 kB / 0.5261 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.4971, allocations: 0 / 0.5261 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.4972, allocations: 11.36 kB / 0.5261 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4972, allocations: 1.281 kB / 0.5261 GB, free: 15.46 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 (5): * Single equations (assignments): 5 * 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.0002151/0.4974, allocations: 218.2 kB / 0.5263 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.4975, allocations: 41.53 kB / 0.5263 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.4978, allocations: 130.5 kB / 0.5265 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4978, allocations: 5.219 kB / 0.5265 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4978, allocations: 0 / 0.5265 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.4978, allocations: 3.938 kB / 0.5265 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.4984, allocations: 456.8 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4984, allocations: 1.438 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.4985, allocations: 8.531 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4985, allocations: 1.062 kB / 0.5269 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4985, allocations: 9.484 kB / 0.5269 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4985, allocations: 0 / 0.5269 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4985, allocations: 0 / 0.5269 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.4988, allocations: 221.9 kB / 0.5271 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.4989, allocations: 106.3 kB / 0.5272 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.4989, allocations: 5.406 kB / 0.5272 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.499, allocations: 7.047 kB / 0.5272 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.4991, allocations: 1.312 kB / 0.5272 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4991, allocations: 1.344 kB / 0.5272 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006944/0.4998, allocations: 0.6505 MB / 0.5279 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4998, allocations: 0 / 0.5279 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.5001, allocations: 27.09 kB / 0.5279 GB, free: 14.15 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 (5): * Single equations (assignments): 5 * 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.0009563/0.501, allocations: 402.3 kB / 0.5283 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.5012, allocations: 48.25 kB / 0.5283 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5013, allocations: 0 / 0.5283 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-05/0.5013, allocations: 28.11 kB / 0.5284 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.5017, allocations: 28.84 kB / 0.5284 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.503, allocations: 0.7803 MB / 0.5292 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.5034, allocations: 0.8268 MB / 0.53 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.171e-05/0.5035, allocations: 4.5 kB / 0.53 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.5035, allocations: 12.28 kB / 0.53 GB, free: 12.72 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5035, allocations: 0 / 0.53 GB, free: 12.72 MB / 398.1 MB Notification: Performance of Templates: time 0.005529/0.5091, allocations: 1.476 MB / 0.5314 GB, free: 11.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches