Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.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.00156/0.00156, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001823/0.001823, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.419/1.419, allocations: 230.5 MB / 254.7 MB, free: 15.15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.91 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 83.88 kB / 0.4917 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1223, allocations: 66.04 MB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003476/0.1257, allocations: 2.081 MB / 0.5582 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1269, allocations: 0.6078 MB / 0.5588 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.127, allocations: 0 / 0.5588 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.1271, allocations: 19.8 kB / 0.5588 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1272, allocations: 43.58 kB / 0.5588 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.1276, allocations: 87.86 kB / 0.5589 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.1279, allocations: 187.2 kB / 0.5591 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.128, allocations: 29.53 kB / 0.5591 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1281, allocations: 91.75 kB / 0.5592 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1283, allocations: 79.67 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.1283, allocations: 12 kB / 0.5593 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.1284, allocations: 23.94 kB / 0.5593 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.1284, allocations: 39.89 kB / 0.5594 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.513e-05/0.1285, allocations: 79.58 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1288, allocations: 179.2 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1288, allocations: 4 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1288, allocations: 0 / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1288, allocations: 0 / 0.5596 GB, free: 1.969 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008401/0.1296, allocations: 462.9 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1297, allocations: 8.031 kB / 0.5601 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.375e-05/0.1297, allocations: 4.422 kB / 0.5601 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.1297, allocations: 46.73 kB / 0.5601 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1299, allocations: 32.77 kB / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1302, allocations: 208.7 kB / 0.5603 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1302, allocations: 12.36 kB / 0.5604 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.1302, allocations: 15.98 kB / 0.5604 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.1306, allocations: 169.8 kB / 0.5605 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1306, allocations: 3.953 kB / 0.5605 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.1306, allocations: 4 kB / 0.5605 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1306, allocations: 4 kB / 0.5605 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.1309, allocations: 107.9 kB / 0.5607 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000949/0.1319, allocations: 0.6805 MB / 0.5613 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.1323, allocations: 134.5 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.1324, allocations: 56.83 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1324, allocations: 3.938 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1325, allocations: 34.56 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1325, allocations: 0 / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001427/0.1339, allocations: 407.7 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1339, allocations: 55.41 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1341, allocations: 155.1 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1341, allocations: 25.7 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.1342, allocations: 124.3 kB / 0.5623 GB, free: 15.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.1343, allocations: 71.42 kB / 0.5623 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.1344, allocations: 37.7 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1345, allocations: 330.8 kB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1347, allocations: 59.95 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.1349, allocations: 107.3 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.1354, allocations: 166.3 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1354, allocations: 3.938 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000551/0.1359, allocations: 221.4 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1359, allocations: 4 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1359, allocations: 4 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.136, allocations: 7.875 kB / 0.5632 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.1363, allocations: 55.89 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.1363, allocations: 8.094 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.1365, allocations: 11.98 kB / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.1365, allocations: 8 kB / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 22 * 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.0001298/0.1366, allocations: 121.8 kB / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.1367, allocations: 19.91 kB / 0.5635 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.1367, allocations: 13.19 kB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1367, allocations: 7.938 kB / 0.5635 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1367, allocations: 3.984 kB / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1367, allocations: 7.938 kB / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1378, allocations: 0.6084 MB / 0.5641 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1378, allocations: 0 / 0.5641 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.1381, allocations: 43.97 kB / 0.5641 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1381, allocations: 4 kB / 0.5641 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1381, allocations: 8 kB / 0.5641 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1381, allocations: 0 / 0.5641 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1381, allocations: 3.938 kB / 0.5641 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.1387, allocations: 299 kB / 0.5644 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1388, allocations: 113 kB / 0.5645 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.1388, allocations: 4 kB / 0.5645 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.139, allocations: 11.98 kB / 0.5645 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.1391, allocations: 23.91 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1391, allocations: 4 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1392, allocations: 120.1 kB / 0.5647 GB, free: 12.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1392, allocations: 0 / 0.5647 GB, free: 12.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.1395, allocations: 36 kB / 0.5647 GB, free: 12.37 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 19 * 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.0009013/0.1404, allocations: 0.841 MB / 0.5655 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1409, allocations: 164 kB / 0.5657 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1409, allocations: 0 / 0.5657 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.1411, allocations: 79.89 kB / 0.5658 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1415, allocations: 21.67 kB / 0.5658 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.1445, allocations: 2.044 MB / 0.5678 GB, free: 9.105 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1448, allocations: 0.7171 MB / 0.5685 GB, free: 8.363 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.145, allocations: 29.42 kB / 0.5685 GB, free: 8.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.1451, allocations: 47.41 kB / 0.5686 GB, free: 8.285 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1451, allocations: 0 / 0.5686 GB, free: 8.285 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.167, allocations: 3.761 MB / 0.5722 GB, free: 4.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.983/9.15, allocations: 14.41 kB / 0.5722 GB, free: 4.613 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.01731948403176] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 9.278520661988296 9.304170907 9.170843723 Calling exit ...