Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004672/0.004672, allocations: 105.6 kB / 15.74 MB, free: 6.055 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.0009583/0.0009583, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.367/0.367, allocations: 39.94 MB / 309.8 MB, free: 9.434 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.00248/0.00248, allocations: 75.89 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4252, allocations: 56.87 MB / 492.7 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01799/0.4433, allocations: 17.12 MB / 0.4979 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.4582, allocations: 5.256 MB / 0.503 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006332/0.4646, allocations: 106.8 kB / 0.5031 GB, free: 3.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.4754, allocations: 4.848 MB / 0.5078 GB, free: 308 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.4876, allocations: 2.771 MB / 0.5105 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.4918, allocations: 1.142 MB / 0.5117 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01489/0.5067, allocations: 7.001 MB / 0.5185 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01197/0.5188, allocations: 6.082 MB / 0.5244 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007021/0.5258, allocations: 2.62 MB / 0.527 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007927/0.5338, allocations: 3.559 MB / 0.5305 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003467/0.5373, allocations: 0.582 MB / 0.531 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005983/0.5434, allocations: 1.6 MB / 0.5326 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007124/0.5505, allocations: 3.312 MB / 0.5358 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01111/0.5617, allocations: 3.783 MB / 0.5395 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0209/0.5826, allocations: 11.94 MB / 0.5512 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5827, allocations: 4 kB / 0.5512 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5827, allocations: 0 / 0.5512 GB, free: 8.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005783/0.5833, allocations: 0 / 0.5512 GB, free: 8.379 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02873/0.612, allocations: 8.061 MB / 0.5591 GB, free: 240 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.337e-05/0.6121, allocations: 19.83 kB / 0.5591 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/0.6269, allocations: 2.865 MB / 0.5619 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.639, allocations: 4.639 MB / 0.5664 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005491/0.6395, allocations: 398.1 kB / 0.5668 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00241/0.642, allocations: 0.5113 MB / 0.5673 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03611/0.6781, allocations: 16.92 MB / 0.5838 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002716/0.6784, allocations: 71.36 kB / 0.5839 GB, free: 5.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001698/0.6801, allocations: 247.8 kB / 0.5841 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006746/0.6869, allocations: 3.256 MB / 0.5873 GB, free: 2.223 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/0.7206, allocations: 14.5 MB / 0.6015 GB, free: 3.691 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6717/1.392, allocations: 62.42 MB / 0.6624 GB, free: 83.62 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01866/1.411, allocations: 6.903 MB / 0.6692 GB, free: 81.94 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006733/1.418, allocations: 4.25 MB / 0.6733 GB, free: 80.23 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/1.436, allocations: 9.66 MB / 0.6827 GB, free: 75.84 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.554e-05/1.436, allocations: 69 kB / 0.6828 GB, free: 75.79 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=297): time 5.861e-06/1.436, allocations: 2.844 kB / 0.6828 GB, free: 75.79 MB / 0.4982 GB Notification: Performance of matching and sorting (n=339): time 0.08742/1.524, allocations: 34.79 MB / 0.7168 GB, free: 54.11 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/1.524, allocations: 243.7 kB / 0.717 GB, free: 53.82 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/1.537, allocations: 6.751 MB / 0.7236 GB, free: 47.08 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001621/1.538, allocations: 73.7 kB / 0.7237 GB, free: 47 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003771/1.542, allocations: 4.752 MB / 0.7283 GB, free: 42.25 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002476/1.545, allocations: 1.27 MB / 0.7296 GB, free: 40.99 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/1.547, allocations: 1.884 MB / 0.7314 GB, free: 39.09 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.317e-05/1.547, allocations: 301.1 kB / 0.7317 GB, free: 38.8 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004928/1.552, allocations: 4.07 MB / 0.7357 GB, free: 34.72 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006659/1.559, allocations: 9.145 MB / 0.7446 GB, free: 23.16 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.573, allocations: 14.17 MB / 0.7584 GB, free: 6.543 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/1.573, allocations: 48 kB / 0.7585 GB, free: 6.496 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02952/1.603, allocations: 15.12 MB / 0.7732 GB, free: 7.363 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.603, allocations: 83.94 kB / 0.7733 GB, free: 7.281 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002637/1.603, allocations: 176 kB / 0.7735 GB, free: 7.109 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006275/1.609, allocations: 2.285 MB / 0.7757 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008497/1.618, allocations: 2.156 MB / 0.7778 GB, free: 2.656 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/1.637, allocations: 14.43 MB / 0.7919 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009035/1.646, allocations: 0.5383 MB / 0.7924 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/1.648, allocations: 0.5312 MB / 0.793 GB, free: 2.887 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1125): * Single equations (assignments): 1118 * 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.007509/1.655, allocations: 3.296 MB / 0.7962 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.657, allocations: 0.5745 MB / 0.7967 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/1.673, allocations: 8.455 MB / 0.805 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.125e-05/1.674, allocations: 32 kB / 0.805 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/1.674, allocations: 12 kB / 0.805 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.337e-05/1.674, allocations: 19.94 kB / 0.8051 GB, free: 6.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03525/1.709, allocations: 16.91 MB / 0.8216 GB, free: 5.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-05/1.709, allocations: 4.469 kB / 0.8216 GB, free: 5.496 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003449/1.712, allocations: 0.5851 MB / 0.8221 GB, free: 4.91 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005592/1.718, allocations: 2.042 MB / 0.8241 GB, free: 2.859 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009633/1.719, allocations: 63.98 kB / 0.8242 GB, free: 2.797 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/1.738, allocations: 13.75 MB / 0.8376 GB, free: 4.77 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.738, allocations: 7.828 kB / 0.8376 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02219/1.76, allocations: 13.11 MB / 0.8504 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004771/1.765, allocations: 1.247 MB / 0.8517 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001866/1.767, allocations: 56 kB / 0.8517 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004178/1.771, allocations: 243.6 kB / 0.8519 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008777/1.772, allocations: 205.8 kB / 0.8521 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000278/1.772, allocations: 89.8 kB / 0.8522 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00824/1.78, allocations: 4.35 MB / 0.8565 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.6e-07/1.78, allocations: 0 / 0.8565 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.3669/2.147, allocations: 1.775 MB / 0.8582 GB, free: 198.6 MB / 0.5919 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 (279): * Single equations (assignments): 274 * 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.001511/2.149, allocations: 202.1 kB / 0.8584 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02172/2.17, allocations: 9.84 MB / 0.868 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/2.17, allocations: 0 / 0.868 GB, free: 196.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008135/2.179, allocations: 3.996 MB / 0.8719 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007002/2.186, allocations: 0.7607 MB / 0.8727 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03591/2.222, allocations: 16.62 MB / 0.8889 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008005/2.23, allocations: 5.039 MB / 0.8938 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00666/2.236, allocations: 2.971 MB / 0.8967 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/2.238, allocations: 424.2 kB / 0.8971 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.212e-06/2.238, allocations: 0 / 0.8971 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.102/2.34, allocations: 67.74 MB / 0.9633 GB, free: 125.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)