Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 107.1 kB / 17.77 MB, free: 5.27 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.001135/0.001135, allocations: 184.8 kB / 18.71 MB, free: 4.348 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.508/1.508, 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.2354/0.2354, allocations: 44.17 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4537, allocations: 60.83 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.004172/0.4579, allocations: 1.579 MB / 0.5205 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.4588, allocations: 407.1 kB / 0.5209 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.459, allocations: 4 kB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.4594, allocations: 105.9 kB / 0.521 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.4598, allocations: 77.84 kB / 0.521 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.4602, allocations: 88.89 kB / 0.5211 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.4604, allocations: 79.66 kB / 0.5212 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.4606, allocations: 18.94 kB / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.4607, allocations: 43 kB / 0.5213 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.4608, allocations: 64.45 kB / 0.5213 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.4609, allocations: 2.312 kB / 0.5213 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.461, allocations: 43.23 kB / 0.5214 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.4611, allocations: 22.05 kB / 0.5214 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.4612, allocations: 35.39 kB / 0.5214 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.4614, allocations: 112.1 kB / 0.5215 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.4615, allocations: 0.6094 kB / 0.5215 GB, free: 2.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4615, allocations: 4 kB / 0.5215 GB, free: 2.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.4615, allocations: 1.062 kB / 0.5215 GB, free: 2.008 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.0005442/0.462, allocations: 416.8 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.4621, allocations: 11.05 kB / 0.5219 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.4622, allocations: 10.25 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.4624, allocations: 202.7 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4624, allocations: 5.75 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.4624, allocations: 2.938 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4626, allocations: 68.16 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.4626, allocations: 5.156 kB / 0.5222 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4626, allocations: 4 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.4627, allocations: 2.109 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.4628, allocations: 27.62 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.4632, allocations: 298.1 kB / 0.5225 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.4633, allocations: 51.64 kB / 0.5226 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.4634, allocations: 21.44 kB / 0.5226 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4634, allocations: 1.875 kB / 0.5226 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4635, allocations: 32.45 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.4635, allocations: 0 / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001004/0.4645, allocations: 219.9 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.4645, allocations: 52.66 kB / 0.5229 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.4648, allocations: 239.8 kB / 0.5231 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4648, allocations: 30.45 kB / 0.5232 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.4649, allocations: 111 kB / 0.5233 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.4649, allocations: 32.86 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.465, allocations: 24.22 kB / 0.5233 GB, free: 452 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.4651, allocations: 323.7 kB / 0.5236 GB, free: 128 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.69e-05/0.4652, allocations: 33.17 kB / 0.5237 GB, free: 112 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.4653, allocations: 24.81 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.4654, allocations: 57.44 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4654, allocations: 2.141 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002349/0.4657, allocations: 100.4 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4657, allocations: 6.531 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4657, allocations: 0 / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4657, allocations: 1.312 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4658, allocations: 20.75 kB / 0.5239 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4659, allocations: 4.766 kB / 0.5239 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.4659, allocations: 5.078 kB / 0.5239 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.4659, allocations: 2.156 kB / 0.5239 GB, free: 20 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 (8): * Single equations (assignments): 8 * 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.00014/0.4661, allocations: 134.7 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.4661, allocations: 13.98 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.4664, allocations: 120.2 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4665, allocations: 2.422 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4665, allocations: 3.938 kB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4665, allocations: 0.5156 kB / 0.5241 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.4671, allocations: 407.6 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4671, allocations: 5.812 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.4672, allocations: 20.38 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4672, allocations: 1.188 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4672, allocations: 6.141 kB / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4672, allocations: 1.344 kB / 0.5246 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4672, allocations: 4.641 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.4675, allocations: 215.3 kB / 0.5248 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.4676, allocations: 93.38 kB / 0.5249 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.4676, allocations: 2.359 kB / 0.5249 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.4677, allocations: 8.172 kB / 0.5249 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.4677, allocations: 9.438 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.4677, allocations: 4.188 kB / 0.5249 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.4679, allocations: 187.5 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4679, allocations: 0 / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.4682, allocations: 19.55 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001103/0.4693, allocations: 453.4 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.4696, allocations: 71.81 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4696, allocations: 0 / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.4697, allocations: 30.78 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.4701, allocations: 23.61 kB / 0.5256 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.4706, allocations: 276.5 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.4711, allocations: 0.7165 MB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.219e-05/0.4712, allocations: 12.88 kB / 0.5266 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.4712, allocations: 14 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4712, allocations: 0 / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of Templates: time 0.00486/0.4761, allocations: 1.352 MB / 0.5279 GB, free: 13.47 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches