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.001684/0.001684, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.002098/0.002098, allocations: 209.7 kB / 21.41 MB, free: 1.66 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.66/1.66, allocations: 227.4 MB / 251.7 MB, free: 32 kB / 190.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.2271/0.2271, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.002368/0.002368, allocations: 81.55 kB / 489.6 MB, free: 28.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1097, allocations: 62.44 MB / 0.5391 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004465/0.1142, allocations: 3.154 MB / 0.5422 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1165, allocations: 1.063 MB / 0.5433 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003297/0.1169, allocations: 11.94 kB / 0.5433 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.1172, allocations: 63.31 kB / 0.5433 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1175, allocations: 122.9 kB / 0.5435 GB, free: 356 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.1182, allocations: 175.6 kB / 0.5436 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006564/0.1189, allocations: 477.7 kB / 0.5441 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.1192, allocations: 119.8 kB / 0.5442 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.1194, allocations: 155.4 kB / 0.5443 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1197, allocations: 195.1 kB / 0.5445 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.1197, allocations: 32 kB / 0.5446 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.1199, allocations: 51.98 kB / 0.5446 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.12, allocations: 75.75 kB / 0.5447 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.1202, allocations: 203 kB / 0.5449 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005723/0.1208, allocations: 454 kB / 0.5453 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1208, allocations: 0 / 0.5453 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1208, allocations: 0 / 0.5453 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1208, allocations: 0 / 0.5453 GB, free: 14.44 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.001279/0.1221, allocations: 0.6974 MB / 0.546 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.1222, allocations: 16.03 kB / 0.546 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.795e-05/0.1223, allocations: 74.72 kB / 0.5461 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003459/0.1226, allocations: 64.64 kB / 0.5461 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.1233, allocations: 306.7 kB / 0.5464 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/0.1233, allocations: 29.31 kB / 0.5465 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.1234, allocations: 40.12 kB / 0.5465 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/0.1241, allocations: 359.6 kB / 0.5468 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.1241, allocations: 7.953 kB / 0.5468 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1242, allocations: 16 kB / 0.5469 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.1242, allocations: 11.94 kB / 0.5469 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.1247, allocations: 251.2 kB / 0.5471 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.1269, allocations: 1.525 MB / 0.5486 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.1277, allocations: 404 kB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.128, allocations: 153 kB / 0.5491 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.128, allocations: 8 kB / 0.5491 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.128, allocations: 38.56 kB / 0.5492 GB, free: 10.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 4.679e-06/0.1281, allocations: 3.984 kB / 0.5492 GB, free: 10.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003525/0.1316, allocations: 1.982 MB / 0.5511 GB, free: 7.922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1317, allocations: 191.8 kB / 0.5513 GB, free: 7.691 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.132, allocations: 255 kB / 0.5515 GB, free: 7.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.1321, allocations: 37.7 kB / 0.5516 GB, free: 7.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1322, allocations: 208.7 kB / 0.5518 GB, free: 7.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.1324, allocations: 190.3 kB / 0.552 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.1326, allocations: 102.3 kB / 0.5521 GB, free: 6.891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1327, allocations: 346.8 kB / 0.5524 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.133, allocations: 117.2 kB / 0.5525 GB, free: 6.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.1334, allocations: 299.9 kB / 0.5528 GB, free: 6.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.1341, allocations: 454.2 kB / 0.5532 GB, free: 5.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1341, allocations: 0 / 0.5532 GB, free: 5.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009447/0.1351, allocations: 0.4973 MB / 0.5537 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.1351, allocations: 8 kB / 0.5537 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1351, allocations: 4 kB / 0.5537 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.1352, allocations: 12 kB / 0.5537 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.1357, allocations: 135.8 kB / 0.5539 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/0.1357, allocations: 19.86 kB / 0.5539 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.136, allocations: 23.95 kB / 0.5539 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.136, allocations: 24.34 kB / 0.5539 GB, free: 4.812 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.0002151/0.1363, allocations: 169.7 kB / 0.5541 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.1364, allocations: 43.75 kB / 0.5541 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.1367, allocations: 123.4 kB / 0.5542 GB, free: 4.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.1368, allocations: 11.98 kB / 0.5543 GB, free: 4.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.1368, allocations: 7.875 kB / 0.5543 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1368, allocations: 0 / 0.5543 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.1389, allocations: 1.249 MB / 0.5555 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.1389, allocations: 4 kB / 0.5555 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.1395, allocations: 119.8 kB / 0.5556 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.1395, allocations: 4 kB / 0.5556 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.1395, allocations: 16 kB / 0.5556 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/0.1396, allocations: 8 kB / 0.5556 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.1396, allocations: 4 kB / 0.5556 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1408, allocations: 1.01 MB / 0.5566 GB, free: 1.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1409, allocations: 112.9 kB / 0.5567 GB, free: 1.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.141, allocations: 19.94 kB / 0.5567 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.1414, allocations: 16 kB / 0.5568 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.1415, allocations: 39.83 kB / 0.5568 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.1415, allocations: 23.98 kB / 0.5568 GB, free: 1.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.1417, allocations: 174 kB / 0.557 GB, free: 1.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1417, allocations: 4 kB / 0.557 GB, free: 1.484 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007004/0.1424, allocations: 96 kB / 0.5571 GB, free: 1.391 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.001535/0.144, allocations: 1.57 MB / 0.5586 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007326/0.1447, allocations: 344.2 kB / 0.5589 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1447, allocations: 8 kB / 0.5589 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.145, allocations: 167.7 kB / 0.5591 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.1461, allocations: 90.38 kB / 0.5592 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/0.153, allocations: 4.648 MB / 0.5637 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.1536, allocations: 0.8119 MB / 0.5645 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000261/0.1539, allocations: 51.27 kB / 0.5646 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.1542, allocations: 135.4 kB / 0.5647 GB, free: 9.188 MB / 430.1 MB Notification: Performance of SimCode: time 1.203e-06/0.1542, allocations: 192 / 0.5647 GB, free: 9.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.1876, allocations: 7.758 MB / 0.5723 GB, free: 1.559 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.817/9.005, allocations: 19.72 kB / 0.5723 GB, free: 1.543 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 --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.091369223082438] 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.078503608005121 9.092938939 8.969340247 Calling exit ...