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.001409/0.001409, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001797/0.001798, allocations: 179.1 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.499/1.499, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2144/0.2144, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4368, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003882/0.4407, allocations: 2.795 MB / 0.5216 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.4424, allocations: 0.9501 MB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.4426, allocations: 9.469 kB / 0.5225 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.4428, allocations: 54.28 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.443, allocations: 101.7 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.4435, allocations: 140.7 kB / 0.5228 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.4439, allocations: 380.5 kB / 0.5232 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.4441, allocations: 94.19 kB / 0.5233 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.4443, allocations: 136.2 kB / 0.5234 GB, free: 476 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.4445, allocations: 156.4 kB / 0.5236 GB, free: 396 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.4446, allocations: 26.47 kB / 0.5236 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4447, allocations: 47.44 kB / 0.5236 GB, free: 388 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.4448, allocations: 64.17 kB / 0.5237 GB, free: 344 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.445, allocations: 167.1 kB / 0.5238 GB, free: 244 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005319/0.4455, allocations: 372.5 kB / 0.5242 GB, free: 100 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4455, allocations: 1.828 kB / 0.5242 GB, free: 100 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4455, allocations: 0 / 0.5242 GB, free: 100 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.4455, allocations: 0 / 0.5242 GB, free: 100 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.001129/0.4467, allocations: 0.6227 MB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4467, allocations: 9.844 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.447, allocations: 52.7 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004982/0.4475, allocations: 281 kB / 0.5251 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.4475, allocations: 25.12 kB / 0.5252 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/0.4477, allocations: 30 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.4485, allocations: 305.3 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.4485, allocations: 12 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.4485, allocations: 10.09 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.4486, allocations: 8.672 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.4491, allocations: 195.9 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.4515, allocations: 1.283 MB / 0.5269 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.4521, allocations: 337.3 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4523, allocations: 104.3 kB / 0.5274 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.4523, allocations: 4.125 kB / 0.5274 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.4523, allocations: 46.75 kB / 0.5274 GB, free: 13.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.555e-06/0.4523, allocations: 0 / 0.5274 GB, free: 13.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002699/0.455, allocations: 1.583 MB / 0.529 GB, free: 12.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4552, allocations: 168.3 kB / 0.5291 GB, free: 12.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.4554, allocations: 221.7 kB / 0.5293 GB, free: 11.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.4555, allocations: 31.23 kB / 0.5294 GB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.4556, allocations: 174 kB / 0.5295 GB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.4558, allocations: 155 kB / 0.5297 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.4559, allocations: 82.72 kB / 0.5298 GB, free: 11.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.4562, allocations: 337 kB / 0.5301 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.4564, allocations: 101.6 kB / 0.5302 GB, free: 11.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.4568, allocations: 239.6 kB / 0.5304 GB, free: 10.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.4575, allocations: 375.8 kB / 0.5308 GB, free: 10.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4575, allocations: 1.312 kB / 0.5308 GB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008541/0.4583, allocations: 408.3 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.4584, allocations: 6.938 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.4584, allocations: 13.27 kB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/0.4585, allocations: 11.91 kB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.4589, allocations: 117.9 kB / 0.5313 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/0.459, allocations: 8.438 kB / 0.5313 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.4592, allocations: 18.66 kB / 0.5313 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.4592, allocations: 20.69 kB / 0.5313 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.0002354/0.4595, allocations: 161.9 kB / 0.5315 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.4596, allocations: 27.53 kB / 0.5315 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.4599, allocations: 123.9 kB / 0.5316 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.46, allocations: 8.75 kB / 0.5317 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.46, allocations: 5.516 kB / 0.5317 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.46, allocations: 2.562 kB / 0.5317 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.4615, allocations: 1.029 MB / 0.5327 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4616, allocations: 2.906 kB / 0.5327 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.462, allocations: 96.61 kB / 0.5328 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.462, allocations: 4.75 kB / 0.5328 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.462, allocations: 18.84 kB / 0.5328 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.4621, allocations: 12.75 kB / 0.5328 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4621, allocations: 3.594 kB / 0.5328 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.463, allocations: 0.8248 MB / 0.5336 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.4631, allocations: 106.9 kB / 0.5337 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.4631, allocations: 10.78 kB / 0.5337 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.4634, allocations: 16.59 kB / 0.5337 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.4635, allocations: 38.23 kB / 0.5338 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.4635, allocations: 10.66 kB / 0.5338 GB, free: 8.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.4637, allocations: 161.5 kB / 0.5339 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4637, allocations: 0 / 0.5339 GB, free: 8.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.4642, allocations: 81.88 kB / 0.534 GB, free: 8.164 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.0001338/0.4644, allocations: 111.6 kB / 0.5341 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.4649, allocations: 283.6 kB / 0.5344 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4649, allocations: 3.938 kB / 0.5344 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.4651, allocations: 125.2 kB / 0.5345 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.4659, allocations: 84.78 kB / 0.5346 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.4679, allocations: 1.245 MB / 0.5358 GB, free: 6.848 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.4683, allocations: 0.785 MB / 0.5366 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000168/0.4685, allocations: 38.19 kB / 0.5366 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.4685, allocations: 31.42 kB / 0.5366 GB, free: 6.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4686, allocations: 0 / 0.5366 GB, free: 6.07 MB / 398.1 MB Notification: Performance of Templates: time 0.007511/0.4761, allocations: 3.258 MB / 0.5398 GB, free: 4.461 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