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.001092/0.001092, 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.001088/0.001088, 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.474/1.474, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2499/0.2499, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 67.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4332, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.004223/0.4375, allocations: 1.62 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.4384, allocations: 425.8 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.4386, allocations: 1.344 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008216/0.4394, allocations: 444.9 kB / 0.5213 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005598/0.44, allocations: 265.6 kB / 0.5216 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.4405, allocations: 127.3 kB / 0.5217 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.441, allocations: 158.5 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.4411, allocations: 13.81 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/0.4415, allocations: 111 kB / 0.522 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.4419, allocations: 214.4 kB / 0.5222 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.4419, allocations: 3.125 kB / 0.5222 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.4421, allocations: 30.19 kB / 0.5222 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.4422, allocations: 81.08 kB / 0.5223 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.4423, allocations: 99.7 kB / 0.5224 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004513/0.4428, allocations: 247.3 kB / 0.5226 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4428, allocations: 4.594 kB / 0.5226 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4428, allocations: 0 / 0.5226 GB, free: 1.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.4428, allocations: 0 / 0.5226 GB, free: 1.785 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.001054/0.4439, allocations: 0.6365 MB / 0.5233 GB, free: 1.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.444, allocations: 8.938 kB / 0.5233 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.4441, allocations: 42.75 kB / 0.5233 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.4444, allocations: 287.8 kB / 0.5236 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4445, allocations: 2.625 kB / 0.5236 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.4445, allocations: 2.562 kB / 0.5236 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.4447, allocations: 60.06 kB / 0.5236 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4447, allocations: 0 / 0.5236 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.4447, allocations: 0 / 0.5236 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4447, allocations: 3.984 kB / 0.5236 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.836e-05/0.4448, allocations: 29.02 kB / 0.5237 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.4453, allocations: 387.4 kB / 0.524 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.4455, allocations: 41.23 kB / 0.5241 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.4456, allocations: 21.69 kB / 0.5241 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.4456, allocations: 0.7969 kB / 0.5241 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.4456, allocations: 35.94 kB / 0.5241 GB, free: 468 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4457, allocations: 0 / 0.5241 GB, free: 468 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006357/0.4463, allocations: 222.1 kB / 0.5243 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.4463, allocations: 52.02 kB / 0.5244 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009666/0.4473, allocations: 0.8622 MB / 0.5252 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4473, allocations: 31.14 kB / 0.5253 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.4475, allocations: 218 kB / 0.5255 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.4475, allocations: 18.77 kB / 0.5255 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.4476, allocations: 14.64 kB / 0.5255 GB, free: 15.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4477, allocations: 364.6 kB / 0.5259 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.431e-05/0.4478, allocations: 18.98 kB / 0.5259 GB, free: 15.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.4479, allocations: 22.92 kB / 0.5259 GB, free: 15.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.448, allocations: 48.2 kB / 0.5259 GB, free: 15.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.448, allocations: 0 / 0.5259 GB, free: 15.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002192/0.4483, allocations: 118.7 kB / 0.5261 GB, free: 15.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4483, allocations: 5.5 kB / 0.5261 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4483, allocations: 0 / 0.5261 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4483, allocations: 5.375 kB / 0.5261 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.4484, allocations: 13.61 kB / 0.5261 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4484, allocations: 0 / 0.5261 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.4485, allocations: 10.69 kB / 0.5261 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.4485, allocations: 2.75 kB / 0.5261 GB, free: 15.23 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.0001834/0.4487, allocations: 213.1 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.4487, allocations: 41.31 kB / 0.5263 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.449, allocations: 130.8 kB / 0.5265 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.449, allocations: 1.375 kB / 0.5265 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.449, allocations: 4 kB / 0.5265 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.449, allocations: 3.938 kB / 0.5265 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.4497, allocations: 449.2 kB / 0.5269 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4497, allocations: 288 / 0.5269 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.4497, allocations: 17.95 kB / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.4498, allocations: 0 / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4498, allocations: 5.375 kB / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4498, allocations: 0 / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4498, allocations: 5.531 kB / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.4501, allocations: 213.3 kB / 0.5271 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.4501, allocations: 105.8 kB / 0.5272 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.4502, allocations: 9.156 kB / 0.5272 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.4503, allocations: 2.875 kB / 0.5272 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.4503, allocations: 6.672 kB / 0.5272 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.4503, allocations: 5.531 kB / 0.5272 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007306/0.4511, allocations: 0.6459 MB / 0.5279 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4511, allocations: 0 / 0.5279 GB, free: 13.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.4514, allocations: 22 kB / 0.5279 GB, free: 13.92 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.0009811/0.4523, allocations: 406.2 kB / 0.5283 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4526, allocations: 43.81 kB / 0.5283 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4526, allocations: 5.25 kB / 0.5283 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.09e-05/0.4527, allocations: 27.59 kB / 0.5284 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.4531, allocations: 25.5 kB / 0.5284 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.4546, allocations: 0.7806 MB / 0.5291 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.4551, allocations: 0.8236 MB / 0.53 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.4552, allocations: 17 kB / 0.53 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.4552, allocations: 11.81 kB / 0.53 GB, free: 12.49 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4552, allocations: 0 / 0.53 GB, free: 12.49 MB / 398.1 MB Notification: Performance of Templates: time 0.005817/0.461, allocations: 1.456 MB / 0.5314 GB, free: 11.77 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