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.001255/0.001255, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001374/0.001374, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.441/1.441, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2318/0.2318, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.002446/0.002446, allocations: 79.86 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.351, allocations: 66.07 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003574/0.3546, allocations: 2.096 MB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3558, allocations: 0.6088 MB / 0.5641 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3559, allocations: 3.938 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.3561, allocations: 23.78 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.3562, allocations: 43.64 kB / 0.5642 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.3566, allocations: 71.83 kB / 0.5643 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.3569, allocations: 191.3 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.357, allocations: 35.69 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.3572, allocations: 87.75 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.3574, allocations: 75.69 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.3574, allocations: 19.94 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.24e-05/0.3575, allocations: 19.98 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.3575, allocations: 39.84 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.625e-05/0.3576, allocations: 79.66 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.3579, allocations: 175.3 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3579, allocations: 3.938 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3579, allocations: 0 / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3579, allocations: 0 / 0.565 GB, free: 0.75 MB / 398.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.0008393/0.3587, allocations: 385.8 kB / 0.5653 GB, free: 348 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3588, allocations: 8.031 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.3588, allocations: 46.73 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.359, allocations: 28.83 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.3593, allocations: 154.8 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3593, allocations: 12.61 kB / 0.5656 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.3594, allocations: 15.94 kB / 0.5656 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.3598, allocations: 161.9 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3598, allocations: 3.953 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.3598, allocations: 11.92 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.3598, allocations: 7.984 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.3601, allocations: 104.8 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009747/0.3611, allocations: 0.6559 MB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.3615, allocations: 141.8 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.3616, allocations: 60.77 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3616, allocations: 4 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3617, allocations: 34.56 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3617, allocations: 0 / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001434/0.3631, allocations: 409.2 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3632, allocations: 55.41 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3633, allocations: 154.2 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3634, allocations: 29.7 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.3634, allocations: 120.4 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.3635, allocations: 67.41 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.797e-05/0.3636, allocations: 41.72 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3637, allocations: 330.8 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.3639, allocations: 59.97 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3642, allocations: 103.3 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.3646, allocations: 177.7 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3646, allocations: 0 / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005061/0.3651, allocations: 221.4 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3651, allocations: 4 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3651, allocations: 0 / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.3651, allocations: 7.938 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.3654, allocations: 47.91 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3655, allocations: 7.984 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.3656, allocations: 12.09 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.3656, allocations: 11.98 kB / 0.5685 GB, free: 12.88 MB / 414.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.0001265/0.3658, allocations: 125.8 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.3658, allocations: 15.91 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.3659, allocations: 21.12 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3659, allocations: 7.938 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3659, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3659, allocations: 3.984 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.367, allocations: 0.5822 MB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.367, allocations: 0 / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.3672, allocations: 47.91 kB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3672, allocations: 0 / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.3673, allocations: 7.984 kB / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3673, allocations: 4 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3673, allocations: 0 / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.3678, allocations: 303.2 kB / 0.5696 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.3679, allocations: 31.83 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.3679, allocations: 0 / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.3681, allocations: 19.98 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.3682, allocations: 15.97 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3682, allocations: 4 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.25e-05/0.3683, allocations: 115.2 kB / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3683, allocations: 0 / 0.5698 GB, free: 11.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3686, allocations: 36 kB / 0.5698 GB, free: 11.47 MB / 414.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.0008699/0.3695, allocations: 0.8479 MB / 0.5706 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.37, allocations: 156 kB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.37, allocations: 4 kB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.3702, allocations: 83.89 kB / 0.5709 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3706, allocations: 20 kB / 0.5709 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.3737, allocations: 2.04 MB / 0.5729 GB, free: 8.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3741, allocations: 0.7209 MB / 0.5736 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.3743, allocations: 33.34 kB / 0.5736 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3744, allocations: 47.42 kB / 0.5737 GB, free: 7.383 MB / 414.1 MB Notification: Performance of SimCode: time 1.452e-06/0.3744, allocations: 0 / 0.5737 GB, free: 7.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.4031, allocations: 3.816 MB / 0.5774 GB, free: 3.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/9.023, allocations: 7.922 kB / 0.5774 GB, free: 3.641 MB / 414.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.81405422091484] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 9.098763568792492 9.124182083 8.762624446 Calling exit ...