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.00177/0.00177, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002051/0.002051, allocations: 208.6 kB / 24.54 MB, free: 4.055 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.512/1.512, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2658/0.2658, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.002352/0.002352, allocations: 75.88 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3351, allocations: 66.07 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004869/0.3399, allocations: 3.182 MB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.342, allocations: 1.087 MB / 0.5656 GB, free: 20 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.3422, allocations: 11.94 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.3425, allocations: 67.38 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.3427, allocations: 126.8 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.3433, allocations: 183.5 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005712/0.3439, allocations: 461.9 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.3441, allocations: 85.89 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.3443, allocations: 183.3 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.3446, allocations: 183.2 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.3446, allocations: 32 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3448, allocations: 51.98 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.359e-05/0.3448, allocations: 79.69 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.345, allocations: 199 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.3456, allocations: 458.1 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3456, allocations: 3.938 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3456, allocations: 0 / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3456, allocations: 0 / 0.5677 GB, free: 13.93 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.001233/0.3469, allocations: 0.6261 MB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3469, allocations: 8.031 kB / 0.5683 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.582e-05/0.347, allocations: 70.72 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.3473, allocations: 72.62 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.3478, allocations: 240.9 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.3478, allocations: 25.38 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/0.3479, allocations: 44.11 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000653/0.3485, allocations: 363.5 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.3486, allocations: 11.94 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.3486, allocations: 16 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3486, allocations: 8 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.3492, allocations: 247.8 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.3516, allocations: 1.471 MB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.3524, allocations: 395.8 kB / 0.5712 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.3526, allocations: 129.1 kB / 0.5713 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.3527, allocations: 7.984 kB / 0.5713 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.3527, allocations: 54.48 kB / 0.5713 GB, free: 9.895 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 1.863e-06/0.3527, allocations: 0 / 0.5713 GB, free: 9.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003227/0.356, allocations: 1.535 MB / 0.5728 GB, free: 8.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.3561, allocations: 187.9 kB / 0.573 GB, free: 7.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.3564, allocations: 256.2 kB / 0.5733 GB, free: 7.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.3564, allocations: 33.64 kB / 0.5733 GB, free: 7.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.3566, allocations: 216.6 kB / 0.5735 GB, free: 7.477 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.3568, allocations: 190.4 kB / 0.5737 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.3569, allocations: 98.3 kB / 0.5738 GB, free: 7.188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3571, allocations: 346.8 kB / 0.5741 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.3574, allocations: 117.2 kB / 0.5742 GB, free: 6.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.3578, allocations: 296 kB / 0.5745 GB, free: 6.359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/0.3586, allocations: 449.9 kB / 0.5749 GB, free: 5.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3586, allocations: 0 / 0.5749 GB, free: 5.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009032/0.3595, allocations: 0.4935 MB / 0.5754 GB, free: 5.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3595, allocations: 8 kB / 0.5754 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3595, allocations: 11.94 kB / 0.5754 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3595, allocations: 11.94 kB / 0.5754 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.36, allocations: 143.7 kB / 0.5756 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.3601, allocations: 15.94 kB / 0.5756 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.3603, allocations: 19.95 kB / 0.5756 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.3604, allocations: 28 kB / 0.5756 GB, free: 5.109 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.0002236/0.3606, allocations: 182.6 kB / 0.5758 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.3607, allocations: 39.77 kB / 0.5759 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.361, allocations: 123.3 kB / 0.576 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.361, allocations: 8 kB / 0.576 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.361, allocations: 3.938 kB / 0.576 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.361, allocations: 4 kB / 0.576 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.3632, allocations: 1.209 MB / 0.5772 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.3632, allocations: 4 kB / 0.5772 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.3637, allocations: 115.9 kB / 0.5773 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.3637, allocations: 4 kB / 0.5773 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.3638, allocations: 16 kB / 0.5773 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-05/0.3638, allocations: 15.92 kB / 0.5773 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3638, allocations: 4 kB / 0.5773 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.3651, allocations: 1.009 MB / 0.5783 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.3652, allocations: 35.81 kB / 0.5783 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.3652, allocations: 11.98 kB / 0.5784 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.3656, allocations: 20 kB / 0.5784 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.3657, allocations: 47.8 kB / 0.5784 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.3657, allocations: 16.19 kB / 0.5784 GB, free: 2.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3659, allocations: 183.1 kB / 0.5786 GB, free: 1.914 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3659, allocations: 0 / 0.5786 GB, free: 1.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006896/0.3666, allocations: 92 kB / 0.5787 GB, free: 1.824 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.00163/0.3682, allocations: 1.584 MB / 0.5802 GB, free: 188 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.369, allocations: 336.1 kB / 0.5806 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.369, allocations: 4 kB / 0.5806 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.3693, allocations: 163.8 kB / 0.5807 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3703, allocations: 84.36 kB / 0.5808 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/0.377, allocations: 4.658 MB / 0.5854 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.3775, allocations: 0.8119 MB / 0.5861 GB, free: 9.812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002242/0.3778, allocations: 51.33 kB / 0.5862 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.378, allocations: 131.4 kB / 0.5863 GB, free: 9.633 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.378, allocations: 4 kB / 0.5863 GB, free: 9.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04848/0.4265, allocations: 8.137 MB / 0.5943 GB, free: 1.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.085/9.512, allocations: 11.67 kB / 0.5943 GB, free: 1.59 MB / 430.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000399521 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.615729799959809] 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', 'mass6.s', 'mass6.v'] 9.587375497911125 9.60371359 9.254832294 Calling exit ...