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.001656/0.001656, allocations: 120 kB / 18.5 MB, free: 4.52 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.001708/0.001708, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.52/1.52, allocations: 230.4 MB / 254.7 MB, free: 15.23 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.2378/0.2378, allocations: 46.92 MB / 357.7 MB, free: 10.25 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.002384/0.002384, allocations: 80.14 kB / 0.4916 GB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1212, allocations: 66.04 MB / 0.5561 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00471/0.1259, allocations: 3.155 MB / 0.5592 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1281, allocations: 1.091 MB / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.1283, allocations: 7.938 kB / 0.5603 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1286, allocations: 67.31 kB / 0.5604 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.1288, allocations: 126.9 kB / 0.5605 GB, free: 1.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.1295, allocations: 179.5 kB / 0.5606 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.13, allocations: 465.8 kB / 0.5611 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.1302, allocations: 75.59 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1304, allocations: 179.4 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1307, allocations: 183.2 kB / 0.5615 GB, free: 100 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.1307, allocations: 32 kB / 0.5615 GB, free: 68 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1309, allocations: 52 kB / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.131, allocations: 83.67 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.1312, allocations: 202.9 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.1317, allocations: 450.1 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1317, allocations: 0 / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1317, allocations: 0 / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1317, allocations: 0 / 0.5623 GB, free: 15.29 MB / 430.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.001364/0.1331, allocations: 0.7013 MB / 0.563 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.1331, allocations: 12.03 kB / 0.563 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.537e-05/0.1332, allocations: 70.72 kB / 0.5631 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.1336, allocations: 76.64 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.1341, allocations: 306.6 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.1342, allocations: 25.38 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.1342, allocations: 40.12 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.1349, allocations: 367.5 kB / 0.5638 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.1349, allocations: 7.953 kB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.135, allocations: 16 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.135, allocations: 8 kB / 0.5639 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.1355, allocations: 247.8 kB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.1378, allocations: 1.518 MB / 0.5656 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007762/0.1386, allocations: 403.6 kB / 0.566 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.1388, allocations: 129.1 kB / 0.5661 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.1389, allocations: 4 kB / 0.5661 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.1389, allocations: 50.5 kB / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.1389, allocations: 0 / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=48): time 0.003674/0.1426, allocations: 2.001 MB / 0.5681 GB, free: 8.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.1427, allocations: 191.9 kB / 0.5683 GB, free: 8.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.143, allocations: 247 kB / 0.5685 GB, free: 8.301 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.143, allocations: 33.7 kB / 0.5685 GB, free: 8.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.1432, allocations: 208.7 kB / 0.5687 GB, free: 8.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.1434, allocations: 194.4 kB / 0.5689 GB, free: 7.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.1435, allocations: 94.3 kB / 0.569 GB, free: 7.766 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1437, allocations: 350.8 kB / 0.5694 GB, free: 7.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.144, allocations: 121.2 kB / 0.5695 GB, free: 7.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.1444, allocations: 287.9 kB / 0.5697 GB, free: 6.938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007249/0.1451, allocations: 461.5 kB / 0.5702 GB, free: 6.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1451, allocations: 4 kB / 0.5702 GB, free: 6.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009423/0.1461, allocations: 497.6 kB / 0.5707 GB, free: 5.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1461, allocations: 8 kB / 0.5707 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1461, allocations: 4 kB / 0.5707 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.1461, allocations: 11.94 kB / 0.5707 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.1466, allocations: 139.8 kB / 0.5708 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.1467, allocations: 19.86 kB / 0.5708 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1469, allocations: 23.95 kB / 0.5709 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.147, allocations: 24 kB / 0.5709 GB, free: 5.688 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.0002149/0.1472, allocations: 165.7 kB / 0.571 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.1473, allocations: 43.77 kB / 0.5711 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.1476, allocations: 127.3 kB / 0.5712 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1476, allocations: 4 kB / 0.5712 GB, free: 5.336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/0.1477, allocations: 7.938 kB / 0.5712 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1477, allocations: 3.984 kB / 0.5712 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.1498, allocations: 1.257 MB / 0.5724 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.1498, allocations: 4 kB / 0.5725 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.1504, allocations: 119.8 kB / 0.5726 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.1504, allocations: 8 kB / 0.5726 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.1504, allocations: 12 kB / 0.5726 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1504, allocations: 4 kB / 0.5726 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.1504, allocations: 7.938 kB / 0.5726 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.1517, allocations: 1.014 MB / 0.5736 GB, free: 2.754 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1518, allocations: 108.9 kB / 0.5737 GB, free: 2.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/0.1518, allocations: 16 kB / 0.5737 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.1522, allocations: 12 kB / 0.5737 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.1523, allocations: 47.83 kB / 0.5738 GB, free: 2.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.1523, allocations: 12 kB / 0.5738 GB, free: 2.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.1525, allocations: 182 kB / 0.5739 GB, free: 2.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1525, allocations: 0 / 0.5739 GB, free: 2.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007003/0.1532, allocations: 100 kB / 0.574 GB, free: 2.27 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.001535/0.1547, allocations: 1.566 MB / 0.5756 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.1555, allocations: 331.7 kB / 0.5759 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1555, allocations: 0.875 kB / 0.5759 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.1558, allocations: 171.7 kB / 0.5761 GB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.1568, allocations: 96.33 kB / 0.5761 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006536/0.1634, allocations: 4.66 MB / 0.5807 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.1639, allocations: 0.808 MB / 0.5815 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.1641, allocations: 47.33 kB / 0.5815 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.1643, allocations: 131.4 kB / 0.5817 GB, free: 10.08 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1643, allocations: 0 / 0.5817 GB, free: 10.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.1988, allocations: 7.807 MB / 0.5893 GB, free: 2.402 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.952/9.151, allocations: 8.047 kB / 0.5893 GB, free: 2.395 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 & 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.50625622831285] 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.230304025113583 9.488107921 9.353200727 Calling exit ...