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.006855/0.006855, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.00148/0.001479, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.3757/0.3757, allocations: 39.94 MB / 309.8 MB, free: 9.324 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.001787/0.001787, allocations: 75.89 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4138, allocations: 56.88 MB / 492.7 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.02205/0.4359, allocations: 17.11 MB / 0.4979 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01616/0.4522, allocations: 5.255 MB / 0.503 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006951/0.4592, allocations: 110.6 kB / 0.5031 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.4708, allocations: 4.849 MB / 0.5078 GB, free: 236 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.4844, allocations: 2.766 MB / 0.5105 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004787/0.4892, allocations: 1.147 MB / 0.5117 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01565/0.5049, allocations: 7 MB / 0.5185 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009261/0.5142, allocations: 6.082 MB / 0.5244 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006636/0.5209, allocations: 2.621 MB / 0.527 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006923/0.5278, allocations: 3.571 MB / 0.5305 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002203/0.5301, allocations: 0.5781 MB / 0.531 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004408/0.5345, allocations: 1.604 MB / 0.5326 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004502/0.539, allocations: 3.331 MB / 0.5359 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008729/0.5478, allocations: 3.783 MB / 0.5395 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0217/0.5695, allocations: 11.94 MB / 0.5512 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.388e-05/0.5696, allocations: 3.984 kB / 0.5512 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5696, allocations: 0 / 0.5512 GB, free: 8.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006718/0.5703, allocations: 4 kB / 0.5512 GB, free: 8.352 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.03201/0.6023, allocations: 8.065 MB / 0.5591 GB, free: 208 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.997e-05/0.6024, allocations: 11.89 kB / 0.5591 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.6187, allocations: 2.865 MB / 0.5619 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/0.6335, allocations: 4.639 MB / 0.5664 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004675/0.6341, allocations: 398.1 kB / 0.5668 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/0.637, allocations: 0.5191 MB / 0.5673 GB, free: 7.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03877/0.6758, allocations: 16.91 MB / 0.5838 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/0.6762, allocations: 71.3 kB / 0.5839 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000971/0.6772, allocations: 251.8 kB / 0.5841 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006176/0.6833, allocations: 3.248 MB / 0.5873 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03403/0.7174, allocations: 14.51 MB / 0.6015 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7402/1.458, allocations: 62.42 MB / 0.6624 GB, free: 83.39 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/1.478, allocations: 6.903 MB / 0.6692 GB, free: 81.73 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007606/1.486, allocations: 4.245 MB / 0.6733 GB, free: 80.02 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02345/1.509, allocations: 9.666 MB / 0.6828 GB, free: 75.64 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.539e-05/1.509, allocations: 65.91 kB / 0.6828 GB, free: 75.58 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=297): time 6.292e-06/1.509, allocations: 0 / 0.6828 GB, free: 75.58 MB / 0.4982 GB Notification: Performance of matching and sorting (n=339): time 0.08359/1.593, allocations: 34.79 MB / 0.7168 GB, free: 54.14 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/1.593, allocations: 244.2 kB / 0.717 GB, free: 53.85 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009208/1.602, allocations: 6.743 MB / 0.7236 GB, free: 47.11 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001509/1.604, allocations: 80.91 kB / 0.7237 GB, free: 47.03 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002939/1.607, allocations: 4.744 MB / 0.7283 GB, free: 42.29 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.609, allocations: 1.276 MB / 0.7296 GB, free: 41.02 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002359/1.611, allocations: 1.884 MB / 0.7314 GB, free: 39.12 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 6.391e-05/1.611, allocations: 301.1 kB / 0.7317 GB, free: 38.82 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004816/1.616, allocations: 4.067 MB / 0.7357 GB, free: 34.75 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007459/1.623, allocations: 9.152 MB / 0.7446 GB, free: 23.19 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/1.638, allocations: 14.17 MB / 0.7584 GB, free: 6.574 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001791/1.638, allocations: 51.94 kB / 0.7585 GB, free: 6.523 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03557/1.674, allocations: 15.12 MB / 0.7733 GB, free: 7.391 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002949/1.674, allocations: 83.94 kB / 0.7733 GB, free: 7.309 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000449/1.675, allocations: 176.5 kB / 0.7735 GB, free: 7.137 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006902/1.682, allocations: 2.29 MB / 0.7757 GB, free: 4.84 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009136/1.691, allocations: 2.144 MB / 0.7778 GB, free: 2.691 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02161/1.713, allocations: 14.44 MB / 0.7919 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/1.723, allocations: 0.5462 MB / 0.7925 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002907/1.726, allocations: 0.535 MB / 0.793 GB, free: 2.91 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.01193/1.738, allocations: 3.288 MB / 0.7962 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002958/1.741, allocations: 0.5822 MB / 0.7968 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/1.761, allocations: 8.447 MB / 0.805 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.086e-05/1.761, allocations: 36 kB / 0.8051 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.031e-05/1.761, allocations: 8 kB / 0.8051 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.527e-05/1.761, allocations: 19.94 kB / 0.8051 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04506/1.806, allocations: 16.92 MB / 0.8216 GB, free: 5.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.665e-05/1.806, allocations: 4 kB / 0.8216 GB, free: 5.516 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003544/1.81, allocations: 0.5816 MB / 0.8222 GB, free: 4.934 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005921/1.816, allocations: 2.038 MB / 0.8242 GB, free: 2.887 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001126/1.817, allocations: 67.98 kB / 0.8242 GB, free: 2.82 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/1.837, allocations: 13.74 MB / 0.8377 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.837, allocations: 7.938 kB / 0.8377 GB, free: 4.797 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02872/1.865, allocations: 13.13 MB / 0.8505 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005495/1.871, allocations: 1.235 MB / 0.8517 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002424/1.873, allocations: 56 kB / 0.8517 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004989/1.878, allocations: 243.6 kB / 0.852 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/1.879, allocations: 206.1 kB / 0.8522 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006605/1.88, allocations: 91.98 kB / 0.8523 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01053/1.891, allocations: 4.35 MB / 0.8565 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.32e-07/1.891, allocations: 0 / 0.8565 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.3883/2.279, allocations: 1.772 MB / 0.8582 GB, free: 198.5 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.001487/2.281, allocations: 209.5 kB / 0.8584 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02251/2.303, allocations: 9.834 MB / 0.868 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.989e-05/2.303, allocations: 3.438 kB / 0.868 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008355/2.312, allocations: 3.991 MB / 0.8719 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/2.317, allocations: 0.7694 MB / 0.8727 GB, free: 194.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03475/2.352, allocations: 16.62 MB / 0.8889 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007808/2.36, allocations: 5.039 MB / 0.8938 GB, free: 186 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00747/2.367, allocations: 2.97 MB / 0.8967 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/2.369, allocations: 414.2 kB / 0.8971 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.473e-06/2.369, allocations: 2.625 kB / 0.8971 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1134/2.483, allocations: 67.99 MB / 0.9635 GB, free: 125.3 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)