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.001499/0.001499, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001624/0.001624, allocations: 210.1 kB / 24.51 MB, free: 3.941 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.364/1.364, allocations: 230.5 MB / 258.2 MB, free: 7.789 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.2131/0.2131, allocations: 46.95 MB / 361.6 MB, free: 3.949 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.002225/0.002225, allocations: 79.86 kB / 0.4969 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2991, allocations: 66.08 MB / 0.5614 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.0033/0.3024, allocations: 1.991 MB / 0.5634 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.3035, allocations: 0.5737 MB / 0.5639 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.3036, allocations: 8 kB / 0.564 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.3037, allocations: 23.78 kB / 0.564 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3038, allocations: 35.64 kB / 0.564 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.3042, allocations: 79.83 kB / 0.5641 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.3044, allocations: 191.3 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3046, allocations: 35.55 kB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.3047, allocations: 87.7 kB / 0.5644 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3049, allocations: 83.67 kB / 0.5645 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.3049, allocations: 12 kB / 0.5645 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.088e-05/0.305, allocations: 19.98 kB / 0.5645 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.305, allocations: 35.84 kB / 0.5645 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.3051, allocations: 63.72 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3054, allocations: 187.3 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3054, allocations: 0 / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3054, allocations: 0 / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3054, allocations: 4 kB / 0.5648 GB, free: 0.6367 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.0007888/0.3062, allocations: 381.8 kB / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3062, allocations: 12.02 kB / 0.5651 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.867e-05/0.3062, allocations: 4.422 kB / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.3063, allocations: 42.75 kB / 0.5652 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.3064, allocations: 28.83 kB / 0.5652 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3067, allocations: 154.9 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3067, allocations: 20.36 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.3068, allocations: 12 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.3072, allocations: 217.1 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3072, allocations: 3.953 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.3072, allocations: 8 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3072, allocations: 0 / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.3075, allocations: 103.9 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.3084, allocations: 0.6404 MB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.3088, allocations: 130.5 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.3089, allocations: 56.83 kB / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.309, allocations: 0 / 0.5665 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.309, allocations: 34.56 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 9.31e-07/0.309, allocations: 0 / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001371/0.3104, allocations: 411.2 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3104, allocations: 55.41 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3105, allocations: 154.2 kB / 0.5671 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.3106, allocations: 37.64 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.3107, allocations: 120.4 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.3107, allocations: 71.41 kB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.262e-05/0.3108, allocations: 41.66 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.311, allocations: 326.8 kB / 0.5677 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3111, allocations: 67.95 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.3114, allocations: 91.39 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.3118, allocations: 175.3 kB / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3118, allocations: 0 / 0.568 GB, free: 13.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005186/0.3123, allocations: 228 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3123, allocations: 4 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3123, allocations: 4 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3123, allocations: 3.938 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.3127, allocations: 47.95 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.3127, allocations: 7.938 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.3129, allocations: 15.98 kB / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3129, allocations: 4 kB / 0.5683 GB, free: 12.74 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.0001431/0.313, allocations: 129.9 kB / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.3131, allocations: 15.91 kB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.3131, allocations: 21.11 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.3131, allocations: 7.938 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3131, allocations: 3.984 kB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3131, allocations: 0 / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3142, allocations: 0.5683 MB / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3142, allocations: 0 / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.3145, allocations: 39.97 kB / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3145, allocations: 0 / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3145, allocations: 8 kB / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3145, allocations: 0 / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3145, allocations: 0 / 0.5691 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005249/0.3151, allocations: 303.2 kB / 0.5694 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.3151, allocations: 31.88 kB / 0.5694 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.3152, allocations: 4 kB / 0.5694 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.3154, allocations: 11.98 kB / 0.5694 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.3154, allocations: 15.97 kB / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3155, allocations: 4 kB / 0.5695 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.307e-05/0.3155, allocations: 123.2 kB / 0.5696 GB, free: 11.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3155, allocations: 0 / 0.5696 GB, free: 11.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3158, allocations: 36 kB / 0.5696 GB, free: 11.34 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.0008828/0.3167, allocations: 0.8396 MB / 0.5704 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004683/0.3172, allocations: 163.8 kB / 0.5706 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3172, allocations: 0 / 0.5706 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.3174, allocations: 87.17 kB / 0.5707 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3177, allocations: 20 kB / 0.5707 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.3206, allocations: 2.039 MB / 0.5727 GB, free: 8.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3207, allocations: 112 kB / 0.5728 GB, free: 7.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.3208, allocations: 29.41 kB / 0.5728 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.321, allocations: 43.42 kB / 0.5729 GB, free: 7.879 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.321, allocations: 0 / 0.5729 GB, free: 7.879 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3455, allocations: 4.04 MB / 0.5768 GB, free: 3.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.25, allocations: 10.17 kB / 0.5768 GB, free: 3.961 MB / 414.1 MB " [Timeout remaining time 648] (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: 14.976594739011489] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 12.414098339038901 12.44037186 12.131395057 Calling exit ...