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.001245/0.001245, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247 MB, free: 10.43 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.12 MB / 344.4 MB, free: 11.46 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.002241/0.002241, allocations: 79.86 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.335, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01774/0.3528, allocations: 15.42 MB / 0.5457 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.364, allocations: 5.061 MB / 0.5506 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.3673, allocations: 103.7 kB / 0.5507 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009964/0.3773, allocations: 5 MB / 0.5556 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008949/0.3863, allocations: 2.497 MB / 0.558 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.3899, allocations: 1.248 MB / 0.5592 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01236/0.4022, allocations: 7.931 MB / 0.567 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007906/0.4102, allocations: 5.948 MB / 0.5728 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.4148, allocations: 2.504 MB / 0.5752 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00559/0.4204, allocations: 3.427 MB / 0.5786 GB, free: 412 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001593/0.422, allocations: 0.5352 MB / 0.5791 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.4256, allocations: 1.553 MB / 0.5806 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003827/0.4295, allocations: 3.125 MB / 0.5837 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005017/0.4345, allocations: 3.547 MB / 0.5871 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01414/0.4487, allocations: 11.04 MB / 0.5979 GB, free: 12.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.4487, allocations: 0 / 0.5979 GB, free: 12.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.851e-06/0.4487, allocations: 4 kB / 0.5979 GB, free: 12.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003558/0.4491, allocations: 0 / 0.5979 GB, free: 12.53 MB / 462.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.02091/0.47, allocations: 7.963 MB / 0.6057 GB, free: 4.469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.4701, allocations: 16.03 kB / 0.6057 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002832/0.4729, allocations: 1.012 MB / 0.6067 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05764/0.5306, allocations: 8.305 MB / 0.6148 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.5431, allocations: 5.43 MB / 0.6201 GB, free: 5.602 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003547/0.5435, allocations: 361.7 kB / 0.6205 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/0.5452, allocations: 491.7 kB / 0.6209 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02994/0.5751, allocations: 14.05 MB / 0.6347 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003112/0.5755, allocations: 71.45 kB / 0.6347 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009881/0.5765, allocations: 231.8 kB / 0.635 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00493/0.5814, allocations: 2.535 MB / 0.6374 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02555/0.607, allocations: 11.4 MB / 0.6486 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0771/0.6842, allocations: 55.11 MB / 0.7024 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/0.6963, allocations: 4.51 MB / 0.7068 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004091/0.7004, allocations: 2.748 MB / 0.7095 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.7006, allocations: 36.95 kB / 0.7095 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.574e-05/0.7007, allocations: 64.12 kB / 0.7096 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 5.981e-06/0.7007, allocations: 0 / 0.7096 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.314/1.015, allocations: 20.72 MB / 0.7298 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/1.015, allocations: 263.5 kB / 0.73 GB, free: 157 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008181/1.023, allocations: 6.74 MB / 0.7366 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003685/1.023, allocations: 52.73 kB / 0.7367 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002277/1.026, allocations: 4.704 MB / 0.7413 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008319/1.026, allocations: 0.8644 MB / 0.7421 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001551/1.028, allocations: 1.577 MB / 0.7437 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.666e-05/1.028, allocations: 301.1 kB / 0.7439 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002816/1.031, allocations: 2.56 MB / 0.7464 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004385/1.035, allocations: 7.435 MB / 0.7537 GB, free: 141 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008559/1.044, allocations: 10.86 MB / 0.7643 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001357/1.044, allocations: 52 kB / 0.7644 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01931/1.063, allocations: 10.44 MB / 0.7746 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002207/1.064, allocations: 80 kB / 0.7746 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002932/1.064, allocations: 172 kB / 0.7748 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002497/1.066, allocations: 0.9953 MB / 0.7758 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005498/1.072, allocations: 1.825 MB / 0.7776 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008557/1.081, allocations: 10.13 MB / 0.7875 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006243/1.087, allocations: 419.5 kB / 0.7879 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.088, allocations: 480.5 kB / 0.7883 GB, free: 102.8 MB / 0.5606 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.004547/1.093, allocations: 2.951 MB / 0.7912 GB, free: 99.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.094, allocations: 0.5781 MB / 0.7918 GB, free: 99.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005719/1.1, allocations: 3.738 MB / 0.7954 GB, free: 95.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/1.1, allocations: 27.45 kB / 0.7954 GB, free: 95.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.1, allocations: 8 kB / 0.7954 GB, free: 95.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/1.1, allocations: 19.84 kB / 0.7955 GB, free: 95.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.118, allocations: 9.95 MB / 0.8052 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.118, allocations: 4 kB / 0.8052 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/1.12, allocations: 395.3 kB / 0.8056 GB, free: 85.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/1.122, allocations: 0.7204 MB / 0.8063 GB, free: 84.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.122, allocations: 39.98 kB / 0.8063 GB, free: 84.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/1.13, allocations: 9.238 MB / 0.8153 GB, free: 74.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.13, allocations: 4.031 kB / 0.8153 GB, free: 74.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008834/1.139, allocations: 6.597 MB / 0.8218 GB, free: 68.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001992/1.141, allocations: 0.6415 MB / 0.8224 GB, free: 67.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/1.141, allocations: 32 kB / 0.8224 GB, free: 67.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/1.143, allocations: 107.9 kB / 0.8225 GB, free: 67.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/1.143, allocations: 113.7 kB / 0.8226 GB, free: 67.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.143, allocations: 56 kB / 0.8227 GB, free: 67.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005649/1.149, allocations: 4.307 MB / 0.8269 GB, free: 62.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.7e-07/1.149, allocations: 7.938 kB / 0.8269 GB, free: 62.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007316/1.156, allocations: 1.363 MB / 0.8282 GB, free: 61.38 MB / 0.5606 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.008467/1.165, allocations: 7.267 MB / 0.8353 GB, free: 54.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008822/1.174, allocations: 6.464 MB / 0.8416 GB, free: 47.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.174, allocations: 3.938 kB / 0.8416 GB, free: 47.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/1.176, allocations: 2.078 MB / 0.8437 GB, free: 45.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/1.181, allocations: 0.8017 MB / 0.8445 GB, free: 44.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1083/1.289, allocations: 66.66 MB / 0.9096 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008566/1.298, allocations: 4.505 MB / 0.914 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006399/1.304, allocations: 2.516 MB / 0.9164 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004715/1.309, allocations: 2.932 MB / 0.9193 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/1.309, allocations: 0 / 0.9193 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4607/1.77, allocations: 106.3 MB / 1.023 GB, free: 178.3 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.95/25.72, allocations: 6.797 kB / 1.023 GB, free: 178.3 MB / 0.6388 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1)