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.001683/0.001683, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002061/0.002061, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.472/1.472, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2294/0.2294, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.00226/0.00226, allocations: 79.88 kB / 0.4912 GB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1221, allocations: 65.98 MB / 0.5556 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.0046/0.1267, allocations: 3.174 MB / 0.5587 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1286, allocations: 1.075 MB / 0.5598 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.1288, allocations: 11.94 kB / 0.5598 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.129, allocations: 59.38 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1293, allocations: 134.8 kB / 0.56 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.1298, allocations: 171.6 kB / 0.5601 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005454/0.1304, allocations: 465.9 kB / 0.5606 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1306, allocations: 83.58 kB / 0.5607 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.1308, allocations: 175.3 kB / 0.5608 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.131, allocations: 183.2 kB / 0.561 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.1311, allocations: 32 kB / 0.561 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1312, allocations: 55.98 kB / 0.5611 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.1313, allocations: 71.7 kB / 0.5612 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.1315, allocations: 203 kB / 0.5613 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.132, allocations: 450.1 kB / 0.5618 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.132, allocations: 0 / 0.5618 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.132, allocations: 0 / 0.5618 GB, free: 132 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.132, allocations: 0 / 0.5618 GB, free: 132 kB / 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.001304/0.1333, allocations: 0.7052 MB / 0.5625 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1334, allocations: 8.031 kB / 0.5625 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.649e-05/0.1335, allocations: 74.72 kB / 0.5625 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.1338, allocations: 68.64 kB / 0.5626 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.1343, allocations: 302.7 kB / 0.5629 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.1343, allocations: 29.38 kB / 0.5629 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.188e-05/0.1344, allocations: 40.12 kB / 0.563 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.135, allocations: 363.6 kB / 0.5633 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.135, allocations: 3.953 kB / 0.5633 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.1351, allocations: 19.98 kB / 0.5633 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1351, allocations: 15.94 kB / 0.5633 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.1356, allocations: 247.7 kB / 0.5636 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002289/0.1379, allocations: 1.525 MB / 0.5651 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.1387, allocations: 403.5 kB / 0.5655 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.1389, allocations: 125.1 kB / 0.5656 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1389, allocations: 8.406 kB / 0.5656 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.139, allocations: 42.56 kB / 0.5656 GB, free: 11.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 1.944e-06/0.139, allocations: 0 / 0.5656 GB, free: 11.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003437/0.1424, allocations: 1.994 MB / 0.5676 GB, free: 9.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.1425, allocations: 191.8 kB / 0.5678 GB, free: 9.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.1428, allocations: 251 kB / 0.568 GB, free: 9.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1428, allocations: 37.7 kB / 0.568 GB, free: 9.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.143, allocations: 200.7 kB / 0.5682 GB, free: 8.891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.1431, allocations: 194.4 kB / 0.5684 GB, free: 8.699 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.1433, allocations: 98.3 kB / 0.5685 GB, free: 8.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1435, allocations: 346.8 kB / 0.5688 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.1437, allocations: 125.2 kB / 0.569 GB, free: 8.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.1441, allocations: 299.9 kB / 0.5692 GB, free: 7.758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.1448, allocations: 453.3 kB / 0.5697 GB, free: 7.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1448, allocations: 0 / 0.5697 GB, free: 7.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008466/0.1456, allocations: 494.2 kB / 0.5701 GB, free: 6.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1456, allocations: 8 kB / 0.5701 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1457, allocations: 8 kB / 0.5702 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1457, allocations: 8 kB / 0.5702 GB, free: 6.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.1462, allocations: 140 kB / 0.5703 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.1462, allocations: 19.86 kB / 0.5703 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.1464, allocations: 27.95 kB / 0.5703 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.1465, allocations: 27.94 kB / 0.5704 GB, free: 6.516 MB / 430.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.000202/0.1467, allocations: 173.7 kB / 0.5705 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.1468, allocations: 39.75 kB / 0.5706 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.1471, allocations: 135.3 kB / 0.5707 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1471, allocations: 8 kB / 0.5707 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.1471, allocations: 3.938 kB / 0.5707 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1471, allocations: 4 kB / 0.5707 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.1491, allocations: 1.245 MB / 0.5719 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/0.1491, allocations: 4 kB / 0.5719 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.1497, allocations: 115.9 kB / 0.572 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.1497, allocations: 4 kB / 0.5721 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.1497, allocations: 12 kB / 0.5721 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.1497, allocations: 11.94 kB / 0.5721 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1497, allocations: 4.188 kB / 0.5721 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.1509, allocations: 1.018 MB / 0.5731 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-05/0.151, allocations: 112.9 kB / 0.5732 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.1511, allocations: 12 kB / 0.5732 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.1514, allocations: 12 kB / 0.5732 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.1515, allocations: 47.89 kB / 0.5732 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.1515, allocations: 15.98 kB / 0.5733 GB, free: 3.363 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001746/0.1517, allocations: 178 kB / 0.5734 GB, free: 3.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1517, allocations: 3.938 kB / 0.5734 GB, free: 3.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006641/0.1524, allocations: 96 kB / 0.5735 GB, free: 3.094 MB / 430.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.001465/0.1539, allocations: 1.57 MB / 0.5751 GB, free: 1.469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000664/0.1545, allocations: 330.4 kB / 0.5754 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.1545, allocations: 4.875 kB / 0.5754 GB, free: 1.141 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.1548, allocations: 164.7 kB / 0.5755 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.1558, allocations: 86.97 kB / 0.5756 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/0.1621, allocations: 4.672 MB / 0.5802 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.1626, allocations: 0.8041 MB / 0.581 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1628, allocations: 51.33 kB / 0.581 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.163, allocations: 131.4 kB / 0.5811 GB, free: 10.91 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.163, allocations: 0 / 0.5811 GB, free: 10.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.1968, allocations: 7.808 MB / 0.5888 GB, free: 3.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.746/8.943, allocations: 0 / 0.5888 GB, free: 3.23 MB / 446.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 --stepSize=0.00039984 --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.0359117067419] 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.019579246174544 9.277199023 9.141671474 Calling exit ...