Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 117.2 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.001578/0.001578, allocations: 184.2 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.468/1.468, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2636/0.2636, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4511, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002846/0.454, allocations: 1.586 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007707/0.4548, allocations: 427 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.4549, allocations: 0.9375 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.4557, allocations: 450.2 kB / 0.5213 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.4562, allocations: 257.2 kB / 0.5215 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.4566, allocations: 168.8 kB / 0.5217 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.4569, allocations: 163.9 kB / 0.5219 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.4571, allocations: 12.16 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.4573, allocations: 110.6 kB / 0.522 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.4575, allocations: 201.8 kB / 0.5222 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.4576, allocations: 10.09 kB / 0.5222 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.4577, allocations: 23.98 kB / 0.5222 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.4578, allocations: 78.55 kB / 0.5223 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.4579, allocations: 103.3 kB / 0.5224 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.4582, allocations: 246.3 kB / 0.5226 GB, free: 1.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4582, allocations: 0 / 0.5226 GB, free: 1.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4582, allocations: 1.125 kB / 0.5226 GB, free: 1.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.4582, allocations: 0 / 0.5226 GB, free: 1.793 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006671/0.4589, allocations: 0.6184 MB / 0.5232 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4589, allocations: 12.78 kB / 0.5232 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.459, allocations: 42.69 kB / 0.5233 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.4593, allocations: 285.6 kB / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.4593, allocations: 6.344 kB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.4593, allocations: 6.469 kB / 0.5236 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4595, allocations: 50.27 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4595, allocations: 0 / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4595, allocations: 0 / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4595, allocations: 1.75 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.4596, allocations: 34.59 kB / 0.5236 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.4601, allocations: 383.9 kB / 0.524 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.4602, allocations: 36.28 kB / 0.524 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.4603, allocations: 17.47 kB / 0.5241 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.4603, allocations: 1.344 kB / 0.5241 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.4603, allocations: 39.12 kB / 0.5241 GB, free: 492 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4603, allocations: 1.125 kB / 0.5241 GB, free: 492 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002682/0.4606, allocations: 93.7 kB / 0.5242 GB, free: 436 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.4606, allocations: 57.95 kB / 0.5242 GB, free: 368 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000865/0.4615, allocations: 0.8634 MB / 0.5251 GB, free: 36 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.4615, allocations: 25.7 kB / 0.5251 GB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4617, allocations: 223.2 kB / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.4617, allocations: 8.547 kB / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.4618, allocations: 17.27 kB / 0.5253 GB, free: 15.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.462, allocations: 361.5 kB / 0.5257 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.462, allocations: 7.844 kB / 0.5257 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.4621, allocations: 16.88 kB / 0.5257 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.4621, allocations: 25.78 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4622, allocations: 4.062 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001664/0.4623, allocations: 90.91 kB / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4624, allocations: 5.062 kB / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4624, allocations: 0 / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4624, allocations: 1.344 kB / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/0.4625, allocations: 7.828 kB / 0.5258 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4625, allocations: 0 / 0.5258 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.4625, allocations: 2.656 kB / 0.5258 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4625, allocations: 1.25 kB / 0.5258 GB, free: 15.37 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 (2): * Single equations (assignments): 2 * 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.0002017/0.4627, allocations: 221.1 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.4628, allocations: 44.91 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.463, allocations: 105.3 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.463, allocations: 0 / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4631, allocations: 1.531 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4631, allocations: 0 / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.4634, allocations: 287.2 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4634, allocations: 3.938 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.4634, allocations: 8.031 kB / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4635, allocations: 7.922 kB / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4635, allocations: 1.281 kB / 0.5265 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4635, allocations: 3.984 kB / 0.5265 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4635, allocations: 0 / 0.5265 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.4637, allocations: 189.2 kB / 0.5267 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.4638, allocations: 106.3 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.4638, allocations: 5.406 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.4639, allocations: 5.391 kB / 0.5268 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.4639, allocations: 1.375 kB / 0.5268 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.4639, allocations: 0 / 0.5268 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006236/0.4646, allocations: 0.6479 MB / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4646, allocations: 0 / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.4648, allocations: 18.27 kB / 0.5274 GB, free: 14.23 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 (2): * Single equations (assignments): 2 * 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.0008273/0.4657, allocations: 352.9 kB / 0.5278 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.4658, allocations: 22.89 kB / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4658, allocations: 0 / 0.5278 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.4659, allocations: 20.2 kB / 0.5278 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.4662, allocations: 25.02 kB / 0.5278 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.4674, allocations: 0.763 MB / 0.5286 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.4678, allocations: 0.8265 MB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.4679, allocations: 9.516 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.4679, allocations: 14.66 kB / 0.5294 GB, free: 12.82 MB / 398.1 MB Notification: Performance of SimCode: time 1.503e-06/0.4679, allocations: 1.094 kB / 0.5294 GB, free: 12.82 MB / 398.1 MB Notification: Performance of Templates: time 0.004806/0.4727, allocations: 1.285 MB / 0.5307 GB, free: 12.18 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches