Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 113.8 kB / 17.78 MB, free: 5.246 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.001769/0.00177, allocations: 183.1 kB / 18.71 MB, free: 4.324 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.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2286/0.2286, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4296, allocations: 60.82 MB / 0.5189 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003632/0.4333, allocations: 1.643 MB / 0.5205 GB, free: 2.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007136/0.434, allocations: 428 kB / 0.5209 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.4341, allocations: 1.188 kB / 0.5209 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.4343, allocations: 66.06 kB / 0.521 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.4346, allocations: 71.59 kB / 0.5211 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.4349, allocations: 140.1 kB / 0.5212 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.4351, allocations: 76.75 kB / 0.5213 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4352, allocations: 14.95 kB / 0.5213 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.4353, allocations: 39.66 kB / 0.5213 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.4354, allocations: 48.25 kB / 0.5214 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.4354, allocations: 11.53 kB / 0.5214 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.4356, allocations: 55.19 kB / 0.5214 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.4357, allocations: 26.12 kB / 0.5215 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.4357, allocations: 27.7 kB / 0.5215 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.4359, allocations: 107.6 kB / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4359, allocations: 1.094 kB / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.436, allocations: 0 / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.436, allocations: 0 / 0.5216 GB, free: 2.176 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.0004945/0.4365, allocations: 419.2 kB / 0.522 GB, free: 1.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4365, allocations: 18.22 kB / 0.522 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.4366, allocations: 9.469 kB / 0.522 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.4367, allocations: 198.5 kB / 0.5222 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4368, allocations: 1.688 kB / 0.5222 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.4368, allocations: 10.38 kB / 0.5222 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.437, allocations: 64.8 kB / 0.5223 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.437, allocations: 0 / 0.5223 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.437, allocations: 6.062 kB / 0.5223 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.437, allocations: 0 / 0.5223 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.4372, allocations: 43.3 kB / 0.5223 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.4375, allocations: 296.9 kB / 0.5226 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.4378, allocations: 57.52 kB / 0.5227 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.4379, allocations: 28.78 kB / 0.5227 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4379, allocations: 6.125 kB / 0.5227 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.4379, allocations: 31.08 kB / 0.5227 GB, free: 1.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.522e-06/0.4379, allocations: 1.094 kB / 0.5227 GB, free: 1.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001456/0.4394, allocations: 385.8 kB / 0.5231 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.4394, allocations: 66.59 kB / 0.5232 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.4397, allocations: 204 kB / 0.5234 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.4397, allocations: 27.52 kB / 0.5234 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.4397, allocations: 107.8 kB / 0.5235 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.4398, allocations: 35.06 kB / 0.5235 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.4398, allocations: 26.78 kB / 0.5235 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.4399, allocations: 322.5 kB / 0.5239 GB, free: 276 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.4401, allocations: 47.3 kB / 0.5239 GB, free: 260 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.4402, allocations: 40.98 kB / 0.5239 GB, free: 252 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.4405, allocations: 101.5 kB / 0.524 GB, free: 212 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4405, allocations: 0 / 0.524 GB, free: 212 kB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003054/0.4408, allocations: 142.6 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.4408, allocations: 5.844 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4408, allocations: 3.938 kB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4408, allocations: 0.7031 kB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.441, allocations: 29.61 kB / 0.5242 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.441, allocations: 0.5156 kB / 0.5242 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.4411, allocations: 14.03 kB / 0.5242 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.4411, allocations: 2 kB / 0.5242 GB, free: 132 kB / 382.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.0001093/0.4412, allocations: 136.7 kB / 0.5244 GB, free: 0 / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.4412, allocations: 9.906 kB / 0.5244 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004127/0.4417, allocations: 164.4 kB / 0.5245 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4417, allocations: 5.062 kB / 0.5245 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4417, allocations: 1.719 kB / 0.5245 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4417, allocations: 0.5625 kB / 0.5245 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007497/0.4425, allocations: 471.2 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4425, allocations: 1.156 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.4426, allocations: 26.44 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4426, allocations: 1.406 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.4426, allocations: 2.609 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4426, allocations: 5.375 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4426, allocations: 1.281 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.443, allocations: 261.8 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.4431, allocations: 89.38 kB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4431, allocations: 2 kB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.4432, allocations: 13.5 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.4433, allocations: 7.984 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.4433, allocations: 7.781 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.4435, allocations: 154.8 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4435, allocations: 0 / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.4438, allocations: 23.41 kB / 0.5256 GB, free: 15.12 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.001159/0.445, allocations: 473.7 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003709/0.4454, allocations: 110.4 kB / 0.5261 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4454, allocations: 5.312 kB / 0.5261 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.4455, allocations: 59.69 kB / 0.5262 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.446, allocations: 22.69 kB / 0.5262 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.4465, allocations: 283.1 kB / 0.5265 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4469, allocations: 0.7167 MB / 0.5272 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.881e-05/0.4469, allocations: 13.78 kB / 0.5272 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.447, allocations: 18.92 kB / 0.5272 GB, free: 13.92 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.447, allocations: 1.375 kB / 0.5272 GB, free: 13.92 MB / 398.1 MB Notification: Performance of Templates: time 0.005246/0.4522, allocations: 1.549 MB / 0.5287 GB, free: 13.26 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches