Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 110.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.001419/0.001419, allocations: 187.9 kB / 18.71 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.448/1.448, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2346/0.2346, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 71.88 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4061, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.002987/0.4091, allocations: 1.646 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007475/0.4099, allocations: 426.2 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.4099, allocations: 0 / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.4102, allocations: 52.81 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.4104, allocations: 55.73 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.4108, allocations: 137.2 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.4109, allocations: 70.08 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.4111, allocations: 23.97 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.773e-05/0.4111, allocations: 34.41 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.601e-05/0.4112, allocations: 46.36 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.4112, allocations: 3.906 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.4113, allocations: 51.27 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.4114, allocations: 16.25 kB / 0.5214 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.4115, allocations: 30.66 kB / 0.5214 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.4116, allocations: 104.9 kB / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4117, allocations: 0 / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.4117, allocations: 1.812 kB / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4117, allocations: 0 / 0.5215 GB, free: 1.941 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.0004227/0.4121, allocations: 408.3 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.4121, allocations: 10.7 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.4122, allocations: 12.16 kB / 0.522 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.4124, allocations: 195.5 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4124, allocations: 5.719 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.4124, allocations: 7.188 kB / 0.5222 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.4126, allocations: 64.28 kB / 0.5222 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4126, allocations: 3.938 kB / 0.5222 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4126, allocations: 5.531 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4126, allocations: 1.375 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.4128, allocations: 39.44 kB / 0.5223 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.4131, allocations: 297.8 kB / 0.5225 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.4133, allocations: 61.97 kB / 0.5226 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.4134, allocations: 24.72 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4134, allocations: 0.75 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.4134, allocations: 31.66 kB / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.4134, allocations: 5.094 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001288/0.4147, allocations: 387 kB / 0.523 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.4148, allocations: 55.34 kB / 0.5231 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4149, allocations: 180.1 kB / 0.5233 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.4149, allocations: 25.7 kB / 0.5233 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.415, allocations: 99.92 kB / 0.5234 GB, free: 444 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.415, allocations: 38.34 kB / 0.5234 GB, free: 412 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.4151, allocations: 27.16 kB / 0.5234 GB, free: 388 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.4151, allocations: 326.1 kB / 0.5238 GB, free: 60 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.4153, allocations: 43.08 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.4154, allocations: 44.64 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.4156, allocations: 97.92 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.4156, allocations: 4.047 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002937/0.4159, allocations: 143.5 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4159, allocations: 4.156 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.416, allocations: 5.922 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.416, allocations: 3.938 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4161, allocations: 24.92 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4161, allocations: 2.188 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.4162, allocations: 19.36 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4162, allocations: 3.719 kB / 0.5241 GB, free: 15.91 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.000109/0.4163, allocations: 120.9 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.4163, allocations: 17.25 kB / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.4167, allocations: 164.9 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4167, allocations: 1.125 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4167, allocations: 4 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4167, allocations: 0.75 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/0.4174, allocations: 462.2 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4174, allocations: 0 / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.4175, allocations: 30.08 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.4175, allocations: 2.812 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4175, allocations: 13.69 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.4175, allocations: 0.75 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4175, allocations: 2.812 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.4179, allocations: 251.7 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.4179, allocations: 88.31 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.4179, allocations: 10.03 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.418, allocations: 10.34 kB / 0.5253 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.4181, allocations: 12.88 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.4181, allocations: 6.688 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.4182, allocations: 135.4 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4182, allocations: 5.375 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.4185, allocations: 26.38 kB / 0.5254 GB, free: 14.9 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.000989/0.4195, allocations: 466.6 kB / 0.5259 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.4198, allocations: 102 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4198, allocations: 1.094 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.42, allocations: 58.91 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.4203, allocations: 23.75 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.4208, allocations: 260.9 kB / 0.5263 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.4211, allocations: 0.7077 MB / 0.527 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.4212, allocations: 19.59 kB / 0.527 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.4212, allocations: 18 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4212, allocations: 1.125 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.00412/0.4254, allocations: 1.551 MB / 0.5286 GB, free: 13.12 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches