Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.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.001424/0.001424, allocations: 106.5 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.001541/0.001541, allocations: 223.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.311/1.311, allocations: 230.2 MB / 256.2 MB, free: 8.762 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.1984/0.1984, allocations: 46.89 MB / 359.3 MB, free: 5 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.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass",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.002099/0.002099, allocations: 87.84 kB / 0.494 GB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2478, allocations: 65.98 MB / 0.5584 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008456/0.2563, allocations: 6.833 MB / 0.5651 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004573/0.2608, allocations: 2.455 MB / 0.5675 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000653/0.2615, allocations: 31.94 kB / 0.5675 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.2637, allocations: 1.078 MB / 0.5685 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.2656, allocations: 0.8592 MB / 0.5694 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.2663, allocations: 303.3 kB / 0.5697 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.2687, allocations: 1.873 MB / 0.5715 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.27, allocations: 0.9553 MB / 0.5724 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009872/0.271, allocations: 0.716 MB / 0.5731 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.2724, allocations: 1.059 MB / 0.5742 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.2728, allocations: 128 kB / 0.5743 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.274, allocations: 0.7643 MB / 0.575 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009526/0.275, allocations: 0.9463 MB / 0.576 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.2761, allocations: 1.129 MB / 0.5771 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.28, allocations: 3.73 MB / 0.5807 GB, free: 14.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.28, allocations: 0 / 0.5807 GB, free: 14.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.28, allocations: 0 / 0.5807 GB, free: 14.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.525e-05/0.28, allocations: 4 kB / 0.5807 GB, free: 14.3 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004175/0.2842, allocations: 2.723 MB / 0.5834 GB, free: 11.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2842, allocations: 12.03 kB / 0.5834 GB, free: 11.51 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000497/0.2847, allocations: 454.4 kB / 0.5838 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004989/0.2897, allocations: 1.582 MB / 0.5854 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.2913, allocations: 1.085 MB / 0.5864 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.2914, allocations: 115.3 kB / 0.5865 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/0.2917, allocations: 163.8 kB / 0.5867 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007823/0.2995, allocations: 6.171 MB / 0.5927 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.596e-05/0.2995, allocations: 27.75 kB / 0.5927 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.2997, allocations: 83.89 kB / 0.5928 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00239/0.3021, allocations: 1.441 MB / 0.5942 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008289/0.3104, allocations: 5.393 MB / 0.5995 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02407/0.3345, allocations: 24.8 MB / 0.6237 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004266/0.3388, allocations: 2.267 MB / 0.6259 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.3399, allocations: 0.8908 MB / 0.6268 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/0.3402, allocations: 331 kB / 0.6271 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.3402, allocations: 50.5 kB / 0.6272 GB, free: 13.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.695e-06/0.3402, allocations: 0 / 0.6272 GB, free: 13.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02098/0.3612, allocations: 8.556 MB / 0.6355 GB, free: 4.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.3613, allocations: 144.5 kB / 0.6357 GB, free: 4.234 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/0.3645, allocations: 2.636 MB / 0.6382 GB, free: 1.574 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.447e-05/0.3646, allocations: 45.7 kB / 0.6383 GB, free: 1.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/0.3661, allocations: 2.104 MB / 0.6403 GB, free: 15.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000398/0.3665, allocations: 456.6 kB / 0.6408 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.3675, allocations: 0.8734 MB / 0.6416 GB, free: 14.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3677, allocations: 305.1 kB / 0.6419 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.3695, allocations: 1.332 MB / 0.6432 GB, free: 12.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/0.3735, allocations: 4.104 MB / 0.6472 GB, free: 6.914 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006354/0.3798, allocations: 5.933 MB / 0.653 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.106e-05/0.3799, allocations: 28 kB / 0.653 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008099/0.388, allocations: 5.496 MB / 0.6584 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/0.3881, allocations: 56.02 kB / 0.6585 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.563e-05/0.3882, allocations: 96 kB / 0.6585 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.3892, allocations: 460.8 kB / 0.659 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.3917, allocations: 0.9746 MB / 0.6599 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.3959, allocations: 3.672 MB / 0.6635 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.3981, allocations: 231.6 kB / 0.6637 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003594/0.3984, allocations: 268 kB / 0.664 GB, free: 4.191 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001764/0.4002, allocations: 1.368 MB / 0.6653 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/0.4005, allocations: 230.4 kB / 0.6656 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.4029, allocations: 1.322 MB / 0.6668 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.4029, allocations: 19.98 kB / 0.6669 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4029, allocations: 4 kB / 0.6669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.4029, allocations: 11.92 kB / 0.6669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/0.4093, allocations: 4.179 MB / 0.671 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4093, allocations: 0 / 0.671 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.4099, allocations: 135.8 kB / 0.6711 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008383/0.4107, allocations: 316.5 kB / 0.6714 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.4108, allocations: 23.94 kB / 0.6714 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.4142, allocations: 3.07 MB / 0.6744 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.4142, allocations: 4.031 kB / 0.6744 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004005/0.4182, allocations: 3.071 MB / 0.6774 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.4186, allocations: 291.4 kB / 0.6777 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.4188, allocations: 12 kB / 0.6777 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/0.4195, allocations: 52 kB / 0.6778 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4196, allocations: 56.55 kB / 0.6778 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.4197, allocations: 24 kB / 0.6778 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0022/0.4219, allocations: 1.636 MB / 0.6794 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4219, allocations: 0 / 0.6794 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002603/0.4245, allocations: 0.5935 MB / 0.68 GB, free: 3.512 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004449/0.4289, allocations: 3.698 MB / 0.6836 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004524/0.4335, allocations: 3.1 MB / 0.6866 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4335, allocations: 0 / 0.6866 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.4345, allocations: 0.804 MB / 0.6874 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4356, allocations: 216.6 kB / 0.6876 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/0.4704, allocations: 28.41 MB / 0.7154 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/0.4727, allocations: 2.171 MB / 0.7175 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002675/0.4754, allocations: 1.379 MB / 0.7188 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.4767, allocations: 1.023 MB / 0.7198 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/0.4767, allocations: 0 / 0.7198 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2588/0.7355, allocations: 38.89 MB / 0.7578 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.44, allocations: 4.922 kB / 0.7578 GB, free: 168.2 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.99847182301164]