Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001398/0.001398, allocations: 185 kB / 18.71 MB, free: 4.32 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.459/1.459, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2128/0.2128, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 71.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4512, allocations: 60.8 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002854/0.454, allocations: 1.595 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008543/0.4549, allocations: 406.4 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.455, allocations: 0.9375 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.4555, allocations: 72.98 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.4558, allocations: 71.42 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.4562, allocations: 80.89 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.4564, allocations: 78.53 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.4566, allocations: 13.69 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.4567, allocations: 38.17 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.4569, allocations: 57.55 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.4569, allocations: 2.875 kB / 0.5213 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.4571, allocations: 43.44 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.4572, allocations: 19.56 kB / 0.5213 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.4572, allocations: 25.86 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.4575, allocations: 99.75 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4575, allocations: 4 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4575, allocations: 1 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.4576, allocations: 0 / 0.5214 GB, free: 2.004 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.0006623/0.4582, allocations: 409.3 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.4583, allocations: 9.562 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.4584, allocations: 9.75 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.4586, allocations: 198.6 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4587, allocations: 1.812 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.4587, allocations: 5.812 kB / 0.5221 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.4589, allocations: 56.98 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.459, allocations: 5.359 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.459, allocations: 4 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.459, allocations: 1.375 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.4591, allocations: 29.09 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.4597, allocations: 289.4 kB / 0.5224 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.4598, allocations: 42.31 kB / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.4599, allocations: 19.31 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.4599, allocations: 1.609 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.46, allocations: 40.25 kB / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.46, allocations: 0 / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001159/0.4611, allocations: 217.9 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.4612, allocations: 56.81 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.4614, allocations: 209.8 kB / 0.523 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4614, allocations: 27.62 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.4615, allocations: 108.1 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.4616, allocations: 25.14 kB / 0.5231 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.4616, allocations: 21.69 kB / 0.5232 GB, free: 492 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4617, allocations: 325.4 kB / 0.5235 GB, free: 164 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/0.4618, allocations: 25.84 kB / 0.5235 GB, free: 156 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.137e-05/0.4619, allocations: 27.73 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.4621, allocations: 58.12 kB / 0.5236 GB, free: 124 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4621, allocations: 1.062 kB / 0.5236 GB, free: 124 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002313/0.4623, allocations: 105.2 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4624, allocations: 7.312 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4624, allocations: 5.984 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4624, allocations: 4 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.4625, allocations: 17.66 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4626, allocations: 7.875 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.4626, allocations: 5.219 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4626, allocations: 2.281 kB / 0.5237 GB, free: 48 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.0001588/0.4628, allocations: 127.3 kB / 0.5238 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.4628, allocations: 9.094 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.4632, allocations: 122.4 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4632, allocations: 1.188 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.4632, allocations: 3.938 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4632, allocations: 0.75 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.4638, allocations: 404.1 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4639, allocations: 1.875 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.393e-05/0.4639, allocations: 28.09 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.464, allocations: 2.031 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.464, allocations: 0.8906 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.464, allocations: 1.625 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.464, allocations: 1 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.4643, allocations: 194.7 kB / 0.5246 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.4643, allocations: 93.12 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.4644, allocations: 9.781 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.4645, allocations: 5.422 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.4645, allocations: 5.531 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.4645, allocations: 7.75 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.4647, allocations: 160 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4647, allocations: 3.938 kB / 0.5248 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.465, allocations: 17.55 kB / 0.5249 GB, free: 15.11 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.001215/0.4662, allocations: 457.3 kB / 0.5253 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.4665, allocations: 68.89 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4665, allocations: 4 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.4666, allocations: 30.31 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.467, allocations: 24.89 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.4676, allocations: 252.3 kB / 0.5257 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.4679, allocations: 0.7062 MB / 0.5264 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.468, allocations: 17.34 kB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.468, allocations: 14.78 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.468, allocations: 0 / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.00465/0.4727, allocations: 1.336 MB / 0.5277 GB, free: 13.59 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches