Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.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.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, 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.001337/0.001337, 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.462/1.462, 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.3242/0.3242, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002213/0.002213, allocations: 79.55 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1298, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01852/0.1484, allocations: 15.52 MB / 495.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.1597, allocations: 4.929 MB / 0.4889 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.1623, allocations: 103.8 kB / 0.489 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009669/0.172, allocations: 5 MB / 0.4939 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007366/0.1794, allocations: 2.466 MB / 0.4963 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.1826, allocations: 1.104 MB / 0.4974 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.1944, allocations: 6.886 MB / 0.5041 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2413/0.4357, allocations: 5.773 MB / 0.5097 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.4399, allocations: 2.399 MB / 0.5121 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005603/0.4455, allocations: 3.221 MB / 0.5152 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.4478, allocations: 0.5037 MB / 0.5157 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/0.4521, allocations: 1.394 MB / 0.5171 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004967/0.4571, allocations: 2.972 MB / 0.52 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006968/0.4641, allocations: 3.405 MB / 0.5233 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.4768, allocations: 10.2 MB / 0.5333 GB, free: 6.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4768, allocations: 0 / 0.5333 GB, free: 6.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4768, allocations: 0 / 0.5333 GB, free: 6.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004039/0.4772, allocations: 0 / 0.5333 GB, free: 6.52 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01926/0.4965, allocations: 7.593 MB / 0.5407 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4966, allocations: 10.58 kB / 0.5407 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002552/0.4991, allocations: 1.018 MB / 0.5417 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04007/0.5392, allocations: 6.189 MB / 0.5477 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.5502, allocations: 4.587 MB / 0.5522 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.5506, allocations: 354.8 kB / 0.5526 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.5523, allocations: 486 kB / 0.553 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0303/0.5826, allocations: 14.55 MB / 0.5672 GB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002671/0.5829, allocations: 69.23 kB / 0.5673 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/0.584, allocations: 219.7 kB / 0.5675 GB, free: 8.527 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005572/0.5896, allocations: 2.746 MB / 0.5702 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02946/0.6191, allocations: 12.24 MB / 0.5821 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0822/0.7013, allocations: 57.81 MB / 0.6386 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/0.7212, allocations: 7.157 MB / 0.6456 GB, free: 8.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005227/0.7265, allocations: 3.762 MB / 0.6493 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01533/0.7418, allocations: 8.764 MB / 0.6578 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.7419, allocations: 63.31 kB / 0.6579 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=246): time 4.999e-06/0.7419, allocations: 4 kB / 0.6579 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288): time 0.08331/0.8252, allocations: 30.94 MB / 0.6881 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.8254, allocations: 241.5 kB / 0.6883 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/0.8359, allocations: 6.66 MB / 0.6948 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006258/0.8366, allocations: 69.7 kB / 0.6949 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003842/0.8404, allocations: 4.432 MB / 0.6992 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/0.842, allocations: 1.088 MB / 0.7003 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002572/0.8446, allocations: 1.709 MB / 0.702 GB, free: 13.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8447, allocations: 307.8 kB / 0.7023 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005628/0.8503, allocations: 3.401 MB / 0.7056 GB, free: 10.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2286/1.079, allocations: 8.37 MB / 0.7137 GB, free: 164.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.092, allocations: 12.77 MB / 0.7262 GB, free: 158.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/1.092, allocations: 50.59 kB / 0.7263 GB, free: 158.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02537/1.118, allocations: 13.05 MB / 0.739 GB, free: 156.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/1.118, allocations: 86.81 kB / 0.7391 GB, free: 156.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002305/1.118, allocations: 178.1 kB / 0.7393 GB, free: 156.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004882/1.123, allocations: 1.768 MB / 0.741 GB, free: 156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006461/1.13, allocations: 1.958 MB / 0.7429 GB, free: 155.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/1.143, allocations: 12.75 MB / 0.7554 GB, free: 149.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008139/1.151, allocations: 487.3 kB / 0.7558 GB, free: 148.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/1.153, allocations: 0.5034 MB / 0.7563 GB, free: 148.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1020): * Single equations (assignments): 1013 * 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 {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006655/1.16, allocations: 2.986 MB / 0.7592 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001564/1.161, allocations: 0.5609 MB / 0.7598 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/1.172, allocations: 6.478 MB / 0.7661 GB, free: 142.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/1.172, allocations: 31.94 kB / 0.7661 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/1.172, allocations: 12 kB / 0.7661 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/1.172, allocations: 11.95 kB / 0.7662 GB, free: 142.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02193/1.194, allocations: 14.43 MB / 0.7802 GB, free: 129.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/1.194, allocations: 7.938 kB / 0.7803 GB, free: 129.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002302/1.196, allocations: 0.4909 MB / 0.7807 GB, free: 128.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003511/1.2, allocations: 1.516 MB / 0.7822 GB, free: 127.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004096/1.2, allocations: 55.98 kB / 0.7823 GB, free: 127.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/1.212, allocations: 11.95 MB / 0.7939 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.212, allocations: 11.88 kB / 0.7939 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.226, allocations: 10.55 MB / 0.8042 GB, free: 104.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/1.228, allocations: 0.6264 MB / 0.8049 GB, free: 103.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/1.23, allocations: 51.94 kB / 0.8049 GB, free: 103.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/1.233, allocations: 193.5 kB / 0.8051 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007448/1.234, allocations: 180.2 kB / 0.8053 GB, free: 103.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.234, allocations: 79.98 kB / 0.8053 GB, free: 103.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006889/1.241, allocations: 4.282 MB / 0.8095 GB, free: 99.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.51e-07/1.241, allocations: 3.656 kB / 0.8095 GB, free: 99.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008494/1.249, allocations: 1.523 MB / 0.811 GB, free: 97.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01343/1.263, allocations: 11.24 MB / 0.822 GB, free: 86.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0141/1.277, allocations: 10.08 MB / 0.8318 GB, free: 76.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/1.277, allocations: 0 / 0.8318 GB, free: 76.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005071/1.282, allocations: 3.309 MB / 0.8351 GB, free: 72.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006233/1.288, allocations: 0.7484 MB / 0.8358 GB, free: 72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3593/1.648, allocations: 94.21 MB / 0.9278 GB, free: 194.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007888/1.656, allocations: 4.534 MB / 0.9322 GB, free: 193.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008577/1.664, allocations: 2.794 MB / 0.9349 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005562/1.67, allocations: 2.941 MB / 0.9378 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.685e-06/1.67, allocations: 3.969 kB / 0.9378 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.172/1.842, allocations: 122.7 MB / 1.058 GB, free: 91.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/15.43, allocations: 12.05 kB / 1.058 GB, free: 91.48 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)