Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002568/0.002568, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 98.44 kB / 296.7 MB, free: 6.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3862/0.3862, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.89 kB / 465.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3366, allocations: 62.02 MB / 0.5151 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003504/0.3401, allocations: 3.175 MB / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.3417, allocations: 1.071 MB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.3419, allocations: 16.47 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.3421, allocations: 46.47 kB / 0.5194 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.3423, allocations: 106.8 kB / 0.5195 GB, free: 34.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.3427, allocations: 162.3 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.3431, allocations: 448.7 kB / 0.52 GB, free: 34.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.3433, allocations: 93 kB / 0.5201 GB, free: 34.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3434, allocations: 153.3 kB / 0.5203 GB, free: 34.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.3436, allocations: 176 kB / 0.5204 GB, free: 34.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.3436, allocations: 25.66 kB / 0.5205 GB, free: 34.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3438, allocations: 38.77 kB / 0.5205 GB, free: 34.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.3438, allocations: 68.44 kB / 0.5206 GB, free: 34.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.344, allocations: 188.9 kB / 0.5207 GB, free: 33.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.3443, allocations: 436.2 kB / 0.5212 GB, free: 33.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3443, allocations: 0 / 0.5212 GB, free: 33.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3443, allocations: 0 / 0.5212 GB, free: 33.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3444, allocations: 3.938 kB / 0.5212 GB, free: 33.8 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0009785/0.3453, allocations: 0.6866 MB / 0.5218 GB, free: 33.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3454, allocations: 8.531 kB / 0.5218 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.3457, allocations: 75.75 kB / 0.5219 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.3459, allocations: 298 kB / 0.5222 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.346, allocations: 27.78 kB / 0.5222 GB, free: 32.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.346, allocations: 39.31 kB / 0.5223 GB, free: 32.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.3465, allocations: 356.6 kB / 0.5226 GB, free: 32.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.3465, allocations: 17.84 kB / 0.5226 GB, free: 32.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.3466, allocations: 14.81 kB / 0.5226 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.3466, allocations: 11.47 kB / 0.5227 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.3472, allocations: 242.8 kB / 0.5229 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.3488, allocations: 1.519 MB / 0.5244 GB, free: 31.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.3494, allocations: 417.7 kB / 0.5248 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.3496, allocations: 135.6 kB / 0.5249 GB, free: 31.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.3496, allocations: 18 kB / 0.5249 GB, free: 31.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3496, allocations: 48.5 kB / 0.525 GB, free: 31.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.3497, allocations: 2.531 kB / 0.525 GB, free: 31.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002564/0.3522, allocations: 1.964 MB / 0.5269 GB, free: 29.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.3523, allocations: 189.3 kB / 0.5271 GB, free: 29.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3525, allocations: 261.8 kB / 0.5273 GB, free: 29.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.3525, allocations: 32.52 kB / 0.5273 GB, free: 29.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.3526, allocations: 198.5 kB / 0.5275 GB, free: 28.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.3527, allocations: 184 kB / 0.5277 GB, free: 28.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3528, allocations: 102.4 kB / 0.5278 GB, free: 28.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.3529, allocations: 345.1 kB / 0.5281 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3531, allocations: 117.7 kB / 0.5282 GB, free: 28.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.3534, allocations: 302.7 kB / 0.5285 GB, free: 28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004926/0.3539, allocations: 445.4 kB / 0.529 GB, free: 27.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3539, allocations: 2.844 kB / 0.529 GB, free: 27.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007901/0.3547, allocations: 0.4894 MB / 0.5294 GB, free: 27.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.3547, allocations: 5.938 kB / 0.5294 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3547, allocations: 9.203 kB / 0.5295 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.3548, allocations: 8.656 kB / 0.5295 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.3552, allocations: 138 kB / 0.5296 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.3553, allocations: 20.72 kB / 0.5296 GB, free: 27.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.3555, allocations: 23.5 kB / 0.5296 GB, free: 27.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.3555, allocations: 24.34 kB / 0.5297 GB, free: 27.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001519/0.3557, allocations: 173.6 kB / 0.5298 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3558, allocations: 38.69 kB / 0.5299 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.3561, allocations: 124.5 kB / 0.53 GB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3561, allocations: 5.75 kB / 0.53 GB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.3561, allocations: 6.562 kB / 0.53 GB, free: 27.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3561, allocations: 3.234 kB / 0.53 GB, free: 27.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.3576, allocations: 1.255 MB / 0.5312 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3577, allocations: 3.031 kB / 0.5312 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.3581, allocations: 119.5 kB / 0.5313 GB, free: 26.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.3582, allocations: 13.31 kB / 0.5313 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.3582, allocations: 17.56 kB / 0.5314 GB, free: 26.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.3582, allocations: 8.656 kB / 0.5314 GB, free: 26.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3582, allocations: 6.75 kB / 0.5314 GB, free: 26.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/0.3628, allocations: 3.333 MB / 0.5346 GB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.3629, allocations: 106.2 kB / 0.5347 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.3629, allocations: 16.94 kB / 0.5348 GB, free: 23.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.3633, allocations: 12.28 kB / 0.5348 GB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.3634, allocations: 42.16 kB / 0.5348 GB, free: 23.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.3634, allocations: 14.78 kB / 0.5348 GB, free: 23.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3636, allocations: 189.2 kB / 0.535 GB, free: 23.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3636, allocations: 0 / 0.535 GB, free: 23.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008378/0.3644, allocations: 137.8 kB / 0.5351 GB, free: 23.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,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 (49): * Single equations (assignments): 49 * 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.0001311/0.3645, allocations: 113.9 kB / 0.5352 GB, free: 23.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000594/0.3651, allocations: 348.4 kB / 0.5356 GB, free: 23.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3652, allocations: 0 / 0.5356 GB, free: 23.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.3654, allocations: 172 kB / 0.5357 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.3665, allocations: 85.5 kB / 0.5358 GB, free: 23.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.3688, allocations: 1.912 MB / 0.5377 GB, free: 21.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3691, allocations: 0.8225 MB / 0.5385 GB, free: 21.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.3694, allocations: 53.89 kB / 0.5385 GB, free: 21.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.3695, allocations: 39.33 kB / 0.5386 GB, free: 21.09 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.3695, allocations: 3.938 kB / 0.5386 GB, free: 21.09 MB / 378.7 MB Notification: Performance of Templates: time 0.01026/0.3798, allocations: 4.696 MB / 0.5432 GB, free: 20.75 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches