Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 101.5 kB / 17.77 MB, free: 5.277 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.001376/0.001376, allocations: 188 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.488/1.488, 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.2294/0.2294, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 55.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4435, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.003171/0.4467, allocations: 1.584 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008191/0.4476, allocations: 406.4 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.4477, allocations: 1.156 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003537/0.448, allocations: 72.34 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.4483, allocations: 63.64 kB / 0.521 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.4487, allocations: 93.48 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.4489, allocations: 68.91 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.449, allocations: 22.19 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.4491, allocations: 33.73 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.4492, allocations: 58.59 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.4493, allocations: 2.406 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.4494, allocations: 40 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.4495, allocations: 22.72 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.4495, allocations: 26.19 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.4497, allocations: 103.6 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4498, allocations: 0.75 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4498, allocations: 0 / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4498, allocations: 0.8438 kB / 0.5214 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.000509/0.4503, allocations: 413.2 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4503, allocations: 8.688 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.4504, allocations: 11.14 kB / 0.5219 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.4506, allocations: 192.7 kB / 0.522 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.4506, allocations: 2.094 kB / 0.522 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.4506, allocations: 6.688 kB / 0.522 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.4507, allocations: 60.36 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4508, allocations: 0.75 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4508, allocations: 1.156 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4508, allocations: 1 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.4509, allocations: 24.64 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.4512, allocations: 293.6 kB / 0.5224 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.4513, allocations: 50.95 kB / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.4514, allocations: 19.14 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.4514, allocations: 1.094 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.4515, allocations: 32.2 kB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4515, allocations: 0 / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008464/0.4523, allocations: 227.9 kB / 0.5227 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.4523, allocations: 52.41 kB / 0.5228 GB, free: 0.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.4525, allocations: 206.5 kB / 0.523 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.4525, allocations: 33.64 kB / 0.523 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.4526, allocations: 108.6 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4526, allocations: 29.66 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.4527, allocations: 20.84 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.4527, allocations: 321.6 kB / 0.5235 GB, free: 164 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.4528, allocations: 23.28 kB / 0.5235 GB, free: 160 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.4529, allocations: 29.67 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.453, allocations: 63.36 kB / 0.5236 GB, free: 120 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.453, allocations: 4.656 kB / 0.5236 GB, free: 116 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001991/0.4532, allocations: 106 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4532, allocations: 7.188 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4533, allocations: 0 / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4533, allocations: 2.188 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.594e-05/0.4534, allocations: 16.11 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4534, allocations: 9.312 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.4534, allocations: 5.203 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4534, allocations: 5.375 kB / 0.5237 GB, free: 44 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.0001106/0.4536, allocations: 127.1 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.4536, allocations: 10.41 kB / 0.5239 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.4539, allocations: 110 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4539, allocations: 0 / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4539, allocations: 5.656 kB / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4539, allocations: 0 / 0.524 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.4545, allocations: 412 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4545, allocations: 1.062 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.4546, allocations: 25.14 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4546, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.4546, allocations: 7.109 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4546, allocations: 0 / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.4546, allocations: 1.891 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.4549, allocations: 203.2 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.455, allocations: 87.75 kB / 0.5247 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.455, allocations: 7.016 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.4551, allocations: 12.92 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.4551, allocations: 6.578 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.4551, allocations: 6.094 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.4553, allocations: 158.7 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4553, allocations: 0 / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.4555, allocations: 19.42 kB / 0.5249 GB, free: 15.1 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.001004/0.4565, allocations: 449.7 kB / 0.5253 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.4568, allocations: 68.58 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4568, allocations: 0 / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.4569, allocations: 34.66 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.0003589/0.4573, allocations: 22.64 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.0004655/0.4577, allocations: 255.4 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.4581, allocations: 0.7121 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.04e-05/0.4581, allocations: 13.53 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.4582, allocations: 12.22 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4582, allocations: 4 kB / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Templates: time 0.004528/0.4627, allocations: 1.334 MB / 0.5277 GB, free: 13.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches