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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001531/0.001531, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 213.7 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2625/0.2625, allocations: 46.94 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] 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=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 79.81 kB / 0.4966 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3452, allocations: 66.09 MB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004818/0.3501, allocations: 2.902 MB / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3521, allocations: 1.024 MB / 0.565 GB, free: 40 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.3523, allocations: 11.94 kB / 0.565 GB, free: 28 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.3525, allocations: 63.31 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.3527, allocations: 130.9 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.3533, allocations: 171.6 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005932/0.3539, allocations: 465.8 kB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.3541, allocations: 75.98 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.3543, allocations: 175.4 kB / 0.566 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3546, allocations: 171.2 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.3546, allocations: 28 kB / 0.5662 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3548, allocations: 51.98 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.836e-05/0.3549, allocations: 79.69 kB / 0.5663 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.355, allocations: 167.2 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.3556, allocations: 460.5 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3556, allocations: 0 / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3556, allocations: 0 / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3556, allocations: 0 / 0.5669 GB, free: 14.02 MB / 414.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.001271/0.3569, allocations: 0.6222 MB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3569, allocations: 11.97 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.3572, allocations: 72.64 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.3577, allocations: 248.8 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.3578, allocations: 21.38 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.3578, allocations: 40.38 kB / 0.5679 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.3585, allocations: 367.5 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.3585, allocations: 3.953 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.3586, allocations: 16 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.3586, allocations: 16 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.3591, allocations: 243.8 kB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.3613, allocations: 1.347 MB / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008666/0.3622, allocations: 411.8 kB / 0.5703 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.3624, allocations: 121.1 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.3624, allocations: 11.98 kB / 0.5704 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.3625, allocations: 42.5 kB / 0.5704 GB, free: 10.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/0.3625, allocations: 3.938 kB / 0.5704 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003291/0.3658, allocations: 1.539 MB / 0.5719 GB, free: 8.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.3659, allocations: 195.8 kB / 0.5721 GB, free: 8.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.3662, allocations: 249.8 kB / 0.5724 GB, free: 8.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3662, allocations: 33.7 kB / 0.5724 GB, free: 7.992 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.3664, allocations: 192.8 kB / 0.5726 GB, free: 7.797 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.3666, allocations: 194.4 kB / 0.5728 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.3668, allocations: 94.3 kB / 0.5728 GB, free: 7.508 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.367, allocations: 350.7 kB / 0.5732 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.3673, allocations: 121.2 kB / 0.5733 GB, free: 7.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.3678, allocations: 295.9 kB / 0.5736 GB, free: 6.672 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008119/0.3686, allocations: 461.6 kB / 0.574 GB, free: 6.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3686, allocations: 4 kB / 0.574 GB, free: 6.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008793/0.3695, allocations: 0.4894 MB / 0.5745 GB, free: 5.645 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3695, allocations: 12.09 kB / 0.5745 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.3695, allocations: 4 kB / 0.5745 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.3695, allocations: 8 kB / 0.5745 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.37, allocations: 139.8 kB / 0.5747 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.3701, allocations: 11.94 kB / 0.5747 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.3703, allocations: 23.94 kB / 0.5747 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.3703, allocations: 27.98 kB / 0.5747 GB, free: 5.422 MB / 414.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.0002131/0.3706, allocations: 165.7 kB / 0.5749 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.3707, allocations: 39.77 kB / 0.5749 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.371, allocations: 127.3 kB / 0.575 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.371, allocations: 8 kB / 0.575 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.371, allocations: 0 / 0.575 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.371, allocations: 11.92 kB / 0.5751 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.3731, allocations: 1.132 MB / 0.5762 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.3731, allocations: 4.188 kB / 0.5762 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.3737, allocations: 123.8 kB / 0.5763 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.3737, allocations: 8 kB / 0.5763 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.3738, allocations: 16 kB / 0.5763 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.3738, allocations: 4 kB / 0.5763 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.3738, allocations: 7.938 kB / 0.5763 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.3751, allocations: 1.01 MB / 0.5773 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.3751, allocations: 35.8 kB / 0.5773 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.3752, allocations: 12 kB / 0.5773 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.3756, allocations: 12 kB / 0.5774 GB, free: 2.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.3757, allocations: 47.81 kB / 0.5774 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.3757, allocations: 15.98 kB / 0.5774 GB, free: 2.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3759, allocations: 169.2 kB / 0.5776 GB, free: 2.344 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3759, allocations: 0 / 0.5776 GB, free: 2.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006855/0.3766, allocations: 100 kB / 0.5777 GB, free: 2.246 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.0001728/0.3767, allocations: 119.1 kB / 0.5778 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006891/0.3774, allocations: 336 kB / 0.5781 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3774, allocations: 0 / 0.5781 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.3777, allocations: 165.2 kB / 0.5783 GB, free: 1.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.3787, allocations: 93.48 kB / 0.5784 GB, free: 1.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.3812, allocations: 1.484 MB / 0.5798 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3815, allocations: 212.1 kB / 0.58 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.3817, allocations: 47.28 kB / 0.5801 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-05/0.3818, allocations: 35.38 kB / 0.5801 GB, free: 15.67 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3818, allocations: 0 / 0.5801 GB, free: 15.67 MB / 430.1 MB Notification: Performance of Templates: time 0.01015/0.392, allocations: 4.311 MB / 0.5843 GB, free: 11.43 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.421140156686306]