Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.00104, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009624/0.0009621, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3757/0.3757, allocations: 40 MB / 310.4 MB, free: 9.719 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000579/0.0005792, allocations: 19.98 kB / 378.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1533, allocations: 57.95 MB / 436.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3238/0.4771, allocations: 81.75 MB / 0.5064 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04328/0.5204, allocations: 16.45 MB / 0.5225 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01973/0.5402, allocations: 384.2 kB / 0.5228 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01825/0.5585, allocations: 4.298 MB / 0.527 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04602/0.6045, allocations: 12.5 MB / 0.5392 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006794/0.6114, allocations: 0.893 MB / 0.5401 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05206/0.6634, allocations: 36.11 MB / 0.5754 GB, free: 9.844 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01237/0.6759, allocations: 7.411 MB / 0.5826 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005123/0.6811, allocations: 2.016 MB / 0.5846 GB, free: 364 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00572/0.6868, allocations: 3.151 MB / 0.5876 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001614/0.6885, allocations: 228 kB / 0.5879 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003424/0.6919, allocations: 1.01 MB / 0.5889 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003826/0.6958, allocations: 2.77 MB / 0.5916 GB, free: 9.184 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.6983, allocations: 1.298 MB / 0.5928 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.7096, allocations: 8.584 MB / 0.6012 GB, free: 15.27 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.7097, allocations: 0 / 0.6012 GB, free: 15.27 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.7097, allocations: 0 / 0.6012 GB, free: 15.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004395/0.7101, allocations: 0 / 0.6012 GB, free: 15.27 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.01635/0.7265, allocations: 6.475 MB / 0.6075 GB, free: 8.711 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.7266, allocations: 12.03 kB / 0.6075 GB, free: 8.699 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01302/0.7396, allocations: 2.873 MB / 0.6103 GB, free: 5.812 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.7513, allocations: 4.396 MB / 0.6146 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.7517, allocations: 373.6 kB / 0.615 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/0.7541, allocations: 0.4996 MB / 0.6155 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3094/1.063, allocations: 15.67 MB / 0.6308 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003267/1.064, allocations: 60.56 kB / 0.6308 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001437/1.065, allocations: 236.1 kB / 0.6311 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004729/1.07, allocations: 3.01 MB / 0.634 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/1.095, allocations: 13.38 MB / 0.6471 GB, free: 141.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08211/1.177, allocations: 61.09 MB / 0.7067 GB, free: 100.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/1.195, allocations: 7.628 MB / 0.7142 GB, free: 95.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006515/1.201, allocations: 4.156 MB / 0.7182 GB, free: 91.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02139/1.223, allocations: 9.825 MB / 0.7278 GB, free: 81.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/1.223, allocations: 80.47 kB / 0.7279 GB, free: 81.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 8.917e-06/1.223, allocations: 0 / 0.7279 GB, free: 81.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.08529/1.308, allocations: 34.29 MB / 0.7614 GB, free: 46.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.309, allocations: 243.8 kB / 0.7616 GB, free: 46.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009552/1.318, allocations: 6.854 MB / 0.7683 GB, free: 39.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00103/1.319, allocations: 73.7 kB / 0.7684 GB, free: 39.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003001/1.322, allocations: 4.63 MB / 0.7729 GB, free: 34.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001913/1.324, allocations: 1.188 MB / 0.7741 GB, free: 33.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/1.325, allocations: 188 kB / 0.7743 GB, free: 33.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003982/1.325, allocations: 0.6906 MB / 0.7749 GB, free: 32.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/1.331, allocations: 3.871 MB / 0.7787 GB, free: 29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008309/1.339, allocations: 9.044 MB / 0.7875 GB, free: 17.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008197/1.347, allocations: 5.768 MB / 0.7932 GB, free: 11.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/1.347, allocations: 56 kB / 0.7932 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02684/1.374, allocations: 14.73 MB / 0.8076 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/1.374, allocations: 84.95 kB / 0.8077 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000273/1.375, allocations: 180 kB / 0.8079 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005843/1.381, allocations: 2.3 MB / 0.8101 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008514/1.389, allocations: 2.168 MB / 0.8122 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.228/1.617, allocations: 13.21 MB / 0.8251 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006853/1.624, allocations: 0.5418 MB / 0.8257 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/1.625, allocations: 0.5329 MB / 0.8262 GB, free: 139.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (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 (1120): * Single equations (assignments): 1113 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 21,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004988/1.63, allocations: 3.157 MB / 0.8293 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.632, allocations: 0.5755 MB / 0.8298 GB, free: 139.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.643, allocations: 7.748 MB / 0.8374 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-05/1.643, allocations: 34.52 kB / 0.8374 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.643, allocations: 9.062 kB / 0.8374 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/1.643, allocations: 22.89 kB / 0.8375 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02609/1.669, allocations: 16.24 MB / 0.8533 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.943e-05/1.669, allocations: 9.031 kB / 0.8533 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/1.673, allocations: 0.5565 MB / 0.8539 GB, free: 132.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005813/1.679, allocations: 2.021 MB / 0.8558 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007893/1.679, allocations: 59.72 kB / 0.8559 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/1.698, allocations: 12.59 MB / 0.8682 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.698, allocations: 7.781 kB / 0.8682 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/1.716, allocations: 12.3 MB / 0.8802 GB, free: 121 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003306/1.719, allocations: 1.209 MB / 0.8814 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002711/1.722, allocations: 57 kB / 0.8814 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004395/1.726, allocations: 231.4 kB / 0.8817 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008255/1.727, allocations: 195.5 kB / 0.8819 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004345/1.728, allocations: 80.89 kB / 0.8819 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008023/1.736, allocations: 4.377 MB / 0.8862 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/1.736, allocations: 0 / 0.8862 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0108/1.747, allocations: 1.703 MB / 0.8879 GB, free: 118.5 MB / 0.4981 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 (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,72.0%) 16,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/1.748, allocations: 202.2 kB / 0.8881 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01695/1.765, allocations: 9.388 MB / 0.8972 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/1.765, allocations: 7.938 kB / 0.8972 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007671/1.773, allocations: 3.84 MB / 0.901 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008816/1.781, allocations: 0.7191 MB / 0.9017 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03078/1.812, allocations: 18.45 MB / 0.9197 GB, free: 86.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005884/1.818, allocations: 4.797 MB / 0.9244 GB, free: 81.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007485/1.826, allocations: 2.945 MB / 0.9273 GB, free: 78.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/1.827, allocations: 407.3 kB / 0.9277 GB, free: 78.15 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/1.827, allocations: 0 / 0.9277 GB, free: 78.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.1078/1.935, allocations: 65.62 MB / 0.9917 GB, free: 12.62 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) Environment - environmentSimulation: