Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001844/0.001844, allocations: 108.6 kB / 19.8 MB, free: 2.5 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.002685/0.002685, allocations: 215.2 kB / 23 MB, free: 5.582 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.519/1.519, allocations: 230.2 MB / 256.2 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2284/0.2284, allocations: 46.89 MB / 359.4 MB, free: 4.875 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 75.88 kB / 0.4941 GB, free: 9.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3237, allocations: 65.99 MB / 0.5585 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004737/0.3285, allocations: 3.171 MB / 0.5616 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.3306, allocations: 1.091 MB / 0.5627 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.3308, allocations: 8 kB / 0.5627 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.331, allocations: 63.31 kB / 0.5628 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.3312, allocations: 126.9 kB / 0.5629 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.3318, allocations: 179.5 kB / 0.5631 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005246/0.3323, allocations: 465.9 kB / 0.5635 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.3325, allocations: 78.28 kB / 0.5636 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.3327, allocations: 179.3 kB / 0.5638 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.333, allocations: 183.2 kB / 0.5639 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.333, allocations: 28 kB / 0.564 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.3332, allocations: 48 kB / 0.564 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/0.3333, allocations: 87.67 kB / 0.5641 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.3334, allocations: 191.1 kB / 0.5643 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.334, allocations: 461.9 kB / 0.5647 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.334, allocations: 0 / 0.5647 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.334, allocations: 0 / 0.5647 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.334, allocations: 0 / 0.5647 GB, free: 14.78 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.001256/0.3353, allocations: 0.7053 MB / 0.5654 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3353, allocations: 8.031 kB / 0.5654 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.011e-05/0.3354, allocations: 82.66 kB / 0.5655 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/0.3357, allocations: 64.64 kB / 0.5655 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.3362, allocations: 302.7 kB / 0.5658 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.3362, allocations: 29.38 kB / 0.5659 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.3363, allocations: 48.11 kB / 0.5659 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.3369, allocations: 359.6 kB / 0.5663 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.3369, allocations: 7.953 kB / 0.5663 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.337, allocations: 12 kB / 0.5663 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.337, allocations: 8 kB / 0.5663 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.3375, allocations: 259.2 kB / 0.5665 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.3397, allocations: 1.514 MB / 0.568 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.3404, allocations: 407.9 kB / 0.5684 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.3407, allocations: 129.1 kB / 0.5685 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.3407, allocations: 11.94 kB / 0.5685 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3408, allocations: 42.5 kB / 0.5686 GB, free: 10.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.933e-06/0.3408, allocations: 0 / 0.5686 GB, free: 10.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003354/0.3441, allocations: 1.99 MB / 0.5705 GB, free: 8.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.3442, allocations: 187.9 kB / 0.5707 GB, free: 8.043 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.3445, allocations: 251 kB / 0.5709 GB, free: 7.785 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.3445, allocations: 37.7 kB / 0.571 GB, free: 7.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3447, allocations: 208.7 kB / 0.5712 GB, free: 7.535 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.3448, allocations: 186.4 kB / 0.5713 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.345, allocations: 102.3 kB / 0.5714 GB, free: 7.246 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3451, allocations: 346.8 kB / 0.5718 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.3454, allocations: 117.2 kB / 0.5719 GB, free: 6.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/0.3458, allocations: 299.8 kB / 0.5722 GB, free: 6.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.3464, allocations: 453.6 kB / 0.5726 GB, free: 5.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3464, allocations: 4 kB / 0.5726 GB, free: 5.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008467/0.3473, allocations: 493.1 kB / 0.5731 GB, free: 5.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3473, allocations: 8 kB / 0.5731 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3473, allocations: 7.984 kB / 0.5731 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.3473, allocations: 12 kB / 0.5731 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.3478, allocations: 139.8 kB / 0.5732 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/0.3479, allocations: 19.86 kB / 0.5733 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.3481, allocations: 28.3 kB / 0.5733 GB, free: 5.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.3481, allocations: 28 kB / 0.5733 GB, free: 5.164 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.0002016/0.3483, allocations: 161.7 kB / 0.5735 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.3485, allocations: 43.77 kB / 0.5735 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.3488, allocations: 127.3 kB / 0.5736 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3488, allocations: 4 kB / 0.5736 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.3488, allocations: 11.94 kB / 0.5736 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3488, allocations: 3.984 kB / 0.5736 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.3508, allocations: 1.249 MB / 0.5749 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.3508, allocations: 4 kB / 0.5749 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.3513, allocations: 119.8 kB / 0.575 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.3513, allocations: 4 kB / 0.575 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.3514, allocations: 16 kB / 0.575 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.3514, allocations: 8 kB / 0.575 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3514, allocations: 8.25 kB / 0.575 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3525, allocations: 1.005 MB / 0.576 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3526, allocations: 120.8 kB / 0.5761 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.3527, allocations: 12 kB / 0.5761 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.353, allocations: 12 kB / 0.5761 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.3531, allocations: 43.83 kB / 0.5762 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.3532, allocations: 20 kB / 0.5762 GB, free: 2.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.3533, allocations: 174 kB / 0.5764 GB, free: 1.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3533, allocations: 4 kB / 0.5764 GB, free: 1.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006635/0.354, allocations: 100 kB / 0.5765 GB, free: 1.746 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.001432/0.3554, allocations: 1.567 MB / 0.578 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007338/0.3562, allocations: 344 kB / 0.5783 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.3562, allocations: 0 / 0.5783 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.3565, allocations: 167.6 kB / 0.5785 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.3575, allocations: 82.91 kB / 0.5786 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006396/0.3639, allocations: 4.664 MB / 0.5831 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.3644, allocations: 0.8158 MB / 0.5839 GB, free: 9.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.3646, allocations: 51.33 kB / 0.584 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.3648, allocations: 131.4 kB / 0.5841 GB, free: 9.547 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3648, allocations: 0 / 0.5841 GB, free: 9.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04656/0.4114, allocations: 7.781 MB / 0.5917 GB, free: 1.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.949/9.36, allocations: 4.062 kB / 0.5917 GB, free: 1.871 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.274354941007914] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.s', 'mass1.v', 'mass2.s', 'mass2.v', 'mass3.s', 'mass3.v', 'mass4.s', 'mass4.v', 'mass5.s', 'mass5.v'] 9.436051429016516 9.463233315 9.124134121 Calling exit ...