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.001761/0.001761, 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.001979/0.001979, 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.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2318/0.2318, 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.003223/0.003223, allocations: 77.66 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1406, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01551/0.1562, allocations: 12.64 MB / 492.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009786/0.166, allocations: 4.505 MB / 497.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.1679, allocations: 83.75 kB / 497.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007796/0.1758, allocations: 3.707 MB / 0.4894 GB, free: 136 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.1821, allocations: 2.174 MB / 0.4915 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.1849, allocations: 1.002 MB / 0.4925 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01037/0.1953, allocations: 6.026 MB / 0.4984 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006535/0.2019, allocations: 4.557 MB / 0.5028 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.2055, allocations: 1.943 MB / 0.5047 GB, free: 344 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2077/0.4131, allocations: 2.606 MB / 0.5073 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.4145, allocations: 407.9 kB / 0.5077 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.4174, allocations: 1.436 MB / 0.5091 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002491/0.4199, allocations: 2.421 MB / 0.5114 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00291/0.4228, allocations: 2.762 MB / 0.5141 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009083/0.4319, allocations: 8.487 MB / 0.5224 GB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.432, allocations: 2.672 kB / 0.5224 GB, free: 15.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.432, allocations: 0 / 0.5224 GB, free: 15.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003036/0.4323, allocations: 1.75 kB / 0.5224 GB, free: 15.07 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.01751/0.4498, allocations: 6.183 MB / 0.5285 GB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4499, allocations: 14.3 kB / 0.5285 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001882/0.4518, allocations: 0.8181 MB / 0.5293 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03733/0.4891, allocations: 6.025 MB / 0.5351 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009121/0.4983, allocations: 4.054 MB / 0.5391 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.4986, allocations: 288.4 kB / 0.5394 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001799/0.5004, allocations: 374 kB / 0.5397 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02147/0.5219, allocations: 11.46 MB / 0.5509 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/0.5221, allocations: 63.42 kB / 0.551 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/0.5233, allocations: 180.8 kB / 0.5512 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003896/0.5272, allocations: 2.147 MB / 0.5533 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02069/0.5479, allocations: 9.361 MB / 0.5624 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06692/0.6149, allocations: 45.37 MB / 0.6067 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.6261, allocations: 3.801 MB / 0.6104 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/0.6293, allocations: 2.038 MB / 0.6124 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/0.6425, allocations: 6.241 MB / 0.6185 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.6426, allocations: 43.56 kB / 0.6186 GB, free: 6.352 MB / 462.1 MB Notification: Performance of pre-optimization done (n=154): time 4.869e-06/0.6426, allocations: 4 kB / 0.6186 GB, free: 6.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=166): time 0.04906/0.6917, allocations: 14.71 MB / 0.6329 GB, free: 7.547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.6919, allocations: 200.2 kB / 0.6331 GB, free: 7.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01196/0.7038, allocations: 5.618 MB / 0.6386 GB, free: 1.715 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005568/0.7044, allocations: 48.83 kB / 0.6386 GB, free: 1.664 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004474/0.7089, allocations: 3.735 MB / 0.6423 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.7101, allocations: 0.6649 MB / 0.6429 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002955/0.7131, allocations: 1.343 MB / 0.6443 GB, free: 11.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.7132, allocations: 305.1 kB / 0.6445 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/0.7168, allocations: 2.094 MB / 0.6466 GB, free: 9.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00785/0.7247, allocations: 6.338 MB / 0.6528 GB, free: 1.137 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/0.7369, allocations: 9.195 MB / 0.6618 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/0.7371, allocations: 44 kB / 0.6618 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=864) (initialization): time 0.01986/0.7569, allocations: 8.634 MB / 0.6702 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002312/0.7572, allocations: 72 kB / 0.6703 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002961/0.7575, allocations: 148 kB / 0.6704 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/0.7598, allocations: 0.7021 MB / 0.6711 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005708/0.7655, allocations: 1.524 MB / 0.6726 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00902/0.7746, allocations: 6.83 MB / 0.6793 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005669/0.7803, allocations: 343.3 kB / 0.6796 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/0.7818, allocations: 418.3 kB / 0.68 GB, free: 3.531 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.006029/0.7878, allocations: 2.455 MB / 0.6824 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/0.789, allocations: 458 kB / 0.6828 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00611/0.7951, allocations: 2.696 MB / 0.6855 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.161e-05/0.7952, allocations: 26.8 kB / 0.6855 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.7952, allocations: 4 kB / 0.6855 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.7952, allocations: 3.984 kB / 0.6855 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/0.8152, allocations: 7.471 MB / 0.6928 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.8153, allocations: 3.938 kB / 0.6928 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/0.8168, allocations: 303.8 kB / 0.6931 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.8184, allocations: 495.5 kB / 0.6936 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.8186, allocations: 31.98 kB / 0.6936 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007943/0.8266, allocations: 6.198 MB / 0.6997 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.8266, allocations: 4 kB / 0.6997 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008507/0.8351, allocations: 4.968 MB / 0.7045 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.8367, allocations: 0.5146 MB / 0.705 GB, free: 9.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/0.8377, allocations: 32 kB / 0.705 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/0.8397, allocations: 76 kB / 0.7051 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002938/0.84, allocations: 100.7 kB / 0.7052 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.8401, allocations: 51.12 kB / 0.7053 GB, free: 9.219 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007461/0.8476, allocations: 3.601 MB / 0.7088 GB, free: 5.641 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8476, allocations: 0 / 0.7088 GB, free: 5.641 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006749/0.8544, allocations: 1.098 MB / 0.7099 GB, free: 4.543 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.2238/1.078, allocations: 5.597 MB / 0.7153 GB, free: 191.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.09, allocations: 5.891 MB / 0.7211 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.09, allocations: 0 / 0.7211 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/1.092, allocations: 1.489 MB / 0.7225 GB, free: 190 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/1.096, allocations: 0.635 MB / 0.7231 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08195/1.178, allocations: 65.49 MB / 0.7871 GB, free: 131.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005107/1.183, allocations: 3.764 MB / 0.7908 GB, free: 128 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005137/1.189, allocations: 2.132 MB / 0.7929 GB, free: 125.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004267/1.193, allocations: 2.315 MB / 0.7951 GB, free: 123.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/1.193, allocations: 0 / 0.7951 GB, free: 123.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1452/1.338, allocations: 89.46 MB / 0.8825 GB, free: 34.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.86, allocations: 5.844 kB / 0.8825 GB, free: 34.45 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1)