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.001637/0.001637, allocations: 109.1 kB / 21.22 MB, free: 0.7461 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.001683/0.001683, allocations: 212.7 kB / 24.52 MB, free: 4.141 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.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2069/0.2069, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.002275/0.002275, allocations: 79.88 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2741, allocations: 66.08 MB / 0.5615 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003188/0.2773, allocations: 2.086 MB / 0.5635 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2783, allocations: 0.6127 MB / 0.5641 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.2784, allocations: 4 kB / 0.5641 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.757e-05/0.2785, allocations: 23.72 kB / 0.5642 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.395e-05/0.2786, allocations: 39.64 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.2789, allocations: 79.83 kB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.2792, allocations: 187.3 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2793, allocations: 39.48 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2795, allocations: 79.77 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.2796, allocations: 79.67 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.2797, allocations: 16 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-05/0.2797, allocations: 16 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.2797, allocations: 39.83 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.2798, allocations: 75.66 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.2801, allocations: 191.2 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2801, allocations: 0 / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2801, allocations: 0 / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2801, allocations: 0 / 0.565 GB, free: 0.7617 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.0007181/0.2808, allocations: 385.8 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2808, allocations: 8.031 kB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.626e-05/0.2809, allocations: 8.422 kB / 0.5654 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.378e-05/0.2809, allocations: 50.72 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.2811, allocations: 24.83 kB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.2813, allocations: 154.8 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2813, allocations: 16.3 kB / 0.5656 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.2813, allocations: 12 kB / 0.5656 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.2817, allocations: 161.9 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.2818, allocations: 11.89 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.2818, allocations: 4 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.2818, allocations: 8 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.2821, allocations: 111.9 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008888/0.283, allocations: 0.6481 MB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.2833, allocations: 138.5 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.2835, allocations: 52.84 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.2835, allocations: 0 / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.2835, allocations: 42.55 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.2835, allocations: 0 / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001324/0.2848, allocations: 411.2 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.2849, allocations: 51.41 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.285, allocations: 154.2 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.285, allocations: 33.7 kB / 0.5674 GB, free: 14.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.2851, allocations: 116.4 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.2852, allocations: 67.42 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.2853, allocations: 45.58 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2854, allocations: 330.8 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.2856, allocations: 67.95 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.2858, allocations: 99.33 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.2862, allocations: 175.3 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2862, allocations: 0 / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004875/0.2867, allocations: 220 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2867, allocations: 8 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2867, allocations: 0 / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2867, allocations: 7.938 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.287, allocations: 47.91 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.287, allocations: 0 / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.2872, allocations: 15.98 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2872, allocations: 8.094 kB / 0.5685 GB, free: 12.9 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.0001242/0.2873, allocations: 133.8 kB / 0.5686 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.2873, allocations: 15.91 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.2874, allocations: 21.12 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.2874, allocations: 3.938 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2874, allocations: 0 / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2874, allocations: 0 / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2884, allocations: 0.5879 MB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2884, allocations: 0 / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.2887, allocations: 43.91 kB / 0.5693 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2887, allocations: 3.938 kB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2887, allocations: 4 kB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2887, allocations: 0 / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2887, allocations: 8 kB / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.2892, allocations: 299.3 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.2893, allocations: 31.86 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.2893, allocations: 4 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.2895, allocations: 19.98 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.2896, allocations: 19.97 kB / 0.5697 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.2896, allocations: 4 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.2897, allocations: 123.2 kB / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2897, allocations: 0 / 0.5698 GB, free: 11.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.2899, 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.0008294/0.2908, allocations: 0.8358 MB / 0.5706 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.2912, allocations: 163.8 kB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2912, allocations: 192 / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.2914, allocations: 90.98 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.0003308/0.2918, allocations: 18.03 kB / 0.5709 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.2946, allocations: 2.035 MB / 0.5729 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.2949, allocations: 0.7209 MB / 0.5736 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.2951, allocations: 25.42 kB / 0.5736 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.2952, allocations: 47.42 kB / 0.5737 GB, free: 7.395 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2952, allocations: 0 / 0.5737 GB, free: 7.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3189, allocations: 3.95 MB / 0.5775 GB, free: 3.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.74, allocations: 14.95 kB / 0.5775 GB, free: 3.555 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.469555029005278] Failed to read output from testmodel.py, exit status != 0: ['time', 'gasForce.f', 'gasForce.T', 'gasForce.V', 'gasForce.v_rel', 'gasForce.press'] 11.897682213049848 11.927355655 11.642240144 Calling exit ...