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.001148/0.001148, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001448/0.001448, allocations: 201 kB / 16.26 MB, free: 6.617 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.685/1.685, allocations: 205.1 MB / 222.1 MB, free: 4.621 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.3973/0.3973, allocations: 39.93 MB / 309.4 MB, free: 9.082 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.001817/0.001817, allocations: 68.38 kB / 377.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1623, allocations: 56.87 MB / 434 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.4482/0.6106, allocations: 89.61 MB / 0.5113 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06391/0.6745, allocations: 17.28 MB / 0.5282 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03164/0.7062, allocations: 379.8 kB / 0.5286 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.7185, allocations: 4.399 MB / 0.5329 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01155/0.7301, allocations: 2.391 MB / 0.5352 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004644/0.7348, allocations: 1.092 MB / 0.5363 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01496/0.7498, allocations: 6.884 MB / 0.543 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01278/0.7626, allocations: 6.19 MB / 0.549 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007982/0.7706, allocations: 2.547 MB / 0.5515 GB, free: 292 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008124/0.7788, allocations: 3.758 MB / 0.5552 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002948/0.7818, allocations: 0.5703 MB / 0.5557 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006817/0.7886, allocations: 1.596 MB / 0.5573 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007094/0.7958, allocations: 3.152 MB / 0.5604 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.806, allocations: 3.628 MB / 0.5639 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02182/0.8278, allocations: 11.13 MB / 0.5748 GB, free: 8.375 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.8279, allocations: 0 / 0.5748 GB, free: 8.375 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.8279, allocations: 0 / 0.5748 GB, free: 8.375 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006364/0.8285, allocations: 0 / 0.5748 GB, free: 8.375 MB / 446.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.03131/0.8599, allocations: 7.574 MB / 0.5822 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.8599, allocations: 11.89 kB / 0.5822 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.874, allocations: 2.792 MB / 0.5849 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.8856, allocations: 4.269 MB / 0.5891 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004966/0.8861, allocations: 381.7 kB / 0.5895 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002853/0.889, allocations: 0.5035 MB / 0.5899 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04085/0.9299, allocations: 16.4 MB / 0.606 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003981/0.9303, allocations: 71.36 kB / 0.606 GB, free: 7.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002902/0.9333, allocations: 239.8 kB / 0.6063 GB, free: 7.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006486/0.9398, allocations: 3.146 MB / 0.6093 GB, free: 3.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0361/0.9759, allocations: 14.26 MB / 0.6233 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4229/1.399, allocations: 59.14 MB / 0.681 GB, free: 105.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/1.419, allocations: 7.164 MB / 0.688 GB, free: 102.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00849/1.428, allocations: 4.5 MB / 0.6924 GB, free: 100.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03701/1.465, allocations: 15.43 MB / 0.7075 GB, free: 93.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/1.465, allocations: 71.5 kB / 0.7075 GB, free: 93.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 1.148e-05/1.465, allocations: 0 / 0.7075 GB, free: 93.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.09022/1.555, allocations: 32.84 MB / 0.7396 GB, free: 67.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/1.556, allocations: 218.2 kB / 0.7398 GB, free: 67.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.566, allocations: 5.344 MB / 0.745 GB, free: 61.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001335/1.567, allocations: 77.7 kB / 0.7451 GB, free: 61.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002908/1.57, allocations: 4.338 MB / 0.7493 GB, free: 57.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00225/1.572, allocations: 1.28 MB / 0.7506 GB, free: 55.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005759/1.578, allocations: 1.721 MB / 0.7523 GB, free: 54.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/1.578, allocations: 305.1 kB / 0.7526 GB, free: 53.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00618/1.584, allocations: 3.917 MB / 0.7564 GB, free: 49.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/1.595, allocations: 8.424 MB / 0.7646 GB, free: 39.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01554/1.61, allocations: 13.23 MB / 0.7775 GB, free: 23.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000193/1.611, allocations: 48 kB / 0.7776 GB, free: 23.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02945/1.64, allocations: 14.25 MB / 0.7915 GB, free: 9.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002672/1.64, allocations: 75.94 kB / 0.7916 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003545/1.641, allocations: 156 kB / 0.7917 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005414/1.646, allocations: 2.265 MB / 0.7939 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007794/1.654, allocations: 1.985 MB / 0.7959 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0184/1.672, allocations: 14.44 MB / 0.81 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008489/1.681, allocations: 0.5111 MB / 0.8105 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/1.683, allocations: 483.9 kB / 0.8109 GB, free: 5.352 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 (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.008855/1.692, allocations: 3.083 MB / 0.814 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002092/1.694, allocations: 0.4976 MB / 0.8144 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3383/2.033, allocations: 8.394 MB / 0.8226 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.805e-05/2.033, allocations: 33.72 kB / 0.8227 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-05/2.033, allocations: 8.875 kB / 0.8227 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.846e-05/2.033, allocations: 18.47 kB / 0.8227 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03033/2.063, allocations: 17.16 MB / 0.8395 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/2.063, allocations: 0 / 0.8395 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00323/2.067, allocations: 0.6138 MB / 0.8401 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005164/2.072, allocations: 2.041 MB / 0.842 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008783/2.073, allocations: 59.03 kB / 0.8421 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01948/2.092, allocations: 13.67 MB / 0.8555 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.092, allocations: 1.625 kB / 0.8555 GB, free: 135.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.029/2.121, allocations: 13.15 MB / 0.8683 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003532/2.125, allocations: 1.135 MB / 0.8694 GB, free: 130.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001943/2.127, allocations: 55.75 kB / 0.8695 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003983/2.131, allocations: 264.1 kB / 0.8697 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/2.132, allocations: 195.8 kB / 0.8699 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006698/2.133, allocations: 92.72 kB / 0.87 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00739/2.14, allocations: 3.37 MB / 0.8733 GB, free: 129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.2e-07/2.14, allocations: 0 / 0.8733 GB, free: 129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01012/2.15, allocations: 1.684 MB / 0.8749 GB, free: 128.8 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 (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.00142/2.152, allocations: 209.9 kB / 0.8751 GB, free: 128.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02555/2.177, allocations: 15.23 MB / 0.89 GB, free: 116 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/2.177, allocations: 0 / 0.89 GB, free: 116 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007469/2.185, allocations: 4.103 MB / 0.894 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008087/2.193, allocations: 0.6834 MB / 0.8947 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03319/2.226, allocations: 19.07 MB / 0.9133 GB, free: 92.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008758/2.235, allocations: 4.796 MB / 0.918 GB, free: 87.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008259/2.243, allocations: 2.646 MB / 0.9206 GB, free: 84.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/2.246, allocations: 375.3 kB / 0.9209 GB, free: 84.54 MB / 0.4981 GB Notification: Performance of SimCode: time 1.714e-06/2.246, allocations: 0 / 0.9209 GB, free: 84.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.1084/2.354, allocations: 70.13 MB / 0.9894 GB, free: 14.49 MB / 0.4981 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)