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.001411/0.001411, allocations: 115.5 kB / 18.45 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 210.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 247.6 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.2413/0.2413, allocations: 46.12 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 79.86 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3069, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.005147/0.312, allocations: 3.157 MB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.3139, allocations: 1.079 MB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.314, allocations: 10.81 kB / 0.5358 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.3142, allocations: 64.81 kB / 0.5359 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.3145, allocations: 130 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.315, allocations: 180.7 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.3155, allocations: 460 kB / 0.5366 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.3157, allocations: 87.97 kB / 0.5367 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.3159, allocations: 170.8 kB / 0.5369 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.3162, allocations: 183.2 kB / 0.5371 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.035e-05/0.3162, allocations: 31.28 kB / 0.5371 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.3164, allocations: 55.67 kB / 0.5371 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.3164, allocations: 78.81 kB / 0.5372 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.3166, allocations: 199.7 kB / 0.5374 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.3172, allocations: 453.8 kB / 0.5378 GB, free: 8.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3172, allocations: 0 / 0.5378 GB, free: 8.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3172, allocations: 7.938 kB / 0.5379 GB, free: 8.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3172, allocations: 1.344 kB / 0.5379 GB, free: 8.812 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.001267/0.3185, allocations: 0.695 MB / 0.5385 GB, free: 8.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3185, allocations: 13.67 kB / 0.5385 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.3188, allocations: 65.55 kB / 0.5386 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.3192, allocations: 298.7 kB / 0.5389 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.3193, allocations: 35.12 kB / 0.5389 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.649e-05/0.3193, allocations: 40.3 kB / 0.539 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.32, allocations: 355 kB / 0.5393 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.32, allocations: 15.28 kB / 0.5393 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.32, allocations: 15.59 kB / 0.5393 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.32, allocations: 8.938 kB / 0.5393 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005052/0.3205, allocations: 250.6 kB / 0.5396 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.3228, allocations: 1.518 MB / 0.5411 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/0.3236, allocations: 398.1 kB / 0.5414 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.3238, allocations: 132 kB / 0.5416 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.3238, allocations: 4.625 kB / 0.5416 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3239, allocations: 46.94 kB / 0.5416 GB, free: 5.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 3.928e-06/0.3239, allocations: 3.984 kB / 0.5416 GB, free: 5.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.003472/0.3273, allocations: 1.985 MB / 0.5436 GB, free: 3.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.3275, allocations: 193.7 kB / 0.5437 GB, free: 3.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.3278, allocations: 256.1 kB / 0.544 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3278, allocations: 31.67 kB / 0.544 GB, free: 3.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.328, allocations: 201.8 kB / 0.5442 GB, free: 3.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.3282, allocations: 191.2 kB / 0.5444 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.3283, allocations: 100.7 kB / 0.5445 GB, free: 3.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.3285, allocations: 347.2 kB / 0.5448 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.3288, allocations: 114 kB / 0.5449 GB, free: 2.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.3292, allocations: 304.9 kB / 0.5452 GB, free: 2.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.3298, allocations: 455 kB / 0.5457 GB, free: 2.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3298, allocations: 1 kB / 0.5457 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008413/0.3307, allocations: 0.4981 MB / 0.5461 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3307, allocations: 7.594 kB / 0.5461 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3307, allocations: 5.812 kB / 0.5462 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.3307, allocations: 9.062 kB / 0.5462 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.3312, allocations: 137 kB / 0.5463 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.3312, allocations: 18.16 kB / 0.5463 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.3315, allocations: 29.44 kB / 0.5463 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.3315, allocations: 27.2 kB / 0.5464 GB, free: 1.688 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.0002533/0.3318, allocations: 173.3 kB / 0.5465 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3319, allocations: 39.36 kB / 0.5466 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3322, allocations: 125.2 kB / 0.5467 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3322, allocations: 5.938 kB / 0.5467 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.3322, allocations: 6.188 kB / 0.5467 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.3322, allocations: 10.05 kB / 0.5467 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.3342, allocations: 1.244 MB / 0.5479 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3342, allocations: 4 kB / 0.5479 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.3348, allocations: 115.8 kB / 0.548 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.3348, allocations: 8 kB / 0.548 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.3348, allocations: 16.48 kB / 0.5481 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.3348, allocations: 16 kB / 0.5481 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.3348, allocations: 7.938 kB / 0.5481 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.336, allocations: 1.009 MB / 0.5491 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3361, allocations: 108.9 kB / 0.5492 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.3362, allocations: 16 kB / 0.5492 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.3366, allocations: 12 kB / 0.5492 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.3367, allocations: 47.81 kB / 0.5492 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.3367, allocations: 16 kB / 0.5493 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001817/0.3369, allocations: 182 kB / 0.5494 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3369, allocations: 192 / 0.5494 GB, free: 14.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007121/0.3376, allocations: 100 kB / 0.5495 GB, free: 14.46 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.0001593/0.3377, allocations: 115.1 kB / 0.5496 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007097/0.3385, allocations: 340 kB / 0.55 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3385, allocations: 0 / 0.55 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.3388, allocations: 164 kB / 0.5501 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3398, allocations: 97.95 kB / 0.5502 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.3423, allocations: 1.468 MB / 0.5516 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.3428, allocations: 0.8156 MB / 0.5524 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.343, allocations: 51.33 kB / 0.5525 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.3431, allocations: 31.44 kB / 0.5525 GB, free: 11.29 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3431, allocations: 0 / 0.5525 GB, free: 11.29 MB / 414.1 MB Notification: Performance of Templates: time 0.009113/0.3523, allocations: 3.995 MB / 0.5564 GB, free: 7.332 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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches