Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009707, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005603/0.005603, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.342/1.342, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 16 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2134, allocations: 47.58 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.0505/0.2639, allocations: 56.49 MB / 383.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02552/0.2895, allocations: 11.71 MB / 395.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0111/0.3007, allocations: 243.4 kB / 395.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.3026, allocations: 469.7 kB / 395.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005046/0.3077, allocations: 1.946 MB / 397.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3091, allocations: 0.667 MB / 398.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007928/0.317, allocations: 6.71 MB / 405.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007518/0.3246, allocations: 5.85 MB / 411.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.3267, allocations: 1.291 MB / 412.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/0.3294, allocations: 2.176 MB / 414.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.3298, allocations: 160 kB / 414.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.3317, allocations: 1.127 MB / 415.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.3334, allocations: 1.979 MB / 417.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001938/0.3354, allocations: 2.28 MB / 420.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007482/0.3429, allocations: 7.649 MB / 427.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3429, allocations: 4 kB / 427.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3429, allocations: 0 / 427.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001859/0.3431, allocations: 4 kB / 427.8 MB, free: 14.2 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.008926/0.3521, allocations: 4.522 MB / 432.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.3521, allocations: 12.03 kB / 432.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.3623, allocations: 2.283 MB / 434.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006265/0.3686, allocations: 2.96 MB / 437.5 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.3689, allocations: 262.8 kB / 437.8 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/0.37, allocations: 355.7 kB / 438.2 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.3894, allocations: 11.65 MB / 449.8 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001178/0.3896, allocations: 43.59 kB / 449.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004421/0.39, allocations: 171.8 kB / 450 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003868/0.3939, allocations: 2.331 MB / 452.3 MB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1974/0.5913, allocations: 9.986 MB / 462.3 MB, free: 109.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04511/0.6365, allocations: 44.52 MB / 0.495 GB, free: 69.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.6479, allocations: 5.35 MB / 0.5002 GB, free: 64.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/0.6509, allocations: 2.812 MB / 0.5029 GB, free: 61.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.6609, allocations: 8.123 MB / 0.5109 GB, free: 53.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.661, allocations: 59.88 kB / 0.5109 GB, free: 53.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 5.972e-06/0.661, allocations: 4 kB / 0.5109 GB, free: 53.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04694/0.708, allocations: 20.8 MB / 0.5313 GB, free: 32.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.708, allocations: 180.2 kB / 0.5314 GB, free: 32.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005085/0.7131, allocations: 4.754 MB / 0.5361 GB, free: 27.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003544/0.7135, allocations: 61.7 kB / 0.5361 GB, free: 27.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.7149, allocations: 3.395 MB / 0.5394 GB, free: 23.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006326/0.7155, allocations: 0.8918 MB / 0.5403 GB, free: 23.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005643/0.7161, allocations: 0.5833 MB / 0.5409 GB, free: 22.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.7162, allocations: 301.1 kB / 0.5412 GB, free: 22.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/0.7192, allocations: 2.707 MB / 0.5438 GB, free: 19.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004276/0.7235, allocations: 6.61 MB / 0.5503 GB, free: 10.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008235/0.7318, allocations: 10.08 MB / 0.5601 GB, free: 14.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-05/0.7319, allocations: 40 kB / 0.5601 GB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01587/0.7477, allocations: 10.18 MB / 0.5701 GB, free: 4.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.761e-05/0.7478, allocations: 64.19 kB / 0.5701 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.748, allocations: 140 kB / 0.5703 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/0.7509, allocations: 1.203 MB / 0.5715 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005125/0.756, allocations: 1.599 MB / 0.573 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00893/0.765, allocations: 6.808 MB / 0.5797 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004656/0.7696, allocations: 383.4 kB / 0.58 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009729/0.7706, allocations: 408 kB / 0.5804 GB, free: 9.988 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00397/0.7746, allocations: 2.385 MB / 0.5827 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007574/0.7754, allocations: 414.6 kB / 0.5831 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009261/0.7846, allocations: 4.772 MB / 0.5878 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.432e-05/0.7847, allocations: 24 kB / 0.5878 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.7847, allocations: 7.938 kB / 0.5878 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-05/0.7848, allocations: 19.89 kB / 0.5879 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/0.8046, allocations: 10.91 MB / 0.5985 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.8046, allocations: 8 kB / 0.5985 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/0.8067, allocations: 423.3 kB / 0.5989 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002675/0.8094, allocations: 1.016 MB / 0.5999 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.8096, allocations: 51.92 kB / 0.6 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1821/0.9917, allocations: 6.37 MB / 0.6062 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.637e-05/0.9918, allocations: 13 kB / 0.6062 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/1.004, allocations: 8.157 MB / 0.6142 GB, free: 140.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/1.006, allocations: 0.8387 MB / 0.615 GB, free: 140 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004628/1.007, allocations: 51.31 kB / 0.615 GB, free: 140 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/1.008, allocations: 146.3 kB / 0.6152 GB, free: 139.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/1.009, allocations: 142.5 kB / 0.6153 GB, free: 139.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.009, allocations: 71.42 kB / 0.6154 GB, free: 139.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003598/1.012, allocations: 3.05 MB / 0.6183 GB, free: 138.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.012, allocations: 0 / 0.6183 GB, free: 138.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004712/1.017, allocations: 1.19 MB / 0.6195 GB, free: 138.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004307/1.018, allocations: 189.1 kB / 0.6197 GB, free: 138.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00815/1.026, allocations: 6.501 MB / 0.626 GB, free: 136.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.026, allocations: 0 / 0.626 GB, free: 136.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003268/1.029, allocations: 2.411 MB / 0.6284 GB, free: 135.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006165/1.035, allocations: 0.4917 MB / 0.6289 GB, free: 135.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/1.052, allocations: 13.65 MB / 0.6422 GB, free: 123 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003142/1.055, allocations: 3.675 MB / 0.6458 GB, free: 119.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004681/1.06, allocations: 2.227 MB / 0.648 GB, free: 117.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/1.061, allocations: 283.4 kB / 0.6482 GB, free: 117.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.233e-06/1.061, allocations: 0 / 0.6482 GB, free: 117.4 MB / 430.1 MB Notification: Performance of Templates: time 0.06218/1.123, allocations: 43.82 MB / 0.691 GB, free: 73.6 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)