Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.001351, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001597/0.001597, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.438/1.438, 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.2207/0.2207, allocations: 44.2 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4107, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003665/0.4145, allocations: 2.793 MB / 0.5216 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.416, allocations: 0.9528 MB / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.4162, allocations: 10.06 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.4164, allocations: 54.48 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.4166, allocations: 96.69 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.4172, allocations: 149 kB / 0.5228 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.4177, allocations: 377.3 kB / 0.5232 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.418, allocations: 90.66 kB / 0.5233 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.4182, allocations: 137.3 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.4184, allocations: 148.4 kB / 0.5235 GB, free: 396 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.4185, allocations: 25.22 kB / 0.5236 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.4187, allocations: 47.38 kB / 0.5236 GB, free: 388 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.4188, allocations: 69.48 kB / 0.5237 GB, free: 340 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.419, allocations: 163.7 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.4196, allocations: 378.6 kB / 0.5242 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4196, allocations: 0 / 0.5242 GB, free: 92 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.4197, allocations: 2.375 kB / 0.5242 GB, free: 92 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.4197, allocations: 0 / 0.5242 GB, free: 92 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001164/0.4208, allocations: 0.63 MB / 0.5248 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4209, allocations: 9.281 kB / 0.5248 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.4212, allocations: 49.75 kB / 0.5249 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.4216, allocations: 284.6 kB / 0.5251 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4216, allocations: 25 kB / 0.5252 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4217, allocations: 32.8 kB / 0.5252 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.4222, allocations: 298.7 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.4223, allocations: 10.94 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.4223, allocations: 15.38 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4223, allocations: 7.5 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.4227, allocations: 200.1 kB / 0.5257 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.4247, allocations: 1.28 MB / 0.527 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.4253, allocations: 341.8 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.4255, allocations: 112.2 kB / 0.5274 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.4255, allocations: 4.125 kB / 0.5274 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.4256, allocations: 38.69 kB / 0.5274 GB, free: 13.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.744e-06/0.4256, allocations: 4 kB / 0.5274 GB, free: 13.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002503/0.4281, allocations: 1.584 MB / 0.529 GB, free: 12.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.4282, allocations: 163.2 kB / 0.5291 GB, free: 12.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.4284, allocations: 222 kB / 0.5293 GB, free: 11.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.4285, allocations: 35.02 kB / 0.5294 GB, free: 11.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.4286, allocations: 182.2 kB / 0.5296 GB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.4288, allocations: 161.3 kB / 0.5297 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.4289, allocations: 82.53 kB / 0.5298 GB, free: 11.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.429, allocations: 345.3 kB / 0.5301 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.4292, allocations: 91.8 kB / 0.5302 GB, free: 11.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.4295, allocations: 240.8 kB / 0.5304 GB, free: 10.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.43, allocations: 381.1 kB / 0.5308 GB, free: 10.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.43, allocations: 1.344 kB / 0.5308 GB, free: 10.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006173/0.4306, allocations: 413.4 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4306, allocations: 6.656 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4307, allocations: 4.656 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.4307, allocations: 7.031 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.4311, allocations: 122.5 kB / 0.5313 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.4311, allocations: 12.03 kB / 0.5313 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.4313, allocations: 23.45 kB / 0.5314 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.4313, allocations: 24.25 kB / 0.5314 GB, free: 10.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001709/0.4315, allocations: 157.7 kB / 0.5315 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.4316, allocations: 35.97 kB / 0.5316 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.4319, allocations: 120 kB / 0.5317 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.4319, allocations: 9.031 kB / 0.5317 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4319, allocations: 5.719 kB / 0.5317 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4319, allocations: 5.203 kB / 0.5317 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.4336, allocations: 1.027 MB / 0.5327 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.4336, allocations: 8.359 kB / 0.5327 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.4341, allocations: 95.55 kB / 0.5328 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.4341, allocations: 4.5 kB / 0.5328 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.4341, allocations: 15.62 kB / 0.5328 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.4341, allocations: 8.188 kB / 0.5328 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4341, allocations: 3.219 kB / 0.5328 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.435, allocations: 0.8357 MB / 0.5336 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.4351, allocations: 107.7 kB / 0.5338 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.4352, allocations: 13.94 kB / 0.5338 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.4355, allocations: 9.188 kB / 0.5338 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.4356, allocations: 37.17 kB / 0.5338 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.4356, allocations: 15.41 kB / 0.5338 GB, free: 8.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.4357, allocations: 153.4 kB / 0.534 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4357, allocations: 0 / 0.534 GB, free: 8.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000579/0.4363, allocations: 81.47 kB / 0.534 GB, free: 8.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (41): * Single equations (assignments): 41 * 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.0001636/0.4365, allocations: 116.1 kB / 0.5342 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.4371, allocations: 276.9 kB / 0.5344 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4371, allocations: 0 / 0.5344 GB, free: 7.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.4373, allocations: 138.2 kB / 0.5346 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009532/0.4383, allocations: 83.95 kB / 0.5346 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.4402, allocations: 1.256 MB / 0.5359 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4406, allocations: 0.7851 MB / 0.5366 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.4408, allocations: 37.81 kB / 0.5367 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.4409, allocations: 32.28 kB / 0.5367 GB, free: 6.035 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4409, allocations: 0 / 0.5367 GB, free: 6.035 MB / 398.1 MB Notification: Performance of Templates: time 0.008154/0.449, allocations: 3.202 MB / 0.5398 GB, free: 4.465 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches