Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001226/0.001226, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001257/0.001258, allocations: 189 kB / 16.25 MB, free: 6.625 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.733/1.733, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.4484/0.4484, allocations: 39.93 MB / 309.4 MB, free: 9.715 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.001404/0.001404, allocations: 67.91 kB / 377.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1659, allocations: 56.89 MB / 434 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.3816/0.5476, allocations: 90.52 MB / 0.5122 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05899/0.6066, allocations: 17.15 MB / 0.529 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02867/0.6353, allocations: 389.7 kB / 0.5293 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.647, allocations: 4.895 MB / 0.5341 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01368/0.6607, allocations: 2.526 MB / 0.5366 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.6647, allocations: 1.011 MB / 0.5376 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01386/0.6786, allocations: 7.091 MB / 0.5445 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01125/0.6899, allocations: 6.255 MB / 0.5506 GB, free: 1.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006407/0.6963, allocations: 2.597 MB / 0.5531 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00685/0.7032, allocations: 3.863 MB / 0.5569 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002922/0.7061, allocations: 0.5469 MB / 0.5575 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005148/0.7113, allocations: 1.444 MB / 0.5589 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006398/0.7178, allocations: 3.289 MB / 0.5621 GB, free: 5.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009564/0.7273, allocations: 3.698 MB / 0.5657 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01784/0.7452, allocations: 11.09 MB / 0.5765 GB, free: 6.969 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.7453, allocations: 0 / 0.5765 GB, free: 6.969 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7453, allocations: 0 / 0.5765 GB, free: 6.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005804/0.7459, allocations: 0 / 0.5765 GB, free: 6.969 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.02957/0.7755, allocations: 7.923 MB / 0.5843 GB, free: 14.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.377e-05/0.7756, allocations: 11.89 kB / 0.5843 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/0.7909, allocations: 2.83 MB / 0.587 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/0.8042, allocations: 4.508 MB / 0.5914 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005848/0.8049, allocations: 382.4 kB / 0.5918 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002846/0.8077, allocations: 0.5113 MB / 0.5923 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03864/0.8464, allocations: 15.63 MB / 0.6076 GB, free: 5.969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006042/0.847, allocations: 75.3 kB / 0.6076 GB, free: 5.895 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003212/0.8503, allocations: 243.8 kB / 0.6079 GB, free: 5.656 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006597/0.8569, allocations: 3.059 MB / 0.6108 GB, free: 2.586 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03159/0.8885, allocations: 13.26 MB / 0.6238 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3559/1.244, allocations: 61.6 MB / 0.684 GB, free: 103.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/1.261, allocations: 6.647 MB / 0.6904 GB, free: 101.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006055/1.267, allocations: 4.028 MB / 0.6944 GB, free: 99.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01951/1.287, allocations: 9.468 MB / 0.7036 GB, free: 95.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.382e-05/1.287, allocations: 75.05 kB / 0.7037 GB, free: 95.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 7.745e-06/1.287, allocations: 0 / 0.7037 GB, free: 95.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.08305/1.37, allocations: 32.58 MB / 0.7355 GB, free: 72.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.976e-05/1.37, allocations: 235.9 kB / 0.7357 GB, free: 72.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.381, allocations: 6.999 MB / 0.7426 GB, free: 65.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.382, allocations: 67.73 kB / 0.7426 GB, free: 65.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003124/1.386, allocations: 4.768 MB / 0.7473 GB, free: 60.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.387, allocations: 1.188 MB / 0.7485 GB, free: 59.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006468/1.394, allocations: 1.911 MB / 0.7503 GB, free: 57.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/1.394, allocations: 301.1 kB / 0.7506 GB, free: 57.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006706/1.401, allocations: 3.922 MB / 0.7544 GB, free: 53.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00923/1.41, allocations: 9.256 MB / 0.7635 GB, free: 41.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/1.425, allocations: 14.11 MB / 0.7773 GB, free: 24.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001925/1.425, allocations: 52 kB / 0.7773 GB, free: 24.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02911/1.454, allocations: 14.99 MB / 0.7919 GB, free: 9.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002566/1.455, allocations: 84 kB / 0.792 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002762/1.455, allocations: 187.9 kB / 0.7922 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005475/1.46, allocations: 2.3 MB / 0.7945 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007166/1.468, allocations: 2.179 MB / 0.7966 GB, free: 4.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/1.486, allocations: 14.39 MB / 0.8106 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008341/1.495, allocations: 0.5461 MB / 0.8112 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002484/1.497, allocations: 0.5468 MB / 0.8117 GB, free: 5.211 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.009325/1.507, allocations: 3.23 MB / 0.8149 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002229/1.509, allocations: 0.5861 MB / 0.8154 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2615/1.77, allocations: 7.71 MB / 0.823 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-05/1.77, allocations: 32.62 kB / 0.823 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.33e-05/1.77, allocations: 9.781 kB / 0.823 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.806e-05/1.771, allocations: 13.55 kB / 0.823 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0263/1.797, allocations: 16.27 MB / 0.8389 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/1.797, allocations: 6 kB / 0.8389 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/1.799, allocations: 0.5227 MB / 0.8394 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004706/1.804, allocations: 2.035 MB / 0.8414 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004635/1.805, allocations: 57.78 kB / 0.8415 GB, free: 142.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/1.822, allocations: 13.61 MB / 0.8547 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.822, allocations: 5.5 kB / 0.8548 GB, free: 136.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/1.843, allocations: 12.24 MB / 0.8667 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003162/1.846, allocations: 1.2 MB / 0.8679 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001597/1.848, allocations: 52.94 kB / 0.8679 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0039/1.852, allocations: 218.1 kB / 0.8681 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000877/1.853, allocations: 192.5 kB / 0.8683 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002609/1.853, allocations: 87.09 kB / 0.8684 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007806/1.861, allocations: 4.473 MB / 0.8728 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.861, allocations: 0 / 0.8728 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008615/1.87, allocations: 1.724 MB / 0.8745 GB, free: 129.5 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.0008228/1.87, allocations: 208.6 kB / 0.8747 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01636/1.887, allocations: 11.51 MB / 0.8859 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.887, allocations: 0 / 0.8859 GB, free: 121.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005699/1.893, allocations: 3.723 MB / 0.8895 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/1.898, allocations: 0.7614 MB / 0.8903 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/1.923, allocations: 19.3 MB / 0.9091 GB, free: 97.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005215/1.928, allocations: 4.893 MB / 0.9139 GB, free: 92.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006316/1.934, allocations: 2.97 MB / 0.9168 GB, free: 89.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.936, allocations: 419.3 kB / 0.9172 GB, free: 89.3 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/1.936, allocations: 3.938 kB / 0.9172 GB, free: 89.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1144/2.05, allocations: 71.45 MB / 0.987 GB, free: 17.95 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)