Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008199/0.0008196, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008167/0.008167, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.4175/0.4175, allocations: 40 MB / 310.7 MB, free: 9.555 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.0006244/0.0006242, allocations: 12 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.155, allocations: 57.96 MB / 437.4 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.4222/0.5773, allocations: 122.9 MB / 0.5472 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08539/0.6627, allocations: 23.46 MB / 0.5701 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04174/0.7045, allocations: 0.5222 MB / 0.5706 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005339/0.7099, allocations: 0.7887 MB / 0.5714 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.7244, allocations: 3.145 MB / 0.5745 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004943/0.7293, allocations: 1.267 MB / 0.5757 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02053/0.7499, allocations: 14.2 MB / 0.5896 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01825/0.7682, allocations: 11.53 MB / 0.6008 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007007/0.7753, allocations: 2.474 MB / 0.6033 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01028/0.7856, allocations: 4.349 MB / 0.6075 GB, free: 9 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002748/0.7884, allocations: 308 kB / 0.6078 GB, free: 8.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005993/0.7945, allocations: 1.377 MB / 0.6091 GB, free: 7.32 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007082/0.8016, allocations: 3.798 MB / 0.6128 GB, free: 3.512 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009374/0.811, allocations: 4.182 MB / 0.6169 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01913/0.8302, allocations: 13.88 MB / 0.6305 GB, free: 1.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.8302, allocations: 0 / 0.6305 GB, free: 1.367 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.8302, allocations: 4 kB / 0.6305 GB, free: 1.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006208/0.8309, allocations: 4 kB / 0.6305 GB, free: 1.359 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.3261/1.157, allocations: 8.224 MB / 0.6385 GB, free: 147.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/1.157, allocations: 9.188 kB / 0.6385 GB, free: 147.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02042/1.178, allocations: 3.798 MB / 0.6422 GB, free: 146.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/1.194, allocations: 6.558 MB / 0.6486 GB, free: 145.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006492/1.194, allocations: 0.4929 MB / 0.6491 GB, free: 145.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003972/1.198, allocations: 0.6662 MB / 0.6498 GB, free: 144.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04893/1.247, allocations: 19.95 MB / 0.6693 GB, free: 136.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007961/1.248, allocations: 86.86 kB / 0.6693 GB, free: 136.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003629/1.252, allocations: 317.1 kB / 0.6696 GB, free: 136 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008569/1.26, allocations: 3.604 MB / 0.6732 GB, free: 135.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0427/1.303, allocations: 16.8 MB / 0.6896 GB, free: 124.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09329/1.396, allocations: 73.18 MB / 0.761 GB, free: 50.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02065/1.417, allocations: 8.504 MB / 0.7694 GB, free: 41.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006216/1.423, allocations: 4.55 MB / 0.7738 GB, free: 37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008321/1.424, allocations: 0.662 MB / 0.7744 GB, free: 36.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.954e-05/1.424, allocations: 64.98 kB / 0.7745 GB, free: 36.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=311): time 9.428e-06/1.424, allocations: 15.88 kB / 0.7745 GB, free: 36.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=335): time 0.1055/1.53, allocations: 35.72 MB / 0.8094 GB, free: 188 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002478/1.53, allocations: 291.7 kB / 0.8097 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01982/1.55, allocations: 7.822 MB / 0.8173 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001188/1.551, allocations: 78.56 kB / 0.8174 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005957/1.557, allocations: 5.738 MB / 0.823 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00343/1.561, allocations: 1.276 MB / 0.8242 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004121/1.565, allocations: 0.884 MB / 0.8251 GB, free: 84 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.4898/2.055, allocations: 304.9 kB / 0.8254 GB, free: 145.5 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008294/2.063, allocations: 4.118 MB / 0.8294 GB, free: 145.5 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/2.073, allocations: 9.844 MB / 0.839 GB, free: 137.9 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01648/2.09, allocations: 14.9 MB / 0.8536 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003132/2.09, allocations: 56.47 kB / 0.8536 GB, free: 126.2 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03647/2.127, allocations: 15.82 MB / 0.8691 GB, free: 120.7 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002511/2.127, allocations: 91 kB / 0.8692 GB, free: 120.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000466/2.127, allocations: 202.4 kB / 0.8694 GB, free: 120.7 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007393/2.135, allocations: 2.325 MB / 0.8716 GB, free: 120.3 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009624/2.144, allocations: 2.355 MB / 0.8739 GB, free: 120.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/2.164, allocations: 15.63 MB / 0.8892 GB, free: 111 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/2.175, allocations: 0.5785 MB / 0.8898 GB, free: 110.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002659/2.177, allocations: 0.5828 MB / 0.8903 GB, free: 110.7 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009418/2.187, allocations: 3.885 MB / 0.8941 GB, free: 109 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/2.188, allocations: 0.6644 MB / 0.8948 GB, free: 109 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/2.202, allocations: 7.992 MB / 0.9026 GB, free: 105.3 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/2.202, allocations: 39.94 kB / 0.9026 GB, free: 105.2 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.682e-05/2.202, allocations: 9.438 kB / 0.9026 GB, free: 105.2 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.5e-05/2.202, allocations: 18.62 kB / 0.9026 GB, free: 105.2 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03268/2.235, allocations: 17.38 MB / 0.9196 GB, free: 90.38 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-05/2.235, allocations: 4 kB / 0.9196 GB, free: 90.37 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003022/2.238, allocations: 0.5631 MB / 0.9202 GB, free: 89.81 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005274/2.244, allocations: 2 MB / 0.9221 GB, free: 87.8 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006275/2.244, allocations: 56 kB / 0.9222 GB, free: 87.75 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/2.259, allocations: 14.46 MB / 0.9363 GB, free: 72.88 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/2.26, allocations: 5.5 kB / 0.9363 GB, free: 72.87 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/2.278, allocations: 12.4 MB / 0.9484 GB, free: 60.59 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003451/2.282, allocations: 1.289 MB / 0.9497 GB, free: 59.27 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00188/2.284, allocations: 60 kB / 0.9497 GB, free: 59.21 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004103/2.288, allocations: 239.7 kB / 0.95 GB, free: 58.98 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007665/2.289, allocations: 198.2 kB / 0.9501 GB, free: 58.79 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003925/2.289, allocations: 86.81 kB / 0.9502 GB, free: 58.7 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.009009/2.298, allocations: 4.996 MB / 0.9551 GB, free: 53.75 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.51e-07/2.298, allocations: 0 / 0.9551 GB, free: 53.75 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.0141/2.312, allocations: 2.01 MB / 0.9571 GB, free: 51.74 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (1,11,100.0%), (1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001354/2.314, allocations: 207.1 kB / 0.9573 GB, free: 51.54 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.016/2.33, allocations: 10.09 MB / 0.9671 GB, free: 41.43 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/2.33, allocations: 4 kB / 0.9671 GB, free: 41.43 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004736/2.334, allocations: 3.658 MB / 0.9707 GB, free: 37.72 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00806/2.342, allocations: 0.9197 MB / 0.9716 GB, free: 36.81 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/2.378, allocations: 23.15 MB / 0.9942 GB, free: 13.61 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008352/2.386, allocations: 5.956 MB / 1 GB, free: 7.602 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008362/2.395, allocations: 3.075 MB / 1.003 GB, free: 4.523 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/2.396, allocations: 455.4 kB / 1.003 GB, free: 4.078 MB / 0.4982 GB Notification: Performance of SimCode: time 6.92e-07/2.396, allocations: 0 / 1.003 GB, free: 4.078 MB / 0.4982 GB Notification: Performance of Templates: time 0.4146/2.811, allocations: 77.07 MB / 1.079 GB, free: 120.4 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) Environment - environmentSimulation: