Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 112.5 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2134/0.2134, allocations: 46.93 MB / 361.7 MB, free: 4.25 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 0.4969 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.292, allocations: 66.03 MB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003461/0.2954, allocations: 2.088 MB / 0.5635 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2966, allocations: 0.6049 MB / 0.5641 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.999e-05/0.2967, allocations: 3.938 kB / 0.5641 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2968, allocations: 23.8 kB / 0.5641 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.2969, allocations: 43.62 kB / 0.5641 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.2972, allocations: 75.81 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.2975, allocations: 187.3 kB / 0.5644 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2976, allocations: 31.55 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.2978, allocations: 87.75 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.2979, allocations: 83.67 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.298, allocations: 16 kB / 0.5646 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.669e-05/0.298, allocations: 16 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.2981, allocations: 39.83 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.641e-05/0.2982, allocations: 83.59 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.2984, allocations: 179.2 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2984, allocations: 0 / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2984, allocations: 0 / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2984, allocations: 0 / 0.5649 GB, free: 0.8906 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.000781/0.2992, allocations: 393.8 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2992, allocations: 8.031 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.028e-05/0.2993, allocations: 8.422 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.2993, allocations: 42.73 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.2995, allocations: 24.84 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.2998, allocations: 168.5 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2998, allocations: 12.36 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.2998, allocations: 12 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.3002, allocations: 161.8 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.3002, allocations: 192 / 0.5657 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.3002, allocations: 4 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3002, allocations: 4 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.3005, allocations: 115.8 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009223/0.3014, allocations: 0.648 MB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003501/0.3018, allocations: 146.5 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.302, allocations: 52.83 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.302, allocations: 4 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.302, allocations: 30.56 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.302, allocations: 0 / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001372/0.3034, allocations: 409 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.3034, allocations: 51.41 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.3036, allocations: 158.2 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3036, allocations: 33.64 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.3037, allocations: 120.3 kB / 0.5674 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.3037, allocations: 67.38 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.3038, allocations: 37.7 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.304, allocations: 330.8 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.3042, allocations: 63.95 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.3044, allocations: 99.39 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004164/0.3048, allocations: 177.5 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3048, allocations: 0 / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000512/0.3053, allocations: 217.4 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3053, allocations: 4 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3053, allocations: 0 / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3054, allocations: 15.97 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.3057, allocations: 55.89 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3057, allocations: 0 / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.3058, allocations: 15.97 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.3058, allocations: 8 kB / 0.5684 GB, free: 13.02 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.0001219/0.306, allocations: 125.8 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.306, allocations: 11.95 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.3061, allocations: 33.05 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3061, allocations: 0 / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3061, allocations: 4 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3061, allocations: 0 / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3072, allocations: 0.5903 MB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3072, allocations: 3.984 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3074, allocations: 47.91 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3074, allocations: 0 / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3074, allocations: 4 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3074, allocations: 4 kB / 0.5692 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3074, allocations: 4 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.308, allocations: 299.3 kB / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.3081, allocations: 27.88 kB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.3081, allocations: 8 kB / 0.5696 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3083, allocations: 11.98 kB / 0.5696 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.3084, allocations: 15.97 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.3084, allocations: 7.938 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.981e-05/0.3085, allocations: 120.1 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3085, allocations: 0 / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.3088, allocations: 44 kB / 0.5697 GB, free: 11.59 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.0008869/0.3096, allocations: 0.8271 MB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.3101, allocations: 167.8 kB / 0.5707 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3101, allocations: 0 / 0.5707 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.3104, allocations: 82.47 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3107, allocations: 23.97 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.3137, allocations: 2.039 MB / 0.5728 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.314, allocations: 0.7169 MB / 0.5735 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.3141, allocations: 33.41 kB / 0.5735 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.3143, allocations: 47.41 kB / 0.5736 GB, free: 7.52 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3143, allocations: 0 / 0.5736 GB, free: 7.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3386, allocations: 3.95 MB / 0.5774 GB, free: 3.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.18, allocations: 9.438 kB / 0.5775 GB, free: 3.715 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce_fmu --startTime=0 --stopTime=1 --stepSize=0.000199601 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_EngineGasForce.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.EngineGasForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.129197183006909] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 12.344346473983023 12.368381456 12.065124888 Calling exit ...