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.001187/0.001187, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001014/0.001014, allocations: 177.3 kB / 15.95 MB, free: 216 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.473/1.473, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3018/0.3018, allocations: 40 MB / 310.4 MB, free: 9.934 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.0005952/0.0005954, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1464, allocations: 57.95 MB / 436.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.2287/0.3752, allocations: 76.77 MB / 0.5015 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0326/0.4078, allocations: 17.42 MB / 0.5185 GB, free: 8.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01387/0.4217, allocations: 380.5 kB / 0.5189 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.4332, allocations: 3.857 MB / 0.5226 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0341/0.4674, allocations: 10.91 MB / 0.5333 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005135/0.4725, allocations: 0.9131 MB / 0.5342 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0403/0.5129, allocations: 27.26 MB / 0.5608 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.5245, allocations: 7.212 MB / 0.5678 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.528, allocations: 1.588 MB / 0.5694 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/0.5317, allocations: 2.141 MB / 0.5715 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.533, allocations: 236 kB / 0.5717 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.5361, allocations: 1.081 MB / 0.5728 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003311/0.5395, allocations: 2.494 MB / 0.5752 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.5417, allocations: 1.318 MB / 0.5765 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00954/0.5513, allocations: 8.931 MB / 0.5852 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5513, allocations: 0 / 0.5852 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5513, allocations: 0 / 0.5852 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003171/0.5516, allocations: 0 / 0.5852 GB, free: 15.59 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01485/0.5665, allocations: 6.624 MB / 0.5917 GB, free: 8.891 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5666, allocations: 12.02 kB / 0.5917 GB, free: 8.879 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04385/0.6104, allocations: 8.249 MB / 0.5997 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/0.6205, allocations: 4.561 MB / 0.6042 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003481/0.6209, allocations: 377.8 kB / 0.6046 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001751/0.6226, allocations: 0.5035 MB / 0.605 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/0.6536, allocations: 16.46 MB / 0.6211 GB, free: 9.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002385/0.6539, allocations: 59.44 kB / 0.6212 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001445/0.6554, allocations: 235.8 kB / 0.6214 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005481/0.6608, allocations: 3.162 MB / 0.6245 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.208/0.8689, allocations: 14.19 MB / 0.6383 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07719/0.9461, allocations: 58.92 MB / 0.6959 GB, free: 100.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01769/0.9639, allocations: 7.245 MB / 0.703 GB, free: 98.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02874/0.9927, allocations: 15.16 MB / 0.7178 GB, free: 89.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.9928, allocations: 67.78 kB / 0.7178 GB, free: 89.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 5.511e-06/0.9928, allocations: 0 / 0.7178 GB, free: 89.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.07594/1.069, allocations: 32.32 MB / 0.7494 GB, free: 58.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/1.069, allocations: 214.2 kB / 0.7496 GB, free: 57.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006535/1.075, allocations: 5.595 MB / 0.7551 GB, free: 52.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006977/1.076, allocations: 77.7 kB / 0.7551 GB, free: 52.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.078, allocations: 4.386 MB / 0.7594 GB, free: 47.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.079, allocations: 1.275 MB / 0.7607 GB, free: 46.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/1.08, allocations: 166.4 kB / 0.7608 GB, free: 46.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003243/1.08, allocations: 0.6531 MB / 0.7615 GB, free: 45.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004747/1.085, allocations: 3.67 MB / 0.765 GB, free: 41.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006616/1.091, allocations: 8.12 MB / 0.773 GB, free: 31.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006808/1.098, allocations: 5.353 MB / 0.7782 GB, free: 26.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.903e-05/1.098, allocations: 44 kB / 0.7782 GB, free: 26.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.0218/1.12, allocations: 13.2 MB / 0.7911 GB, free: 12.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.323e-05/1.12, allocations: 72 kB / 0.7912 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/1.12, allocations: 156.9 kB / 0.7914 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003785/1.124, allocations: 1.781 MB / 0.7931 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00618/1.13, allocations: 1.926 MB / 0.795 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/1.143, allocations: 12.35 MB / 0.807 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006416/1.15, allocations: 499.4 kB / 0.8075 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/1.152, allocations: 483.9 kB / 0.808 GB, free: 11.46 MB / 0.4981 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 (994): * Single equations (assignments): 989 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006668/1.158, allocations: 3.083 MB / 0.811 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.16, allocations: 0.5014 MB / 0.8115 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/1.173, allocations: 7.635 MB / 0.8189 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.698e-05/1.173, allocations: 39.98 kB / 0.819 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.173, allocations: 12 kB / 0.819 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.173, allocations: 19.89 kB / 0.819 GB, free: 88 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.217/1.39, allocations: 16.42 MB / 0.835 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/1.39, allocations: 4.172 kB / 0.835 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/1.394, allocations: 0.6096 MB / 0.8356 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003589/1.397, allocations: 1.524 MB / 0.8371 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005304/1.398, allocations: 61.62 kB / 0.8372 GB, free: 141.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/1.41, allocations: 11.52 MB / 0.8484 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.41, allocations: 1.031 kB / 0.8484 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02243/1.433, allocations: 12.3 MB / 0.8604 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004054/1.437, allocations: 1.139 MB / 0.8616 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/1.438, allocations: 60.48 kB / 0.8616 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.442, allocations: 253.8 kB / 0.8619 GB, free: 130.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007316/1.442, allocations: 198.5 kB / 0.862 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003135/1.443, allocations: 90.06 kB / 0.8621 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006788/1.45, allocations: 3.549 MB / 0.8656 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.7e-07/1.45, allocations: 0 / 0.8656 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008845/1.458, allocations: 1.646 MB / 0.8672 GB, free: 129.3 MB / 0.4981 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 (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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/1.46, allocations: 221 kB / 0.8674 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.473, allocations: 9.081 MB / 0.8763 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/1.473, allocations: 0 / 0.8763 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005779/1.479, allocations: 3.868 MB / 0.8801 GB, free: 124.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/1.482, allocations: 0.6155 MB / 0.8807 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/1.504, allocations: 18.17 MB / 0.8984 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004382/1.509, allocations: 4.941 MB / 0.9032 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006367/1.515, allocations: 2.676 MB / 0.9058 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/1.517, allocations: 383.3 kB / 0.9062 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/1.517, allocations: 0 / 0.9062 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.08656/1.603, allocations: 63.7 MB / 0.9684 GB, free: 36.93 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: