Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 90.75 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.009581/0.009581, allocations: 171.2 kB / 16.26 MB, free: 6.676 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.516/1.516, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3133/0.3133, allocations: 38.04 MB / 308.8 MB, free: 10.45 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.000571/0.000571, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1225, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3186/0.4411, allocations: 91.28 MB / 0.5135 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04697/0.4882, allocations: 17.91 MB / 0.531 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02378/0.512, allocations: 391.5 kB / 0.5314 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003245/0.5153, allocations: 0.6176 MB / 0.532 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008865/0.5242, allocations: 2.478 MB / 0.5344 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.5277, allocations: 0.9252 MB / 0.5353 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01645/0.5442, allocations: 9.784 MB / 0.5449 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01451/0.5587, allocations: 7.905 MB / 0.5526 GB, free: 3.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006288/0.5651, allocations: 1.793 MB / 0.5543 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006681/0.5718, allocations: 3.169 MB / 0.5574 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00168/0.5735, allocations: 240 kB / 0.5577 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004319/0.5779, allocations: 1.314 MB / 0.5589 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004253/0.5822, allocations: 2.812 MB / 0.5617 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008026/0.5902, allocations: 3.211 MB / 0.5648 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.6057, allocations: 10.69 MB / 0.5753 GB, free: 11.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6057, allocations: 4 kB / 0.5753 GB, free: 11.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6057, allocations: 0 / 0.5753 GB, free: 11.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004994/0.6063, allocations: 4 kB / 0.5753 GB, free: 11.78 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01814/0.6244, allocations: 6.266 MB / 0.5814 GB, free: 5.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.6245, allocations: 8.031 kB / 0.5814 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/0.6388, allocations: 2.893 MB / 0.5842 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/0.6504, allocations: 4.293 MB / 0.5884 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004692/0.6509, allocations: 393.8 kB / 0.5888 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002275/0.6532, allocations: 0.5072 MB / 0.5893 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03602/0.6892, allocations: 16.42 MB / 0.6053 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003475/0.6896, allocations: 71.36 kB / 0.6054 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/0.6916, allocations: 239.8 kB / 0.6056 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006016/0.6977, allocations: 3.158 MB / 0.6087 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0301/0.7278, allocations: 14.16 MB / 0.6225 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3146/1.042, allocations: 60.68 MB / 0.6818 GB, free: 103.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01982/1.062, allocations: 8.039 MB / 0.6896 GB, free: 100.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006122/1.068, allocations: 4.199 MB / 0.6937 GB, free: 99.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/1.069, allocations: 66.23 kB / 0.6938 GB, free: 99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/1.069, allocations: 67.3 kB / 0.6939 GB, free: 98.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=290): time 5.16e-06/1.069, allocations: 0 / 0.6939 GB, free: 98.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=332): time 0.08807/1.157, allocations: 35.42 MB / 0.7285 GB, free: 82.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.965e-05/1.157, allocations: 218 kB / 0.7287 GB, free: 82.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008442/1.165, allocations: 6.366 MB / 0.7349 GB, free: 76.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008925/1.166, allocations: 77.7 kB / 0.735 GB, free: 75.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.169, allocations: 4.532 MB / 0.7394 GB, free: 71.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001365/1.17, allocations: 1.251 MB / 0.7406 GB, free: 70.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008139/1.171, allocations: 0.7559 MB / 0.7413 GB, free: 69.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.127e-05/1.171, allocations: 301.1 kB / 0.7416 GB, free: 69.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004816/1.176, allocations: 4.101 MB / 0.7456 GB, free: 65.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00655/1.182, allocations: 8.964 MB / 0.7544 GB, free: 53.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/1.196, allocations: 13.97 MB / 0.768 GB, free: 37.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/1.196, allocations: 48 kB / 0.7681 GB, free: 37.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02443/1.221, allocations: 14.97 MB / 0.7827 GB, free: 22.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.221, allocations: 79.94 kB / 0.7828 GB, free: 22.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001615/1.221, allocations: 173.9 kB / 0.7829 GB, free: 22.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005047/1.226, allocations: 2.277 MB / 0.7852 GB, free: 19.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006974/1.233, allocations: 2.098 MB / 0.7872 GB, free: 17.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/1.248, allocations: 13.51 MB / 0.8004 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009009/1.257, allocations: 0.5452 MB / 0.8009 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/1.259, allocations: 0.5077 MB / 0.8014 GB, free: 2.836 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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],fixed2.color[3],fixed2.color[2],fixed2.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 (1084): * Single equations (assignments): 1079 * 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.006386/1.265, allocations: 3.154 MB / 0.8045 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/1.267, allocations: 0.5475 MB / 0.8051 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/1.283, allocations: 8.465 MB / 0.8133 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.469e-05/1.283, allocations: 36 kB / 0.8134 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/1.283, allocations: 11.98 kB / 0.8134 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.998e-05/1.283, allocations: 15.95 kB / 0.8134 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2635/1.547, allocations: 17.42 MB / 0.8304 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/1.547, allocations: 3.094 kB / 0.8304 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/1.55, allocations: 0.6051 MB / 0.831 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005/1.555, allocations: 2.033 MB / 0.833 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007354/1.556, allocations: 65.84 kB / 0.833 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/1.57, allocations: 12.72 MB / 0.8455 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.57, allocations: 6.625 kB / 0.8455 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02268/1.593, allocations: 13.52 MB / 0.8587 GB, free: 133.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003427/1.597, allocations: 1.248 MB / 0.8599 GB, free: 133.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/1.598, allocations: 57.31 kB / 0.8599 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003416/1.601, allocations: 285.3 kB / 0.8602 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007487/1.602, allocations: 202.1 kB / 0.8604 GB, free: 133.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.602, allocations: 88.78 kB / 0.8605 GB, free: 133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.008612/1.611, allocations: 4.054 MB / 0.8644 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.222e-06/1.611, allocations: 0 / 0.8644 GB, free: 131.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01086/1.622, allocations: 1.742 MB / 0.8661 GB, free: 131.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.0009881/1.623, allocations: 217.4 kB / 0.8664 GB, free: 131.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01655/1.639, allocations: 9.88 MB / 0.876 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.639, allocations: 0.5625 kB / 0.876 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006576/1.646, allocations: 4.138 MB / 0.88 GB, free: 126.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00836/1.654, allocations: 0.683 MB / 0.8807 GB, free: 125.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/1.683, allocations: 19.66 MB / 0.8999 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005426/1.688, allocations: 4.861 MB / 0.9047 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007731/1.696, allocations: 2.918 MB / 0.9075 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001942/1.698, allocations: 395.3 kB / 0.9079 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.543e-06/1.698, allocations: 0 / 0.9079 GB, free: 101.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.104/1.802, allocations: 67.74 MB / 0.974 GB, free: 33.58 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) Environment - environmentSimulation: