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.001175/0.001175, allocations: 117.2 kB / 17.79 MB, free: 5.254 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.001056/0.001056, allocations: 185 kB / 18.72 MB, free: 4.332 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.21/0.21, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4323, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00384/0.4361, allocations: 2.793 MB / 0.5216 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.4378, allocations: 0.9491 MB / 0.5225 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.438, allocations: 12.34 kB / 0.5225 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.4382, allocations: 55.89 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.4384, allocations: 106.6 kB / 0.5227 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.439, allocations: 147.8 kB / 0.5228 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.4394, allocations: 373.4 kB / 0.5232 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.4396, allocations: 65.61 kB / 0.5233 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.4398, allocations: 139.7 kB / 0.5234 GB, free: 488 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.44, allocations: 156.6 kB / 0.5235 GB, free: 408 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.4401, allocations: 25.75 kB / 0.5236 GB, free: 408 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.4402, allocations: 48.81 kB / 0.5236 GB, free: 400 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.4403, allocations: 64.03 kB / 0.5237 GB, free: 356 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.4405, allocations: 166.9 kB / 0.5238 GB, free: 256 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.441, allocations: 376.1 kB / 0.5242 GB, free: 108 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.441, allocations: 0 / 0.5242 GB, free: 108 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.441, allocations: 0 / 0.5242 GB, free: 108 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.441, allocations: 1.688 kB / 0.5242 GB, free: 108 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.001061/0.4421, allocations: 0.6305 MB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4421, allocations: 10.5 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.4424, allocations: 47.92 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.4428, allocations: 289.2 kB / 0.5251 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.4428, allocations: 21.78 kB / 0.5252 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.4429, allocations: 32.77 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.4434, allocations: 296.5 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4434, allocations: 7.875 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.4434, allocations: 14.75 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.4435, allocations: 12.25 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.4438, allocations: 200.7 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.4459, allocations: 1.283 MB / 0.527 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.4465, allocations: 336.1 kB / 0.5273 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.4466, allocations: 95.33 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.4467, allocations: 12.41 kB / 0.5274 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4467, allocations: 41.19 kB / 0.5274 GB, free: 13.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 1.784e-06/0.4467, allocations: 1.406 kB / 0.5274 GB, free: 13.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002519/0.4492, allocations: 1.58 MB / 0.529 GB, free: 12.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.4493, allocations: 163.7 kB / 0.5291 GB, free: 12.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.4496, allocations: 228.8 kB / 0.5293 GB, free: 11.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.4496, allocations: 31.23 kB / 0.5294 GB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.4497, allocations: 179.5 kB / 0.5295 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.4498, allocations: 160 kB / 0.5297 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.45, allocations: 86.41 kB / 0.5298 GB, free: 11.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4501, allocations: 341.8 kB / 0.5301 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.4503, allocations: 95.3 kB / 0.5302 GB, free: 11.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.4507, allocations: 240.9 kB / 0.5304 GB, free: 10.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.4512, allocations: 379.7 kB / 0.5308 GB, free: 10.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.4512, allocations: 5.594 kB / 0.5308 GB, free: 10.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00069/0.4519, allocations: 404.2 kB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4519, allocations: 6.812 kB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4519, allocations: 4.719 kB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.4519, allocations: 7.938 kB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.4523, allocations: 123.3 kB / 0.5313 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.4523, allocations: 10.91 kB / 0.5313 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.4525, allocations: 19.33 kB / 0.5313 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.4525, allocations: 20.84 kB / 0.5314 GB, free: 10.32 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.0001628/0.4527, allocations: 157.8 kB / 0.5315 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.4529, allocations: 36.16 kB / 0.5315 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.4532, allocations: 115.5 kB / 0.5316 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.4532, allocations: 13.83 kB / 0.5317 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.4532, allocations: 1.125 kB / 0.5317 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.4532, allocations: 10.02 kB / 0.5317 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.4549, allocations: 1.03 MB / 0.5327 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.4549, allocations: 2.188 kB / 0.5327 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.4553, allocations: 96.89 kB / 0.5328 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.4553, allocations: 5.344 kB / 0.5328 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.4553, allocations: 18.16 kB / 0.5328 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.4553, allocations: 8.219 kB / 0.5328 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4553, allocations: 4.438 kB / 0.5328 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.4561, allocations: 0.8406 MB / 0.5336 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.4562, allocations: 104.3 kB / 0.5337 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.4563, allocations: 13.81 kB / 0.5337 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.4566, allocations: 8.281 kB / 0.5338 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.4566, allocations: 42.08 kB / 0.5338 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.4567, allocations: 15.28 kB / 0.5338 GB, free: 8.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.4568, allocations: 152.5 kB / 0.534 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4568, allocations: 0 / 0.534 GB, free: 8.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005541/0.4574, allocations: 85.86 kB / 0.534 GB, free: 8.148 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.0001239/0.4575, allocations: 107.9 kB / 0.5341 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005779/0.4581, allocations: 273.7 kB / 0.5344 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4581, allocations: 1.156 kB / 0.5344 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.4583, allocations: 126.7 kB / 0.5345 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.4591, allocations: 70.7 kB / 0.5346 GB, free: 7.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.4612, allocations: 1.268 MB / 0.5358 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.4616, allocations: 0.7855 MB / 0.5366 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.4618, allocations: 33.94 kB / 0.5366 GB, free: 6.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.4619, allocations: 28.28 kB / 0.5367 GB, free: 6.051 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4619, allocations: 0 / 0.5367 GB, free: 6.051 MB / 398.1 MB Notification: Performance of Templates: time 0.00759/0.4695, allocations: 3.228 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