Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.WorldForces2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001474/0.001475, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002283/0.002284, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.225/0.225, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB 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.002239/0.002239, allocations: 76.83 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1279, allocations: 62.46 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01902/0.147, allocations: 15.41 MB / 495.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.1589, allocations: 5.057 MB / 0.4889 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003821/0.1628, allocations: 107.7 kB / 0.489 GB, free: 496 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009957/0.1728, allocations: 4.988 MB / 0.4939 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007974/0.1808, allocations: 2.512 MB / 0.4964 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.1842, allocations: 1.236 MB / 0.4976 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2429/0.4271, allocations: 7.922 MB / 0.5053 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008323/0.4355, allocations: 5.96 MB / 0.5111 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005793/0.4413, allocations: 2.496 MB / 0.5136 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007289/0.4486, allocations: 3.433 MB / 0.5169 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003531/0.4522, allocations: 0.5342 MB / 0.5174 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006074/0.4583, allocations: 1.545 MB / 0.519 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005306/0.4637, allocations: 3.135 MB / 0.522 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006244/0.4699, allocations: 3.555 MB / 0.5255 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.4826, allocations: 10.69 MB / 0.5359 GB, free: 5.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4826, allocations: 4 kB / 0.5359 GB, free: 5.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4826, allocations: 3.984 kB / 0.5359 GB, free: 5.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000393/0.483, allocations: 0 / 0.5359 GB, free: 5.707 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.01888/0.5019, allocations: 7.763 MB / 0.5435 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.502, allocations: 9.031 kB / 0.5435 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003355/0.5053, allocations: 1.021 MB / 0.5445 GB, free: 0 / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05657/0.5619, allocations: 8.26 MB / 0.5526 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.5743, allocations: 5.318 MB / 0.5578 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.5747, allocations: 364 kB / 0.5581 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/0.5763, allocations: 494.1 kB / 0.5586 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02727/0.6036, allocations: 14.06 MB / 0.5723 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000236/0.6039, allocations: 73.62 kB / 0.5724 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009524/0.6049, allocations: 231.8 kB / 0.5726 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004772/0.6096, allocations: 2.533 MB / 0.5751 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02633/0.636, allocations: 11.4 MB / 0.5862 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07987/0.7159, allocations: 55.21 MB / 0.6401 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.7289, allocations: 4.507 MB / 0.6445 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004265/0.7332, allocations: 2.749 MB / 0.6472 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.7334, allocations: 48.48 kB / 0.6473 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.107e-05/0.7334, allocations: 59.56 kB / 0.6473 GB, free: 6.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=190): time 4.158e-06/0.7334, allocations: 0 / 0.6473 GB, free: 6.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=208): time 0.05947/0.7929, allocations: 20.31 MB / 0.6672 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.7931, allocations: 255.9 kB / 0.6674 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01174/0.8049, allocations: 6.717 MB / 0.674 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004709/0.8054, allocations: 57.7 kB / 0.674 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003908/0.8093, allocations: 4.547 MB / 0.6785 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/0.8105, allocations: 0.83 MB / 0.6793 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002336/0.8129, allocations: 1.557 MB / 0.6808 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.813, allocations: 305.1 kB / 0.6811 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004022/0.817, allocations: 2.56 MB / 0.6836 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009323/0.8264, allocations: 7.433 MB / 0.6908 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/0.8407, allocations: 10.86 MB / 0.7015 GB, free: 10.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.8409, allocations: 48 kB / 0.7015 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02013/0.861, allocations: 10.42 MB / 0.7117 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.8611, allocations: 76 kB / 0.7117 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002115/0.8614, allocations: 176 kB / 0.7119 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2158/1.077, allocations: 0.9893 MB / 0.7129 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006227/1.083, allocations: 1.825 MB / 0.7147 GB, free: 183.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/1.094, allocations: 10.14 MB / 0.7246 GB, free: 177.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0064/1.1, allocations: 414.8 kB / 0.725 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/1.102, allocations: 478.7 kB / 0.7254 GB, free: 177.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (937): * Single equations (assignments): 931 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,13,100.0%), (1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007896/1.11, allocations: 2.953 MB / 0.7283 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.111, allocations: 0.5546 MB / 0.7288 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006962/1.118, allocations: 3.729 MB / 0.7325 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/1.118, allocations: 24.22 kB / 0.7325 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.118, allocations: 8.516 kB / 0.7325 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.12e-05/1.118, allocations: 15.34 kB / 0.7325 GB, free: 175 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/1.134, allocations: 9.99 MB / 0.7423 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.134, allocations: 1.125 kB / 0.7423 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/1.136, allocations: 401.9 kB / 0.7427 GB, free: 171.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/1.138, allocations: 0.7214 MB / 0.7434 GB, free: 171.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/1.138, allocations: 35.31 kB / 0.7434 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007654/1.145, allocations: 9.247 MB / 0.7524 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.145, allocations: 3.5 kB / 0.7524 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008258/1.154, allocations: 6.558 MB / 0.7589 GB, free: 162.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.155, allocations: 0.6133 MB / 0.7594 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008085/1.156, allocations: 33.53 kB / 0.7595 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/1.158, allocations: 108.9 kB / 0.7596 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/1.159, allocations: 124.8 kB / 0.7597 GB, free: 162 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.159, allocations: 49.97 kB / 0.7598 GB, free: 162 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007164/1.166, allocations: 4.303 MB / 0.764 GB, free: 159.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.61e-07/1.166, allocations: 0.875 kB / 0.764 GB, free: 159.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008033/1.174, allocations: 1.369 MB / 0.7653 GB, free: 158.1 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (160): * Single equations (assignments): 154 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008116/1.182, allocations: 7.228 MB / 0.7724 GB, free: 151.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.193, allocations: 7.319 MB / 0.7795 GB, free: 144.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.193, allocations: 2 kB / 0.7795 GB, free: 144.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/1.196, allocations: 2.074 MB / 0.7815 GB, free: 142.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005379/1.201, allocations: 0.7957 MB / 0.7823 GB, free: 141.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.102/1.303, allocations: 84.08 MB / 0.8644 GB, free: 45.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007351/1.31, allocations: 4.509 MB / 0.8688 GB, free: 41.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006392/1.317, allocations: 2.508 MB / 0.8713 GB, free: 38.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004165/1.321, allocations: 2.94 MB / 0.8741 GB, free: 35.79 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/1.321, allocations: 0 / 0.8741 GB, free: 35.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3974/1.718, allocations: 111.6 MB / 0.9831 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/15.15, allocations: 8.812 kB / 0.9831 GB, free: 167.5 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)