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.001542/0.001542, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247 MB, free: 10.42 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.2227/0.2227, allocations: 46.12 MB / 344.4 MB, free: 11.45 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: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3499, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01826/0.3682, allocations: 15.52 MB / 0.5458 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.3795, allocations: 4.935 MB / 0.5506 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/0.3828, allocations: 107.7 kB / 0.5507 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00949/0.3923, allocations: 4.988 MB / 0.5556 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007217/0.3996, allocations: 2.478 MB / 0.558 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.4026, allocations: 1.111 MB / 0.5591 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01221/0.4148, allocations: 6.883 MB / 0.5658 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007573/0.4224, allocations: 5.767 MB / 0.5714 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004316/0.4268, allocations: 2.391 MB / 0.5738 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005395/0.4322, allocations: 3.228 MB / 0.5769 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.4337, allocations: 0.5039 MB / 0.5774 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.4371, allocations: 1.393 MB / 0.5788 GB, free: 252 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00315/0.4403, allocations: 2.981 MB / 0.5817 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004892/0.4452, allocations: 3.402 MB / 0.585 GB, free: 9.836 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.4592, allocations: 10.55 MB / 0.5953 GB, free: 15.24 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4593, allocations: 3.938 kB / 0.5953 GB, free: 15.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4593, allocations: 0 / 0.5953 GB, free: 15.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.4596, allocations: 0 / 0.5953 GB, free: 15.23 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.0195/0.4791, allocations: 7.784 MB / 0.6029 GB, free: 7.359 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4792, allocations: 8.031 kB / 0.6029 GB, free: 7.352 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002453/0.4816, allocations: 1.021 MB / 0.6039 GB, free: 6.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03987/0.5215, allocations: 6.23 MB / 0.61 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.5328, allocations: 4.681 MB / 0.6146 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003777/0.5332, allocations: 365.3 kB / 0.6149 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/0.5351, allocations: 479.7 kB / 0.6154 GB, free: 10.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02905/0.5641, allocations: 14.55 MB / 0.6296 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/0.5644, allocations: 71.41 kB / 0.6296 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007796/0.5652, allocations: 223.8 kB / 0.6298 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00508/0.5703, allocations: 2.746 MB / 0.6325 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02774/0.598, allocations: 12.24 MB / 0.6445 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07821/0.6763, allocations: 57.67 MB / 0.7008 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01895/0.6953, allocations: 7.154 MB / 0.7078 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005452/0.7008, allocations: 3.775 MB / 0.7115 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2682/0.9691, allocations: 8.767 MB / 0.72 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.9692, allocations: 58 kB / 0.7201 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 6.011e-06/0.9692, allocations: 0 / 0.7201 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.07115/1.04, allocations: 31.36 MB / 0.7507 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/1.04, allocations: 231.6 kB / 0.7509 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008008/1.048, allocations: 6.676 MB / 0.7575 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007437/1.049, allocations: 65.7 kB / 0.7575 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002418/1.052, allocations: 4.597 MB / 0.762 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/1.053, allocations: 1.141 MB / 0.7631 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001957/1.055, allocations: 1.726 MB / 0.7648 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.001e-05/1.055, allocations: 309.1 kB / 0.7651 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003769/1.059, allocations: 3.393 MB / 0.7684 GB, free: 128.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006138/1.065, allocations: 8.379 MB / 0.7766 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.076, allocations: 12.77 MB / 0.7891 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001332/1.076, allocations: 52 kB / 0.7891 GB, free: 102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1100) (initialization): time 0.02121/1.097, allocations: 13.09 MB / 0.8019 GB, free: 88.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/1.097, allocations: 80 kB / 0.802 GB, free: 88.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/1.098, allocations: 179.9 kB / 0.8022 GB, free: 88.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00398/1.102, allocations: 1.766 MB / 0.8039 GB, free: 86.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006231/1.108, allocations: 1.957 MB / 0.8058 GB, free: 84.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/1.121, allocations: 12.74 MB / 0.8182 GB, free: 71.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/1.128, allocations: 491.5 kB / 0.8187 GB, free: 71.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001227/1.129, allocations: 0.5037 MB / 0.8192 GB, free: 70.94 MB / 0.5606 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.004079/1.133, allocations: 2.98 MB / 0.8221 GB, free: 67.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.134, allocations: 0.5989 MB / 0.8227 GB, free: 67.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009534/1.144, allocations: 6.479 MB / 0.829 GB, free: 60.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-05/1.144, allocations: 32 kB / 0.829 GB, free: 60.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.144, allocations: 8 kB / 0.8291 GB, free: 60.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-05/1.144, allocations: 15.95 kB / 0.8291 GB, free: 60.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/1.164, allocations: 14.23 MB / 0.843 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/1.164, allocations: 4.469 kB / 0.843 GB, free: 46.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/1.167, allocations: 499.2 kB / 0.8435 GB, free: 46.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/1.17, allocations: 1.511 MB / 0.8449 GB, free: 44.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00051/1.171, allocations: 63.98 kB / 0.845 GB, free: 44.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01329/1.184, allocations: 12.05 MB / 0.8568 GB, free: 32.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.184, allocations: 8 kB / 0.8568 GB, free: 32.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.198, allocations: 10.61 MB / 0.8671 GB, free: 21.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/1.2, allocations: 0.6571 MB / 0.8678 GB, free: 20.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008296/1.2, allocations: 51.98 kB / 0.8678 GB, free: 20.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/1.203, allocations: 184.2 kB / 0.868 GB, free: 20.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/1.203, allocations: 181.6 kB / 0.8682 GB, free: 20.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.203, allocations: 75.83 kB / 0.8682 GB, free: 20.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005261/1.209, allocations: 4.282 MB / 0.8724 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/1.209, allocations: 0 / 0.8724 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006497/1.215, allocations: 1.539 MB / 0.8739 GB, free: 14.38 MB / 0.5606 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.01384/1.229, allocations: 11.28 MB / 0.8849 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.242, allocations: 8.373 MB / 0.8931 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.242, allocations: 0 / 0.8931 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006108/1.248, allocations: 3.321 MB / 0.8964 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005142/1.253, allocations: 0.7574 MB / 0.8971 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3637/1.617, allocations: 75.87 MB / 0.9712 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005404/1.622, allocations: 4.54 MB / 0.9756 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005911/1.628, allocations: 2.796 MB / 0.9783 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00431/1.633, allocations: 2.942 MB / 0.9812 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/1.633, allocations: 0 / 0.9812 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1572/1.79, allocations: 117 MB / 1.095 GB, free: 91.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.63/26.43, allocations: 8.578 kB / 1.095 GB, free: 91.08 MB / 0.6387 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)