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.0014/0.0014, allocations: 105 kB / 19.74 MB, free: 2.566 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.001477/0.001477, allocations: 217.6 kB / 22.92 MB, free: 5.535 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.32/1.32, allocations: 230.2 MB / 256.2 MB, free: 8.754 MB / 206.1 MB " [Timeout remaining time 179] 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.2004/0.2004, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.00216/0.00216, allocations: 79.86 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.262, allocations: 65.99 MB / 0.5584 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.EngineGasForce): time 0.003155/0.2651, allocations: 2.092 MB / 0.5605 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.2661, allocations: 0.6166 MB / 0.5611 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.2662, allocations: 0 / 0.5611 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.2663, allocations: 19.8 kB / 0.5611 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2664, allocations: 39.64 kB / 0.5611 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.2668, allocations: 83.81 kB / 0.5612 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.267, allocations: 179.3 kB / 0.5614 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2671, allocations: 39.34 kB / 0.5614 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2673, allocations: 79.77 kB / 0.5615 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2675, allocations: 83.66 kB / 0.5616 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.2675, allocations: 20 kB / 0.5616 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.868e-05/0.2675, allocations: 16 kB / 0.5616 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.2676, allocations: 39.78 kB / 0.5616 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.2677, allocations: 75.66 kB / 0.5617 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.2679, allocations: 183.3 kB / 0.5619 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2679, allocations: 3.938 kB / 0.5619 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2679, allocations: 0 / 0.5619 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2679, allocations: 0 / 0.5619 GB, free: 1.625 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.0007384/0.2687, allocations: 459 kB / 0.5623 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2687, allocations: 12.03 kB / 0.5623 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.2687, allocations: 46.73 kB / 0.5624 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.2689, allocations: 24.83 kB / 0.5624 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.2691, allocations: 219.6 kB / 0.5626 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.2692, allocations: 8.609 kB / 0.5626 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.2692, allocations: 15.94 kB / 0.5626 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.2695, allocations: 161.8 kB / 0.5628 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.2695, allocations: 7.953 kB / 0.5628 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.2695, allocations: 4 kB / 0.5628 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2696, allocations: 4 kB / 0.5628 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.2698, allocations: 111.9 kB / 0.5629 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/0.2707, allocations: 0.6844 MB / 0.5636 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.271, allocations: 138.5 kB / 0.5637 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.2712, allocations: 56.77 kB / 0.5638 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.2712, allocations: 4 kB / 0.5638 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.2712, allocations: 34.56 kB / 0.5638 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.2712, allocations: 0 / 0.5638 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001289/0.2725, allocations: 412.4 kB / 0.5642 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2725, allocations: 55.41 kB / 0.5642 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2727, allocations: 150.2 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.2727, allocations: 29.7 kB / 0.5644 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.2728, allocations: 120.4 kB / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.2728, allocations: 71.41 kB / 0.5646 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.2729, allocations: 41.7 kB / 0.5646 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.273, allocations: 322.8 kB / 0.5649 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.2732, allocations: 67.95 kB / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2734, allocations: 103.3 kB / 0.5651 GB, free: 14.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.2738, allocations: 173.7 kB / 0.5653 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2738, allocations: 4 kB / 0.5653 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004767/0.2743, allocations: 221.4 kB / 0.5655 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2743, allocations: 4 kB / 0.5655 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2743, allocations: 0 / 0.5655 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2743, allocations: 7.984 kB / 0.5655 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.2746, allocations: 55.83 kB / 0.5656 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2746, allocations: 8.094 kB / 0.5656 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.2748, allocations: 8 kB / 0.5656 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2748, allocations: 11.98 kB / 0.5656 GB, free: 13.56 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.0001096/0.2749, allocations: 125.8 kB / 0.5657 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.2749, allocations: 15.91 kB / 0.5657 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.275, allocations: 21.19 kB / 0.5657 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.275, allocations: 7.938 kB / 0.5657 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.275, allocations: 0 / 0.5657 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.275, allocations: 7.984 kB / 0.5658 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/0.2759, allocations: 0.6095 MB / 0.5664 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2759, allocations: 0 / 0.5664 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.2762, allocations: 43.91 kB / 0.5664 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2762, allocations: 4 kB / 0.5664 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.2762, allocations: 8 kB / 0.5664 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2762, allocations: 0 / 0.5664 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2762, allocations: 0 / 0.5664 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.2767, allocations: 302.5 kB / 0.5667 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.2768, allocations: 108.9 kB / 0.5668 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.2768, allocations: 8 kB / 0.5668 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.277, allocations: 19.92 kB / 0.5668 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.2771, allocations: 7.984 kB / 0.5668 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2771, allocations: 11.98 kB / 0.5668 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.192e-05/0.2772, allocations: 120.1 kB / 0.567 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2772, allocations: 0 / 0.567 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.2774, allocations: 40 kB / 0.567 GB, free: 12.01 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.0007715/0.2782, allocations: 0.8371 MB / 0.5678 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.2786, allocations: 160 kB / 0.568 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2787, allocations: 0 / 0.568 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.2789, allocations: 82.64 kB / 0.568 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2792, allocations: 27.97 kB / 0.5681 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.2818, allocations: 2.034 MB / 0.5701 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2821, allocations: 0.721 MB / 0.5708 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.2822, allocations: 29.41 kB / 0.5708 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.2823, allocations: 51.41 kB / 0.5708 GB, free: 7.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2823, allocations: 3.938 kB / 0.5708 GB, free: 7.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.307, allocations: 3.706 MB / 0.5745 GB, free: 4.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.31, allocations: 3.938 kB / 0.5745 GB, free: 4.293 MB / 414.1 MB " [Timeout remaining time 653] (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 --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: 9.822508318000473]