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.001458/0.001458, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 79.81 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3378, allocations: 62.44 MB / 0.5316 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.0043/0.3421, allocations: 3.147 MB / 0.5347 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3441, allocations: 1.077 MB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.3443, allocations: 5.5 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.3445, allocations: 62.19 kB / 0.5358 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.3448, allocations: 120.6 kB / 0.5359 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.3454, allocations: 191.3 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000509/0.3459, allocations: 457.3 kB / 0.5366 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.3461, allocations: 121.6 kB / 0.5367 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.3463, allocations: 162.6 kB / 0.5368 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.3466, allocations: 187.5 kB / 0.537 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.3467, allocations: 35.5 kB / 0.537 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.3468, allocations: 64.03 kB / 0.5371 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.3469, allocations: 71.05 kB / 0.5372 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.3471, allocations: 202.6 kB / 0.5374 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.3476, allocations: 456 kB / 0.5378 GB, free: 9.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3476, allocations: 3.938 kB / 0.5378 GB, free: 9.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3476, allocations: 0 / 0.5378 GB, free: 9.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.3476, allocations: 0 / 0.5378 GB, free: 9.051 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.001174/0.3488, allocations: 0.6894 MB / 0.5385 GB, free: 8.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3489, allocations: 8.969 kB / 0.5385 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.3492, allocations: 73.16 kB / 0.5386 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.3496, allocations: 298.7 kB / 0.5388 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.3497, allocations: 27.03 kB / 0.5389 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.012e-05/0.3497, allocations: 35.97 kB / 0.5389 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.3504, allocations: 367.9 kB / 0.5392 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.3505, allocations: 11.12 kB / 0.5393 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.3505, allocations: 10.5 kB / 0.5393 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.3505, allocations: 9.656 kB / 0.5393 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.351, allocations: 253.6 kB / 0.5395 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.3531, allocations: 1.513 MB / 0.541 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.3538, allocations: 418.5 kB / 0.5414 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.3541, allocations: 133.3 kB / 0.5415 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3541, allocations: 4.938 kB / 0.5415 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.3542, allocations: 46.56 kB / 0.5416 GB, free: 5.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.923e-06/0.3542, allocations: 0 / 0.5416 GB, free: 5.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.003201/0.3574, allocations: 1.964 MB / 0.5435 GB, free: 4.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.3575, allocations: 193 kB / 0.5437 GB, free: 3.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3578, allocations: 251.6 kB / 0.5439 GB, free: 3.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.3578, allocations: 35.89 kB / 0.5439 GB, free: 3.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3579, allocations: 201 kB / 0.5441 GB, free: 3.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.3581, allocations: 179.3 kB / 0.5443 GB, free: 3.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.3582, allocations: 99.59 kB / 0.5444 GB, free: 3.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3583, allocations: 347.6 kB / 0.5447 GB, free: 3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.3586, allocations: 117.4 kB / 0.5449 GB, free: 2.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.3589, allocations: 302 kB / 0.5451 GB, free: 2.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/0.3596, allocations: 457.8 kB / 0.5456 GB, free: 2.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3596, allocations: 2.531 kB / 0.5456 GB, free: 2.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008317/0.3604, allocations: 0.4889 MB / 0.5461 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3605, allocations: 7.969 kB / 0.5461 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3605, allocations: 5.188 kB / 0.5461 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.3605, allocations: 13 kB / 0.5461 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.361, allocations: 142.7 kB / 0.5462 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.361, allocations: 15.91 kB / 0.5462 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.3613, allocations: 26.03 kB / 0.5463 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.3613, allocations: 28.56 kB / 0.5463 GB, free: 1.973 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.0001902/0.3615, allocations: 167.7 kB / 0.5464 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.3617, allocations: 43.03 kB / 0.5465 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.362, allocations: 125.8 kB / 0.5466 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.362, allocations: 7 kB / 0.5466 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.362, allocations: 5.125 kB / 0.5466 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.362, allocations: 2.281 kB / 0.5466 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.3638, allocations: 1.248 MB / 0.5478 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.3639, allocations: 7.938 kB / 0.5478 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.3644, allocations: 119.8 kB / 0.548 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.3644, allocations: 4 kB / 0.548 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.3644, allocations: 16 kB / 0.548 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.3645, allocations: 8 kB / 0.548 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3645, allocations: 7.938 kB / 0.548 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.3655, allocations: 1.006 MB / 0.549 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/0.3656, allocations: 116.7 kB / 0.5491 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.3657, allocations: 12 kB / 0.5491 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.366, allocations: 16.17 kB / 0.5491 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.3661, allocations: 44.12 kB / 0.5492 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3661, allocations: 23.98 kB / 0.5492 GB, free: 14.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.3663, allocations: 178 kB / 0.5493 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3663, allocations: 0 / 0.5493 GB, free: 14.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006581/0.367, allocations: 96 kB / 0.5494 GB, free: 14.65 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.0001337/0.3671, allocations: 123.3 kB / 0.5496 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006274/0.3677, allocations: 354.6 kB / 0.5499 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3677, allocations: 0.875 kB / 0.5499 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.368, allocations: 171.8 kB / 0.5501 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.369, allocations: 88.16 kB / 0.5501 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.3713, allocations: 1.48 MB / 0.5516 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.3717, allocations: 0.8235 MB / 0.5524 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3719, allocations: 31.44 kB / 0.5524 GB, free: 11.48 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3719, allocations: 4 kB / 0.5524 GB, free: 11.48 MB / 414.1 MB Notification: Performance of Templates: time 0.007699/0.3796, allocations: 4.786 MB / 0.5571 GB, free: 6.699 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/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