Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001392, 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.001603/0.001603, allocations: 183.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.509/1.509, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.213/0.213, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4273, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.00272/0.4301, allocations: 1.653 MB / 0.5205 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000695/0.4308, allocations: 442.9 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.4309, allocations: 1.25 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.4311, allocations: 54.19 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.4313, allocations: 52.2 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.4317, allocations: 175.1 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.4318, allocations: 78.73 kB / 0.5213 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.4319, allocations: 28.52 kB / 0.5213 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.974e-05/0.432, allocations: 35.94 kB / 0.5214 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.834e-05/0.4321, allocations: 46.62 kB / 0.5214 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.4321, allocations: 3.812 kB / 0.5214 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.487e-05/0.4322, allocations: 51.41 kB / 0.5215 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.4323, allocations: 20.05 kB / 0.5215 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.4323, allocations: 27.42 kB / 0.5215 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.4325, allocations: 107 kB / 0.5216 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4325, allocations: 3.938 kB / 0.5216 GB, free: 1.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4325, allocations: 4 kB / 0.5216 GB, free: 1.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.4325, allocations: 1.125 kB / 0.5216 GB, free: 1.871 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.0003796/0.4329, allocations: 399.6 kB / 0.522 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.4329, allocations: 10 kB / 0.522 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.433, allocations: 8.625 kB / 0.522 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.4331, allocations: 193.5 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4331, allocations: 6.531 kB / 0.5222 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.4332, allocations: 3.344 kB / 0.5222 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.4333, allocations: 78.84 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4334, allocations: 1.062 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4334, allocations: 4 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4334, allocations: 2.344 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.4335, allocations: 37.72 kB / 0.5223 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.4339, allocations: 321.2 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.4341, allocations: 63.7 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.4342, allocations: 26.34 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.4342, allocations: 1.344 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.4342, allocations: 32.55 kB / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.4342, allocations: 0 / 0.5228 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001368/0.4356, allocations: 416.7 kB / 0.5232 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.4356, allocations: 57.53 kB / 0.5232 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4358, allocations: 173.1 kB / 0.5234 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.4358, allocations: 25.7 kB / 0.5234 GB, free: 476 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.4358, allocations: 104.7 kB / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.4359, allocations: 38.83 kB / 0.5235 GB, free: 344 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.4359, allocations: 23.16 kB / 0.5236 GB, free: 324 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.436, allocations: 321.8 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.4361, allocations: 55.73 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.4363, allocations: 56.05 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.4365, allocations: 125.8 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4365, allocations: 1.312 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003212/0.4369, allocations: 169.5 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4369, allocations: 4.688 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4369, allocations: 8.484 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.4369, allocations: 1.344 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.437, allocations: 29.95 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4371, allocations: 0 / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/0.4371, allocations: 9.766 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.4371, allocations: 2.156 kB / 0.5243 GB, free: 15.83 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.0001184/0.4372, allocations: 133.8 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.4373, allocations: 6.688 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.4377, allocations: 202 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4377, allocations: 1.156 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4377, allocations: 1.219 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4377, allocations: 1.719 kB / 0.5246 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.4384, allocations: 499.9 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4385, allocations: 1.891 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.4386, allocations: 28.62 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4386, allocations: 5.062 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.4386, allocations: 7.047 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4386, allocations: 0.9688 kB / 0.5252 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4386, allocations: 5.062 kB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.439, allocations: 267.3 kB / 0.5254 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.4391, allocations: 84.12 kB / 0.5255 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4391, allocations: 3.281 kB / 0.5255 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.4392, allocations: 13.47 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.4392, allocations: 12 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4393, allocations: 7.734 kB / 0.5255 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.4394, allocations: 134.1 kB / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.625e-06/0.4394, allocations: 0 / 0.5257 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.4397, allocations: 38 kB / 0.5257 GB, free: 14.79 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.0009678/0.4406, allocations: 459.4 kB / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.441, allocations: 127.4 kB / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.441, allocations: 0 / 0.5263 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.4412, allocations: 75.2 kB / 0.5263 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.4415, allocations: 14.59 kB / 0.5263 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.4421, allocations: 279.3 kB / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.4424, allocations: 0.7169 MB / 0.5273 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.365e-05/0.4425, allocations: 33.25 kB / 0.5273 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.4426, allocations: 16.44 kB / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4426, allocations: 3.938 kB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of Templates: time 0.004313/0.4469, allocations: 1.636 MB / 0.529 GB, free: 12.89 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches