Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.002486/0.002486, allocations: 195.7 kB / 16.25 MB, free: 6.629 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.681/1.681, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.3848/0.3848, allocations: 39.93 MB / 309.4 MB, free: 8.988 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.001434/0.001434, allocations: 63.91 kB / 377.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1602, allocations: 56.88 MB / 434 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3988/0.5591, allocations: 73.68 MB / 0.4958 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04406/0.6032, allocations: 14.45 MB / 0.5099 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02317/0.6264, allocations: 316.5 kB / 0.5102 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009057/0.6356, allocations: 3.636 MB / 0.5137 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.6457, allocations: 2.252 MB / 0.5159 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004188/0.65, allocations: 0.9535 MB / 0.5169 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01552/0.6655, allocations: 6.26 MB / 0.523 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01041/0.676, allocations: 4.999 MB / 0.5279 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006833/0.6828, allocations: 2.166 MB / 0.53 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006703/0.6896, allocations: 3.223 MB / 0.5331 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.6914, allocations: 460 kB / 0.5336 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.6956, allocations: 1.486 MB / 0.535 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004006/0.6996, allocations: 2.731 MB / 0.5377 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006233/0.7058, allocations: 3.061 MB / 0.5407 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.7211, allocations: 9.404 MB / 0.5499 GB, free: 1.988 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.7211, allocations: 4 kB / 0.5499 GB, free: 1.984 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.7212, allocations: 0 / 0.5499 GB, free: 1.984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006383/0.7218, allocations: 0 / 0.5499 GB, free: 1.984 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02356/0.7454, allocations: 6.55 MB / 0.5563 GB, free: 11.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.7454, allocations: 11.89 kB / 0.5563 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.758, allocations: 2.66 MB / 0.5589 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.7683, allocations: 4.004 MB / 0.5628 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003/0.7687, allocations: 308.4 kB / 0.5631 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00174/0.7704, allocations: 415.6 kB / 0.5635 GB, free: 3.898 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/0.7971, allocations: 13.01 MB / 0.5762 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002632/0.7975, allocations: 55.44 kB / 0.5762 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009604/0.7984, allocations: 199.8 kB / 0.5764 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004084/0.8025, allocations: 2.507 MB / 0.5789 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02158/0.8241, allocations: 10.83 MB / 0.5894 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4084/1.233, allocations: 50.15 MB / 0.6384 GB, free: 112.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/1.243, allocations: 4.547 MB / 0.6429 GB, free: 111.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/1.246, allocations: 2.456 MB / 0.6453 GB, free: 111.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/1.258, allocations: 6.73 MB / 0.6518 GB, free: 109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/1.258, allocations: 60.5 kB / 0.6519 GB, free: 109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 6.843e-06/1.258, allocations: 1.594 kB / 0.6519 GB, free: 109 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.04911/1.307, allocations: 19.41 MB / 0.6708 GB, free: 101.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.307, allocations: 233.5 kB / 0.6711 GB, free: 101 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/1.321, allocations: 5.913 MB / 0.6768 GB, free: 98.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007268/1.321, allocations: 56.2 kB / 0.6769 GB, free: 98.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004742/1.326, allocations: 4.062 MB / 0.6809 GB, free: 95.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002066/1.328, allocations: 0.7748 MB / 0.6816 GB, free: 95.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003055/1.331, allocations: 1.532 MB / 0.6831 GB, free: 94.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/1.331, allocations: 305.7 kB / 0.6834 GB, free: 94.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005094/1.337, allocations: 2.633 MB / 0.686 GB, free: 93.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007447/1.344, allocations: 7.158 MB / 0.693 GB, free: 86.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/1.356, allocations: 10.5 MB / 0.7032 GB, free: 77.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/1.357, allocations: 51.25 kB / 0.7033 GB, free: 77.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02074/1.377, allocations: 10.58 MB / 0.7136 GB, free: 74.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/1.378, allocations: 79.8 kB / 0.7137 GB, free: 74.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003568/1.378, allocations: 158.4 kB / 0.7138 GB, free: 73.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003133/1.381, allocations: 1.236 MB / 0.715 GB, free: 73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006011/1.387, allocations: 1.731 MB / 0.7167 GB, free: 71.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009177/1.396, allocations: 8.498 MB / 0.725 GB, free: 63.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009869/1.406, allocations: 408.1 kB / 0.7254 GB, free: 62.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/1.408, allocations: 456 kB / 0.7258 GB, free: 62.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (918): * Single equations (assignments): 911 * 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 {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006908/1.415, allocations: 2.697 MB / 0.7285 GB, free: 59.53 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001976/1.417, allocations: 484.9 kB / 0.7289 GB, free: 59.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008102/1.425, allocations: 4.029 MB / 0.7329 GB, free: 55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.515e-05/1.425, allocations: 20 kB / 0.7329 GB, free: 54.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-05/1.425, allocations: 8.844 kB / 0.7329 GB, free: 54.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-05/1.425, allocations: 11.95 kB / 0.7329 GB, free: 54.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/1.446, allocations: 9.57 MB / 0.7423 GB, free: 45.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/1.446, allocations: 5.625 kB / 0.7423 GB, free: 45.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.447, allocations: 327.8 kB / 0.7426 GB, free: 45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002369/1.45, allocations: 1.006 MB / 0.7436 GB, free: 43.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000195/1.45, allocations: 39.98 kB / 0.7436 GB, free: 43.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006937/1.457, allocations: 7.824 MB / 0.7512 GB, free: 35.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.457, allocations: 4 kB / 0.7512 GB, free: 35.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008969/1.466, allocations: 6.892 MB / 0.758 GB, free: 28.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/1.469, allocations: 0.8306 MB / 0.7588 GB, free: 28.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007645/1.469, allocations: 32 kB / 0.7588 GB, free: 28.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/1.471, allocations: 119.8 kB / 0.7589 GB, free: 27.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/1.471, allocations: 117 kB / 0.759 GB, free: 27.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.472, allocations: 55.98 kB / 0.7591 GB, free: 27.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005498/1.477, allocations: 3.778 MB / 0.7628 GB, free: 23.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.477, allocations: 0 / 0.7628 GB, free: 23.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007629/1.485, allocations: 1.295 MB / 0.764 GB, free: 22.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004547/1.485, allocations: 173.5 kB / 0.7642 GB, free: 22.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009875/1.495, allocations: 6.947 MB / 0.771 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.495, allocations: 0 / 0.771 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.497, allocations: 1.914 MB / 0.7729 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/1.502, allocations: 0.6295 MB / 0.7735 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/1.522, allocations: 14.69 MB / 0.7878 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005608/1.528, allocations: 4.135 MB / 0.7919 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006399/1.534, allocations: 2.308 MB / 0.7941 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.536, allocations: 315.4 kB / 0.7944 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/1.536, allocations: 4 kB / 0.7944 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.3847/1.921, allocations: 49.23 MB / 0.8425 GB, free: 165.4 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)