Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008979/0.008979, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001807/0.001807, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.622/1.622, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2083/0.2083, allocations: 39.97 MB / 309.9 MB, free: 4.027 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.001453/0.001453, allocations: 65.62 kB / 435.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.137, allocations: 56.88 MB / 492.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01788/0.1549, allocations: 16.17 MB / 0.4969 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.1687, allocations: 5.101 MB / 0.5019 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004412/0.1731, allocations: 99.75 kB / 0.502 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009193/0.1824, allocations: 4.571 MB / 0.5065 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008732/0.1912, allocations: 2.579 MB / 0.509 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.1943, allocations: 1.15 MB / 0.5101 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.3163/0.5106, allocations: 6.625 MB / 0.5166 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01008/0.5207, allocations: 5.892 MB / 0.5223 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007293/0.5281, allocations: 2.502 MB / 0.5248 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009145/0.5373, allocations: 3.413 MB / 0.5281 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003698/0.541, allocations: 0.5682 MB / 0.5287 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00694/0.548, allocations: 1.573 MB / 0.5302 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007261/0.5553, allocations: 3.122 MB / 0.5333 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008358/0.5637, allocations: 3.597 MB / 0.5368 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.5804, allocations: 11.43 MB / 0.5479 GB, free: 12.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.5805, allocations: 0 / 0.5479 GB, free: 12.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5805, allocations: 0 / 0.5479 GB, free: 12.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004619/0.581, allocations: 0 / 0.5479 GB, free: 12.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02557/0.6065, allocations: 7.572 MB / 0.5553 GB, free: 7.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.805e-05/0.6066, allocations: 13.45 kB / 0.5553 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.6213, allocations: 2.792 MB / 0.5581 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.6332, allocations: 4.337 MB / 0.5623 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/0.6337, allocations: 383.9 kB / 0.5627 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002755/0.6365, allocations: 0.5 MB / 0.5632 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03763/0.6741, allocations: 16.41 MB / 0.5792 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/0.6744, allocations: 55 kB / 0.5792 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.6755, allocations: 241.9 kB / 0.5795 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005883/0.6814, allocations: 3.158 MB / 0.5826 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03386/0.7153, allocations: 14.27 MB / 0.5965 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09032/0.8057, allocations: 58.81 MB / 0.6539 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01903/0.8248, allocations: 7.177 MB / 0.6609 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006844/0.8316, allocations: 4.495 MB / 0.6653 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.027/0.8587, allocations: 15.44 MB / 0.6804 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.8588, allocations: 68.56 kB / 0.6805 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=306): time 5.33e-06/0.8588, allocations: 0 / 0.6805 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of matching and sorting (n=348): time 0.0863/0.9451, allocations: 32.81 MB / 0.7125 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.9453, allocations: 233.1 kB / 0.7127 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008439/0.9537, allocations: 5.344 MB / 0.7179 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/0.9551, allocations: 81.7 kB / 0.718 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003147/0.9583, allocations: 4.333 MB / 0.7222 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002276/0.9606, allocations: 1.289 MB / 0.7235 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002663/0.9632, allocations: 1.717 MB / 0.7252 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9634, allocations: 301.1 kB / 0.7255 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006355/0.9697, allocations: 3.924 MB / 0.7293 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3198/1.29, allocations: 8.417 MB / 0.7375 GB, free: 188.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/1.308, allocations: 13.23 MB / 0.7504 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002388/1.309, allocations: 43.41 kB / 0.7505 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.03157/1.34, allocations: 14.26 MB / 0.7644 GB, free: 175 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/1.34, allocations: 74.12 kB / 0.7645 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/1.341, allocations: 156.1 kB / 0.7646 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005729/1.346, allocations: 2.259 MB / 0.7668 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006758/1.353, allocations: 1.994 MB / 0.7688 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/1.368, allocations: 14.42 MB / 0.7829 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007417/1.376, allocations: 0.4953 MB / 0.7834 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009886/1.377, allocations: 0.4895 MB / 0.7838 GB, free: 166.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005291/1.382, allocations: 3.082 MB / 0.7868 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009567/1.383, allocations: 0.4929 MB / 0.7873 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/1.396, allocations: 8.401 MB / 0.7955 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/1.396, allocations: 38.27 kB / 0.7956 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.396, allocations: 12 kB / 0.7956 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/1.396, allocations: 18.52 kB / 0.7956 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02704/1.423, allocations: 16.93 MB / 0.8121 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/1.423, allocations: 6.766 kB / 0.8121 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003273/1.427, allocations: 0.6124 MB / 0.8127 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004808/1.431, allocations: 2.038 MB / 0.8147 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006865/1.432, allocations: 60 kB / 0.8148 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/1.447, allocations: 13.75 MB / 0.8282 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.447, allocations: 3.938 kB / 0.8282 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/1.466, allocations: 13.16 MB / 0.8411 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004191/1.47, allocations: 1.146 MB / 0.8422 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/1.472, allocations: 57.56 kB / 0.8422 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003442/1.475, allocations: 257.8 kB / 0.8425 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007564/1.476, allocations: 196.2 kB / 0.8427 GB, free: 111.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000276/1.476, allocations: 95.98 kB / 0.8428 GB, free: 111.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006038/1.482, allocations: 3.362 MB / 0.846 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/1.482, allocations: 0 / 0.846 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01054/1.493, allocations: 1.688 MB / 0.8477 GB, free: 106 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (294): * Single equations (assignments): 289 * 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,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009482/1.494, allocations: 205.8 kB / 0.8479 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01565/1.51, allocations: 9.558 MB / 0.8572 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.51, allocations: 0 / 0.8572 GB, free: 96.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006318/1.516, allocations: 4.111 MB / 0.8612 GB, free: 92.12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/1.521, allocations: 0.6897 MB / 0.8619 GB, free: 91.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0265/1.547, allocations: 15.69 MB / 0.8772 GB, free: 75.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006076/1.553, allocations: 4.794 MB / 0.8819 GB, free: 70.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006408/1.56, allocations: 2.642 MB / 0.8845 GB, free: 68.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/1.561, allocations: 375.3 kB / 0.8849 GB, free: 67.89 MB / 0.5762 GB Notification: Performance of SimCode: time 1.864e-06/1.561, allocations: 4 kB / 0.8849 GB, free: 67.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.1025/1.664, allocations: 65.91 MB / 0.9492 GB, free: 2.051 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)