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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001206/0.001207, allocations: 117.6 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 200.7 kB / 18.73 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.252/0.252, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.001649, allocations: 75.88 kB / 481.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3769, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004502/0.3815, allocations: 3.146 MB / 0.534 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3837, allocations: 1.07 MB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.3839, allocations: 10.41 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.3841, allocations: 65.86 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.3844, allocations: 121.2 kB / 0.5353 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.385, allocations: 178.2 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.3855, allocations: 465.5 kB / 0.5359 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.3858, allocations: 122 kB / 0.536 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.386, allocations: 167.2 kB / 0.5362 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.3863, allocations: 190.8 kB / 0.5363 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.3864, allocations: 31.38 kB / 0.5364 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.3865, allocations: 51.3 kB / 0.5364 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.3866, allocations: 75.66 kB / 0.5365 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3868, allocations: 199.2 kB / 0.5367 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.3873, allocations: 454.9 kB / 0.5371 GB, free: 8.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3873, allocations: 0 / 0.5371 GB, free: 8.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3873, allocations: 1.125 kB / 0.5371 GB, free: 8.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3873, allocations: 0 / 0.5371 GB, free: 8.863 MB / 398.1 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.001215/0.3886, allocations: 0.6885 MB / 0.5378 GB, free: 8.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3886, allocations: 9.219 kB / 0.5378 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.3889, allocations: 69.09 kB / 0.5379 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.3894, allocations: 303 kB / 0.5382 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.3895, allocations: 27.47 kB / 0.5382 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.048e-05/0.3895, allocations: 36.44 kB / 0.5382 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.3902, allocations: 366.8 kB / 0.5386 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.3902, allocations: 6.875 kB / 0.5386 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.3903, allocations: 19.45 kB / 0.5386 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3903, allocations: 8.5 kB / 0.5386 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.3908, allocations: 258.6 kB / 0.5388 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.3929, allocations: 1.513 MB / 0.5403 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.3936, allocations: 417.1 kB / 0.5407 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.3939, allocations: 130 kB / 0.5408 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.3939, allocations: 13.67 kB / 0.5409 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.394, allocations: 45.38 kB / 0.5409 GB, free: 5.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/0.394, allocations: 1.25 kB / 0.5409 GB, free: 5.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.003292/0.3973, allocations: 1.964 MB / 0.5428 GB, free: 3.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/0.3974, allocations: 186.2 kB / 0.543 GB, free: 3.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.3977, allocations: 255.4 kB / 0.5432 GB, free: 3.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3977, allocations: 35.89 kB / 0.5433 GB, free: 3.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3979, allocations: 212.7 kB / 0.5435 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.398, allocations: 174.2 kB / 0.5436 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.3981, allocations: 100.3 kB / 0.5437 GB, free: 3.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.3983, allocations: 351.8 kB / 0.5441 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.3985, allocations: 117 kB / 0.5442 GB, free: 2.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.3989, allocations: 298.1 kB / 0.5445 GB, free: 2.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006206/0.3995, allocations: 457.6 kB / 0.5449 GB, free: 2.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3995, allocations: 2 kB / 0.5449 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007915/0.4003, allocations: 497.7 kB / 0.5454 GB, free: 1.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4003, allocations: 8.125 kB / 0.5454 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4003, allocations: 5.281 kB / 0.5454 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.4004, allocations: 9.188 kB / 0.5454 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.4009, allocations: 146.6 kB / 0.5455 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.4009, allocations: 12.34 kB / 0.5456 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.4012, allocations: 21.22 kB / 0.5456 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.4012, allocations: 23.59 kB / 0.5456 GB, free: 1.785 MB / 398.1 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.0001939/0.4014, allocations: 180.9 kB / 0.5458 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.4016, allocations: 44.11 kB / 0.5458 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.4018, allocations: 128.6 kB / 0.5459 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4019, allocations: 6.781 kB / 0.5459 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.4019, allocations: 5.531 kB / 0.5459 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4019, allocations: 1.406 kB / 0.5459 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.4037, allocations: 1.248 MB / 0.5472 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4037, allocations: 4.188 kB / 0.5472 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.4043, allocations: 119.9 kB / 0.5473 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/0.4043, allocations: 8 kB / 0.5473 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.4043, allocations: 16 kB / 0.5473 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.4043, allocations: 7.938 kB / 0.5473 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4043, allocations: 7.984 kB / 0.5473 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.4053, allocations: 1.013 MB / 0.5483 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.4055, allocations: 108.7 kB / 0.5484 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.4055, allocations: 16 kB / 0.5484 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.4059, allocations: 19.98 kB / 0.5485 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.406, allocations: 39.84 kB / 0.5485 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.406, allocations: 19.98 kB / 0.5485 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.4062, allocations: 174 kB / 0.5487 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4062, allocations: 0 / 0.5487 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006825/0.4069, allocations: 100 kB / 0.5488 GB, free: 14.52 MB / 414.1 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.0001454/0.407, allocations: 121.2 kB / 0.5489 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006647/0.4077, allocations: 347.5 kB / 0.5492 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4077, allocations: 0 / 0.5492 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.408, allocations: 179.7 kB / 0.5494 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4091, allocations: 88.95 kB / 0.5495 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.4113, allocations: 1.466 MB / 0.5509 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.4117, allocations: 0.8155 MB / 0.5517 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000181/0.4119, allocations: 47.34 kB / 0.5517 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.412, allocations: 35.42 kB / 0.5518 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.412, allocations: 4 kB / 0.5518 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Templates: time 0.007733/0.4197, allocations: 3.945 MB / 0.5556 GB, free: 7.414 MB / 414.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches