Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008561/0.000856, 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.005735/0.005735, allocations: 170 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.362/1.362, 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.1+maint.om/package.mo): time 0.2746/0.2746, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.0006106/0.0006106, allocations: 20 kB / 377.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1021, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.2411/0.3432, allocations: 88.4 MB / 0.5107 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0402/0.3835, allocations: 17.18 MB / 0.5275 GB, free: 2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02262/0.4061, allocations: 393.4 kB / 0.5279 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.4096, allocations: 0.6373 MB / 0.5285 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008784/0.4184, allocations: 2.56 MB / 0.531 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.4212, allocations: 0.8879 MB / 0.5319 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01429/0.4355, allocations: 10.05 MB / 0.5417 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0119/0.4474, allocations: 8.233 MB / 0.5497 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003754/0.4512, allocations: 1.875 MB / 0.5515 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006225/0.4575, allocations: 3.219 MB / 0.5547 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.4587, allocations: 235.9 kB / 0.5549 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003971/0.4627, allocations: 1.186 MB / 0.5561 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.4671, allocations: 2.886 MB / 0.5589 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005999/0.4732, allocations: 3.238 MB / 0.5621 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.4856, allocations: 10.56 MB / 0.5724 GB, free: 14.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4856, allocations: 0 / 0.5724 GB, free: 14.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4856, allocations: 4 kB / 0.5724 GB, free: 14.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003886/0.486, allocations: 4 kB / 0.5724 GB, free: 14.75 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01655/0.5026, allocations: 6.492 MB / 0.5787 GB, free: 8.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5026, allocations: 12.03 kB / 0.5787 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.5161, allocations: 2.889 MB / 0.5815 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.527, allocations: 4.515 MB / 0.5859 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/0.5275, allocations: 394.4 kB / 0.5863 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002168/0.5297, allocations: 0.5073 MB / 0.5868 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03074/0.5605, allocations: 15.65 MB / 0.6021 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003136/0.5608, allocations: 71.36 kB / 0.6022 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001505/0.5623, allocations: 247.8 kB / 0.6024 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005456/0.5678, allocations: 3.055 MB / 0.6054 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0257/0.5935, allocations: 13.26 MB / 0.6183 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2551/0.8486, allocations: 61.64 MB / 0.6785 GB, free: 102.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/0.8626, allocations: 6.664 MB / 0.685 GB, free: 100.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005095/0.8677, allocations: 4.024 MB / 0.689 GB, free: 98.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.8821, allocations: 9.48 MB / 0.6982 GB, free: 94.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.8822, allocations: 72.08 kB / 0.6983 GB, free: 93.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 5.21e-06/0.8822, allocations: 0 / 0.6983 GB, free: 93.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.07742/0.9596, allocations: 32.54 MB / 0.7301 GB, free: 80.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/0.9598, allocations: 243 kB / 0.7303 GB, free: 80.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009139/0.9689, allocations: 6.986 MB / 0.7371 GB, free: 73.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008635/0.9698, allocations: 73.69 kB / 0.7372 GB, free: 73.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002564/0.9724, allocations: 4.77 MB / 0.7419 GB, free: 68.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001773/0.9742, allocations: 1.188 MB / 0.743 GB, free: 67.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.9752, allocations: 0.7985 MB / 0.7438 GB, free: 66.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.9753, allocations: 308 kB / 0.7441 GB, free: 66.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00483/0.9802, allocations: 3.922 MB / 0.7479 GB, free: 62.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00687/0.987, allocations: 9.244 MB / 0.757 GB, free: 50.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/1.001, allocations: 14.12 MB / 0.7707 GB, free: 33.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/1.001, allocations: 56 kB / 0.7708 GB, free: 33.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02293/1.024, allocations: 14.98 MB / 0.7854 GB, free: 18.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/1.024, allocations: 87.98 kB / 0.7855 GB, free: 18.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/1.024, allocations: 188 kB / 0.7857 GB, free: 18.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00497/1.029, allocations: 2.296 MB / 0.7879 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007177/1.036, allocations: 2.168 MB / 0.7901 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/1.05, allocations: 13.47 MB / 0.8032 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008612/1.059, allocations: 0.5477 MB / 0.8037 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001981/1.061, allocations: 0.549 MB / 0.8043 GB, free: 14.92 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1140): * Single equations (assignments): 1133 * 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.007778/1.069, allocations: 3.226 MB / 0.8074 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/1.07, allocations: 0.5866 MB / 0.808 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.084, allocations: 7.718 MB / 0.8155 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.985e-05/1.084, allocations: 32 kB / 0.8156 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/1.084, allocations: 16 kB / 0.8156 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/1.084, allocations: 11.95 kB / 0.8156 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2706/1.355, allocations: 16.26 MB / 0.8315 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-05/1.355, allocations: 3.188 kB / 0.8315 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002569/1.358, allocations: 0.5194 MB / 0.832 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005183/1.363, allocations: 2.032 MB / 0.834 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006139/1.363, allocations: 66.19 kB / 0.834 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.379, allocations: 12.67 MB / 0.8464 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.379, allocations: 6.938 kB / 0.8464 GB, free: 136.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02121/1.4, allocations: 12.23 MB / 0.8584 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003353/1.403, allocations: 1.207 MB / 0.8595 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00134/1.405, allocations: 55.5 kB / 0.8596 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/1.408, allocations: 223.8 kB / 0.8598 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007285/1.409, allocations: 191.9 kB / 0.86 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002594/1.409, allocations: 85.73 kB / 0.8601 GB, free: 131.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.009927/1.419, allocations: 4.474 MB / 0.8644 GB, free: 130 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.419, allocations: 0 / 0.8644 GB, free: 130 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009878/1.429, allocations: 1.731 MB / 0.8661 GB, free: 129.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (254): * Single equations (assignments): 249 * 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.0008443/1.43, allocations: 201.6 kB / 0.8663 GB, free: 129.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01672/1.446, allocations: 9.445 MB / 0.8755 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.446, allocations: 0 / 0.8755 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005778/1.452, allocations: 3.718 MB / 0.8792 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009434/1.462, allocations: 0.7204 MB / 0.8799 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/1.49, allocations: 19.46 MB / 0.8989 GB, free: 108 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00663/1.497, allocations: 4.9 MB / 0.9037 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007069/1.504, allocations: 2.965 MB / 0.9066 GB, free: 101.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/1.505, allocations: 407.4 kB / 0.907 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.413e-06/1.505, allocations: 4 kB / 0.907 GB, free: 100.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.1026/1.608, allocations: 67.44 MB / 0.9728 GB, free: 33.37 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) Environment - environmentSimulation: