Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.002129/0.002129, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001886/0.001886, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.46/1.46, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2241/0.2241, allocations: 46.88 MB / 357.4 MB, free: 10.51 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.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce",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.002267/0.002267, allocations: 87.86 kB / 0.4912 GB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1255, allocations: 65.98 MB / 0.5557 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003511/0.129, allocations: 2.077 MB / 0.5577 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1302, allocations: 0.6117 MB / 0.5583 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1303, allocations: 0 / 0.5583 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.1304, allocations: 19.8 kB / 0.5583 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.1305, allocations: 47.62 kB / 0.5584 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.1309, allocations: 75.83 kB / 0.5584 GB, free: 3.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.1312, allocations: 187.2 kB / 0.5586 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1313, allocations: 37.47 kB / 0.5586 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1315, allocations: 91.75 kB / 0.5587 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1317, allocations: 75.67 kB / 0.5588 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.1317, allocations: 20 kB / 0.5588 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.205e-05/0.1318, allocations: 20 kB / 0.5588 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.1318, allocations: 35.83 kB / 0.5589 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.1319, allocations: 79.64 kB / 0.5589 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1322, allocations: 175.2 kB / 0.5591 GB, free: 2.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1322, allocations: 0 / 0.5591 GB, free: 2.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1322, allocations: 0 / 0.5591 GB, free: 2.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1322, allocations: 0 / 0.5591 GB, free: 2.855 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.0008706/0.1331, allocations: 470.9 kB / 0.5596 GB, free: 2.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1331, allocations: 8.031 kB / 0.5596 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.1332, allocations: 42.75 kB / 0.5596 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.1334, allocations: 24.83 kB / 0.5596 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1337, allocations: 223 kB / 0.5598 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1337, allocations: 8.609 kB / 0.5599 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.1337, allocations: 15.94 kB / 0.5599 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.1341, allocations: 169.8 kB / 0.56 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1341, allocations: 3.953 kB / 0.56 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1341, allocations: 8 kB / 0.56 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1341, allocations: 4 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1344, allocations: 103.9 kB / 0.5601 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.1354, allocations: 0.6883 MB / 0.5608 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.1357, allocations: 126.6 kB / 0.5609 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.1359, allocations: 60.77 kB / 0.561 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1359, allocations: 0 / 0.561 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1359, allocations: 34.5 kB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.1359, allocations: 0 / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001404/0.1374, allocations: 404.7 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.1374, allocations: 59.39 kB / 0.5615 GB, free: 232 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1375, allocations: 150.2 kB / 0.5616 GB, free: 72 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1376, allocations: 33.69 kB / 0.5617 GB, free: 32 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1377, allocations: 124.4 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.1377, allocations: 67.42 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.1378, allocations: 41.64 kB / 0.5619 GB, free: 15.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.138, allocations: 330.8 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.1382, allocations: 59.95 kB / 0.5622 GB, free: 15.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.1384, allocations: 107.3 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.1388, allocations: 169.2 kB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1388, allocations: 0 / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004952/0.1393, allocations: 225.3 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1393, allocations: 4 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1393, allocations: 4 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1393, allocations: 3.984 kB / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.1396, allocations: 51.91 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1396, allocations: 12.03 kB / 0.5628 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1398, allocations: 11.98 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1398, allocations: 8 kB / 0.5628 GB, free: 14.79 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.0001251/0.1399, allocations: 122.7 kB / 0.5629 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.14, allocations: 11.91 kB / 0.5629 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.14, allocations: 25.17 kB / 0.563 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.14, allocations: 11.92 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.14, allocations: 0 / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.14, allocations: 4 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.1411, allocations: 0.6107 MB / 0.5636 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1411, allocations: 0 / 0.5636 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.1414, allocations: 43.97 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1414, allocations: 7.984 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1414, allocations: 4 kB / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1414, allocations: 0 / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1414, allocations: 0 / 0.5636 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.1419, allocations: 303.2 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1421, allocations: 109 kB / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.1421, allocations: 7.984 kB / 0.564 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1423, allocations: 12 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.1424, allocations: 15.97 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1424, allocations: 8 kB / 0.5641 GB, free: 13.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.801e-05/0.1425, allocations: 123.1 kB / 0.5642 GB, free: 13.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1425, allocations: 0 / 0.5642 GB, free: 13.28 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000277/0.1428, allocations: 36 kB / 0.5642 GB, free: 13.25 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.0008994/0.1437, allocations: 0.8358 MB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.1441, allocations: 163.8 kB / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1441, allocations: 0 / 0.5652 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.1444, allocations: 83.89 kB / 0.5653 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1447, allocations: 22.86 kB / 0.5653 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.1477, allocations: 2.042 MB / 0.5673 GB, free: 9.988 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1481, allocations: 0.721 MB / 0.568 GB, free: 9.242 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.1483, allocations: 29.41 kB / 0.568 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1484, allocations: 47.42 kB / 0.5681 GB, free: 9.164 MB / 430.1 MB Notification: Performance of SimCode: time 1.994e-06/0.1484, allocations: 0 / 0.5681 GB, free: 9.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.1767, allocations: 3.718 MB / 0.5717 GB, free: 5.543 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.735/8.912, allocations: 11.97 kB / 0.5717 GB, free: 5.531 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.869344281032681] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.dens', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 8.987067312002182 9.023894508 8.885524158 Calling exit ...