Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001325, allocations: 208.6 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.423/1.423, 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.2546/0.2546, allocations: 46.11 MB / 344.2 MB, free: 11.51 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.002226/0.002226, allocations: 76.53 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1205, allocations: 62.47 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01477/0.1353, allocations: 12.62 MB / 492.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008832/0.1442, allocations: 4.501 MB / 497.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.1457, allocations: 83.75 kB / 497.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006665/0.1524, allocations: 3.707 MB / 0.4894 GB, free: 140 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.1581, allocations: 2.183 MB / 0.4915 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.161, allocations: 0.9942 MB / 0.4925 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01047/0.1715, allocations: 6.035 MB / 0.4984 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005961/0.1775, allocations: 4.55 MB / 0.5028 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.1806, allocations: 1.943 MB / 0.5047 GB, free: 344 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2156/0.3963, allocations: 2.609 MB / 0.5073 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.3979, allocations: 407.3 kB / 0.5077 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.4012, allocations: 1.436 MB / 0.5091 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003057/0.4043, allocations: 2.421 MB / 0.5114 GB, free: 18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005279/0.4096, allocations: 2.762 MB / 0.5141 GB, free: 17.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4221, allocations: 8.491 MB / 0.5224 GB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4221, allocations: 0.7188 kB / 0.5224 GB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4221, allocations: 0 / 0.5224 GB, free: 15.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003792/0.4225, allocations: 0.5625 kB / 0.5224 GB, free: 15.26 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02111/0.4436, allocations: 6.185 MB / 0.5285 GB, free: 12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.4437, allocations: 10.72 kB / 0.5285 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003137/0.4468, allocations: 0.8158 MB / 0.5293 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03823/0.4851, allocations: 6.022 MB / 0.5351 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/0.4956, allocations: 4.069 MB / 0.5391 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.4958, allocations: 277.1 kB / 0.5394 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/0.4974, allocations: 379.5 kB / 0.5397 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0233/0.5207, allocations: 11.46 MB / 0.5509 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000307/0.5211, allocations: 64.17 kB / 0.551 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001862/0.523, allocations: 182.4 kB / 0.5512 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004435/0.5274, allocations: 2.145 MB / 0.5533 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02224/0.5497, allocations: 9.357 MB / 0.5624 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06797/0.6177, allocations: 45.38 MB / 0.6067 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.6286, allocations: 3.805 MB / 0.6104 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/0.6317, allocations: 2.036 MB / 0.6124 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01249/0.6442, allocations: 6.232 MB / 0.6185 GB, free: 6.539 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/0.6443, allocations: 51.5 kB / 0.6186 GB, free: 6.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=154): time 4.438e-06/0.6443, allocations: 0 / 0.6186 GB, free: 6.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=166): time 0.04605/0.6904, allocations: 14.72 MB / 0.6329 GB, free: 7.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.6905, allocations: 200 kB / 0.6331 GB, free: 7.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01141/0.702, allocations: 5.618 MB / 0.6386 GB, free: 1.852 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004204/0.7024, allocations: 49.7 kB / 0.6387 GB, free: 1.797 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003534/0.706, allocations: 3.735 MB / 0.6423 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001102/0.7071, allocations: 0.6653 MB / 0.6429 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002332/0.7094, allocations: 1.344 MB / 0.6443 GB, free: 12.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7096, allocations: 301.1 kB / 0.6445 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003525/0.7131, allocations: 2.094 MB / 0.6466 GB, free: 9.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00827/0.7214, allocations: 6.346 MB / 0.6528 GB, free: 1.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/0.7341, allocations: 9.18 MB / 0.6618 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/0.7343, allocations: 44 kB / 0.6618 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01912/0.7534, allocations: 8.64 MB / 0.6702 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.7536, allocations: 72 kB / 0.6703 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002322/0.7538, allocations: 148.8 kB / 0.6704 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.7559, allocations: 0.7127 MB / 0.6711 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005416/0.7613, allocations: 1.513 MB / 0.6726 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008678/0.77, allocations: 6.825 MB / 0.6793 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005992/0.776, allocations: 347.3 kB / 0.6796 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/0.7776, allocations: 419.9 kB / 0.68 GB, free: 3.664 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.twoHeadedArrow,frameForce1.arrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (804): * Single equations (assignments): 797 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.006706/0.7843, allocations: 2.458 MB / 0.6824 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/0.7854, allocations: 465.9 kB / 0.6829 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005806/0.7912, allocations: 2.688 MB / 0.6855 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.345e-05/0.7913, allocations: 20 kB / 0.6855 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.7913, allocations: 8 kB / 0.6855 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.7914, allocations: 11.97 kB / 0.6855 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/0.8088, allocations: 7.462 MB / 0.6928 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.8089, allocations: 288 / 0.6928 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.8104, allocations: 303.5 kB / 0.6931 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.8119, allocations: 489.2 kB / 0.6936 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/0.8121, allocations: 35.12 kB / 0.6936 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007593/0.8197, allocations: 6.21 MB / 0.6997 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.8198, allocations: 7.938 kB / 0.6997 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008085/0.8279, allocations: 4.957 MB / 0.7045 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/0.8298, allocations: 0.5146 MB / 0.705 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/0.8309, allocations: 32 kB / 0.705 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/0.8328, allocations: 71.91 kB / 0.7051 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/0.8331, allocations: 100.8 kB / 0.7052 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.8333, allocations: 50.64 kB / 0.7053 GB, free: 9.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007854/0.8411, allocations: 3.605 MB / 0.7088 GB, free: 5.773 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8412, allocations: 0 / 0.7088 GB, free: 5.773 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007401/0.8486, allocations: 1.09 MB / 0.7098 GB, free: 4.684 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.2252/1.074, allocations: 5.597 MB / 0.7153 GB, free: 191.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.084, allocations: 5.899 MB / 0.7211 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.084, allocations: 0 / 0.7211 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002173/1.086, allocations: 1.485 MB / 0.7225 GB, free: 189.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/1.091, allocations: 0.6378 MB / 0.7231 GB, free: 189.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08237/1.173, allocations: 65.49 MB / 0.7871 GB, free: 131.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005973/1.179, allocations: 3.761 MB / 0.7908 GB, free: 128.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005844/1.185, allocations: 2.14 MB / 0.7929 GB, free: 126.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004361/1.189, allocations: 2.307 MB / 0.7951 GB, free: 123.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.313e-06/1.189, allocations: 0 / 0.7951 GB, free: 123.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/1.331, allocations: 89.46 MB / 0.8825 GB, free: 34.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.92, allocations: 8.047 kB / 0.8825 GB, free: 34.7 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_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_FrameForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)