Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 180 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008127/0.0008127, allocations: 90.44 kB / 295 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3306/0.3306, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3668, allocations: 61.91 MB / 0.5127 GB, free: 38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003045/0.3699, allocations: 2.367 MB / 0.515 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3718, allocations: 1.056 MB / 0.5161 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.3721, allocations: 5.812 kB / 0.5161 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.3723, allocations: 42.53 kB / 0.5161 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.3725, allocations: 84.31 kB / 0.5162 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.3729, allocations: 129.7 kB / 0.5163 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.3733, allocations: 366.2 kB / 0.5167 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3734, allocations: 71.89 kB / 0.5167 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.3736, allocations: 122.6 kB / 0.5169 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.3737, allocations: 142.4 kB / 0.517 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.3738, allocations: 14.19 kB / 0.517 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3739, allocations: 34.58 kB / 0.517 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.3739, allocations: 52.14 kB / 0.5171 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.3741, allocations: 176.3 kB / 0.5173 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.3745, allocations: 347.3 kB / 0.5176 GB, free: 34.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3745, allocations: 1.031 kB / 0.5176 GB, free: 34.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3745, allocations: 0 / 0.5176 GB, free: 34.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3745, allocations: 0 / 0.5176 GB, free: 34.72 MB / 378.7 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.0008163/0.3753, allocations: 0.5681 MB / 0.5181 GB, free: 34.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.3754, allocations: 12.72 kB / 0.5182 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.3756, allocations: 57.16 kB / 0.5182 GB, free: 34.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.3758, allocations: 273.1 kB / 0.5185 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3758, allocations: 20.84 kB / 0.5185 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.3759, allocations: 36.98 kB / 0.5185 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.3764, allocations: 293.3 kB / 0.5188 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.3764, allocations: 8.453 kB / 0.5188 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3764, allocations: 10.28 kB / 0.5188 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.3765, allocations: 7.844 kB / 0.5188 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.3768, allocations: 199.7 kB / 0.519 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.3783, allocations: 1.297 MB / 0.5203 GB, free: 32.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.3787, allocations: 334.5 kB / 0.5206 GB, free: 32.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3789, allocations: 109.8 kB / 0.5207 GB, free: 32.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3789, allocations: 6.656 kB / 0.5207 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.3789, allocations: 37.56 kB / 0.5208 GB, free: 32.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.3789, allocations: 0 / 0.5208 GB, free: 32.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001982/0.3809, allocations: 1.572 MB / 0.5223 GB, free: 31.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.381, allocations: 167.3 kB / 0.5225 GB, free: 30.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3811, allocations: 222.5 kB / 0.5227 GB, free: 30.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3812, allocations: 36.48 kB / 0.5227 GB, free: 30.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.3812, allocations: 173.6 kB / 0.5229 GB, free: 30.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.3813, allocations: 155.9 kB / 0.523 GB, free: 30.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.3813, allocations: 8 kB / 0.523 GB, free: 30.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.3814, allocations: 339.8 kB / 0.5233 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3816, allocations: 95.09 kB / 0.5234 GB, free: 30.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3818, allocations: 241 kB / 0.5237 GB, free: 29.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.3821, allocations: 374.3 kB / 0.524 GB, free: 29.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3821, allocations: 0 / 0.524 GB, free: 29.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004943/0.3826, allocations: 407.1 kB / 0.5244 GB, free: 29.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3827, allocations: 9.094 kB / 0.5244 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3827, allocations: 3.031 kB / 0.5244 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.3827, allocations: 8.75 kB / 0.5244 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.3831, allocations: 118.4 kB / 0.5245 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.3831, allocations: 16.38 kB / 0.5246 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3833, allocations: 20.41 kB / 0.5246 GB, free: 29.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3833, allocations: 20.25 kB / 0.5246 GB, free: 29.28 MB / 378.7 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.0001185/0.3834, allocations: 163.3 kB / 0.5248 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3835, allocations: 30.41 kB / 0.5248 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.3837, allocations: 118.3 kB / 0.5249 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3837, allocations: 6.938 kB / 0.5249 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3837, allocations: 2.844 kB / 0.5249 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3837, allocations: 6.875 kB / 0.5249 GB, free: 29.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3849, allocations: 1.035 MB / 0.5259 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3849, allocations: 2.969 kB / 0.5259 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.3853, allocations: 98.91 kB / 0.526 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.3853, allocations: 5.719 kB / 0.526 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.3853, allocations: 13.62 kB / 0.526 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.3853, allocations: 5.812 kB / 0.526 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3854, allocations: 6.391 kB / 0.5261 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.3859, allocations: 0.8273 MB / 0.5269 GB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.386, allocations: 109.3 kB / 0.527 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.386, allocations: 17.14 kB / 0.527 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3863, allocations: 9.844 kB / 0.527 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.3864, allocations: 29.2 kB / 0.527 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3864, allocations: 23.12 kB / 0.527 GB, free: 27.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.496e-05/0.3865, allocations: 152.5 kB / 0.5272 GB, free: 27.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3865, allocations: 3.938 kB / 0.5272 GB, free: 27.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00047/0.387, allocations: 80.31 kB / 0.5273 GB, free: 27.31 MB / 378.7 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 9.86e-05/0.3871, allocations: 119.7 kB / 0.5274 GB, free: 27.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.3875, allocations: 282.3 kB / 0.5276 GB, free: 27.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3875, allocations: 0 / 0.5276 GB, free: 27.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.3876, allocations: 127.3 kB / 0.5278 GB, free: 27.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008485/0.3885, allocations: 66.67 kB / 0.5278 GB, free: 27.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3901, allocations: 1.552 MB / 0.5293 GB, free: 25.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.3903, allocations: 0.7861 MB / 0.5301 GB, free: 25.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.3905, allocations: 42.09 kB / 0.5302 GB, free: 25.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.3906, allocations: 32.12 kB / 0.5302 GB, free: 25.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3906, allocations: 0 / 0.5302 GB, free: 25.18 MB / 378.7 MB Notification: Performance of Templates: time 0.005625/0.3962, allocations: 2.954 MB / 0.5331 GB, free: 24.98 MB / 378.7 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","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches