Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01194/0.01194, allocations: 105.9 kB / 15.73 MB, free: 6 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.00232/0.00232, allocations: 189 kB / 16.67 MB, free: 5.926 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.553/1.553, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3079/0.3079, allocations: 38 MB / 307.9 MB, free: 10.08 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.1. 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.001465/0.001466, allocations: 71.89 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2818, allocations: 56.46 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.01736/0.2992, allocations: 18.76 MB / 0.4963 GB, free: 6.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.3106, allocations: 5.45 MB / 0.5017 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00382/0.3145, allocations: 119.7 kB / 0.5018 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.3247, allocations: 5.845 MB / 0.5075 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.3372, allocations: 2.961 MB / 0.5104 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.3413, allocations: 1.213 MB / 0.5116 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01564/0.3569, allocations: 7.475 MB / 0.5189 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.3675, allocations: 7.576 MB / 0.5263 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/0.3729, allocations: 2.928 MB / 0.5291 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005686/0.3786, allocations: 4.015 MB / 0.533 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.3803, allocations: 0.668 MB / 0.5337 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.3838, allocations: 1.537 MB / 0.5352 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004443/0.3882, allocations: 3.729 MB / 0.5388 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00729/0.3955, allocations: 4.226 MB / 0.543 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01844/0.414, allocations: 13.21 MB / 0.5559 GB, free: 3.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.4141, allocations: 0 / 0.5559 GB, free: 3.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4141, allocations: 3.938 kB / 0.5559 GB, free: 3.535 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004918/0.4146, allocations: 0 / 0.5559 GB, free: 3.535 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02556/0.4401, allocations: 8.846 MB / 0.5645 GB, free: 10.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.4402, allocations: 15.89 kB / 0.5645 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/0.4553, allocations: 2.985 MB / 0.5674 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.4679, allocations: 4.957 MB / 0.5723 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000433/0.4684, allocations: 451.9 kB / 0.5727 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/0.4711, allocations: 0.5893 MB / 0.5733 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03736/0.5085, allocations: 18.49 MB / 0.5913 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004144/0.509, allocations: 79.3 kB / 0.5914 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002434/0.5114, allocations: 275.8 kB / 0.5917 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006742/0.5182, allocations: 3.534 MB / 0.5951 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03495/0.5532, allocations: 15.69 MB / 0.6105 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5391/1.092, allocations: 69.86 MB / 0.6787 GB, free: 76.71 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02307/1.115, allocations: 8.457 MB / 0.6869 GB, free: 74.12 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006518/1.122, allocations: 4.994 MB / 0.6918 GB, free: 72.11 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02065/1.143, allocations: 11.87 MB / 0.7034 GB, free: 65.99 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/1.143, allocations: 80.39 kB / 0.7035 GB, free: 65.91 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=347): time 6.352e-06/1.143, allocations: 0 / 0.7035 GB, free: 65.91 MB / 0.4982 GB Notification: Performance of matching and sorting (n=389): time 0.09382/1.237, allocations: 38.92 MB / 0.7415 GB, free: 37.11 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/1.237, allocations: 244.9 kB / 0.7417 GB, free: 36.82 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009077/1.246, allocations: 7.436 MB / 0.749 GB, free: 29.4 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0009543/1.247, allocations: 85.7 kB / 0.7491 GB, free: 29.31 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002464/1.249, allocations: 5.201 MB / 0.7541 GB, free: 24.12 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001814/1.251, allocations: 1.447 MB / 0.7556 GB, free: 22.68 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002765/1.254, allocations: 2.088 MB / 0.7576 GB, free: 20.59 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/1.254, allocations: 309 kB / 0.7579 GB, free: 20.28 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005988/1.26, allocations: 4.467 MB / 0.7623 GB, free: 15.81 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009647/1.27, allocations: 10.09 MB / 0.7721 GB, free: 2.98 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02017/1.29, allocations: 15.64 MB / 0.7874 GB, free: 0.6055 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002089/1.29, allocations: 56 kB / 0.7874 GB, free: 0.5508 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03755/1.328, allocations: 16.46 MB / 0.8035 GB, free: 76 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/1.328, allocations: 88.27 kB / 0.8036 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003397/1.328, allocations: 207.9 kB / 0.8038 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007199/1.335, allocations: 2.308 MB / 0.806 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/1.346, allocations: 2.437 MB / 0.8084 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01999/1.366, allocations: 14.44 MB / 0.8225 GB, free: 12.31 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009411/1.375, allocations: 0.589 MB / 0.8231 GB, free: 11.72 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/1.378, allocations: 0.5881 MB / 0.8237 GB, free: 11.14 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 69 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.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 (1261): * Single equations (assignments): 1254 * Array equations: 5 * 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.009205/1.387, allocations: 3.62 MB / 0.8272 GB, free: 7.504 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002292/1.389, allocations: 0.6363 MB / 0.8278 GB, free: 6.859 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02111/1.41, allocations: 9.206 MB / 0.8368 GB, free: 13.61 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-05/1.41, allocations: 40 kB / 0.8369 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.073e-05/1.41, allocations: 8 kB / 0.8369 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/1.411, allocations: 19.94 kB / 0.8369 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04784/1.458, allocations: 19.15 MB / 0.8556 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.546e-05/1.458, allocations: 4 kB / 0.8556 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003964/1.462, allocations: 0.7066 MB / 0.8563 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00578/1.468, allocations: 2.042 MB / 0.8583 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/1.469, allocations: 83.92 kB / 0.8584 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3007/1.77, allocations: 13.76 MB / 0.8718 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.77, allocations: 11.88 kB / 0.8718 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02568/1.796, allocations: 14.34 MB / 0.8858 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00432/1.8, allocations: 1.347 MB / 0.8871 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001751/1.802, allocations: 71.95 kB / 0.8872 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003717/1.806, allocations: 263.1 kB / 0.8874 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007943/1.806, allocations: 252.5 kB / 0.8877 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/1.807, allocations: 108.2 kB / 0.8878 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008661/1.815, allocations: 4.79 MB / 0.8925 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.42e-07/1.815, allocations: 0 / 0.8925 GB, free: 188.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01309/1.828, allocations: 1.943 MB / 0.8944 GB, free: 188 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.001803/1.83, allocations: 231 kB / 0.8946 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01858/1.849, allocations: 10.81 MB / 0.9051 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/1.849, allocations: 3.969 kB / 0.9052 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006597/1.856, allocations: 4.332 MB / 0.9094 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005735/1.861, allocations: 0.8326 MB / 0.9102 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/1.891, allocations: 18.36 MB / 0.9281 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00688/1.898, allocations: 5.48 MB / 0.9335 GB, free: 165.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007522/1.905, allocations: 3.322 MB / 0.9367 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/1.907, allocations: 459.3 kB / 0.9372 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of SimCode: time 8.41e-07/1.907, allocations: 0 / 0.9372 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1128/2.02, allocations: 73.55 MB / 1.009 GB, free: 88.01 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1)