Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.006121/0.006121, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001282/0.001282, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.603/1.603, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3804/0.3804, allocations: 39.95 MB / 309.8 MB, free: 9.43 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.00146/0.00146, allocations: 67.89 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4426, allocations: 56.87 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01977/0.4625, allocations: 16.51 MB / 0.4973 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.4805, allocations: 5.148 MB / 0.5023 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006374/0.487, allocations: 99.75 kB / 0.5024 GB, free: 4.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009831/0.4968, allocations: 4.574 MB / 0.5069 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.5087, allocations: 2.618 MB / 0.5094 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004336/0.5131, allocations: 1.137 MB / 0.5105 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.5271, allocations: 6.715 MB / 0.5171 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01397/0.5411, allocations: 5.777 MB / 0.5227 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0071/0.5483, allocations: 2.5 MB / 0.5252 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007447/0.5557, allocations: 3.45 MB / 0.5285 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003156/0.5589, allocations: 0.5703 MB / 0.5291 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/0.5648, allocations: 1.561 MB / 0.5306 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006044/0.5709, allocations: 3.199 MB / 0.5337 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01078/0.5817, allocations: 3.643 MB / 0.5373 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0185/0.6002, allocations: 11.55 MB / 0.5486 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.6003, allocations: 0 / 0.5486 GB, free: 11.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6003, allocations: 0 / 0.5486 GB, free: 11.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004688/0.6008, allocations: 0 / 0.5486 GB, free: 11.05 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02583/0.6266, allocations: 7.689 MB / 0.5561 GB, free: 3.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.757e-05/0.6267, allocations: 15.89 kB / 0.5561 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.6431, allocations: 2.819 MB / 0.5589 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.6563, allocations: 4.378 MB / 0.5631 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.6568, allocations: 385.8 kB / 0.5635 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002592/0.6594, allocations: 0.4958 MB / 0.564 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0403/0.6997, allocations: 16.4 MB / 0.58 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002828/0.7, allocations: 71.36 kB / 0.5801 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009766/0.701, allocations: 239.7 kB / 0.5803 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005832/0.7069, allocations: 3.158 MB / 0.5834 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/0.7405, allocations: 14.13 MB / 0.5972 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4472/1.188, allocations: 60.3 MB / 0.6561 GB, free: 85.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02437/1.212, allocations: 8.01 MB / 0.6639 GB, free: 84.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01086/1.223, allocations: 4.201 MB / 0.668 GB, free: 82.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003936/1.224, allocations: 57.69 kB / 0.668 GB, free: 82.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/1.224, allocations: 70 kB / 0.6681 GB, free: 82.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 1.009e-05/1.224, allocations: 1.859 kB / 0.6681 GB, free: 82.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=332): time 0.09765/1.321, allocations: 35.39 MB / 0.7027 GB, free: 66.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/1.322, allocations: 214.1 kB / 0.7029 GB, free: 65.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009259/1.331, allocations: 6.375 MB / 0.7091 GB, free: 59.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001339/1.332, allocations: 77.7 kB / 0.7092 GB, free: 59.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002562/1.335, allocations: 4.535 MB / 0.7136 GB, free: 54.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001898/1.337, allocations: 1.239 MB / 0.7148 GB, free: 53.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002732/1.339, allocations: 1.816 MB / 0.7166 GB, free: 51.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.544e-05/1.34, allocations: 301.1 kB / 0.7169 GB, free: 51.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/1.345, allocations: 4.103 MB / 0.7209 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007873/1.353, allocations: 8.968 MB / 0.7296 GB, free: 36.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/1.368, allocations: 13.98 MB / 0.7433 GB, free: 19.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001468/1.368, allocations: 48 kB / 0.7433 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.0326/1.4, allocations: 14.96 MB / 0.7579 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003784/1.401, allocations: 76 kB / 0.758 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005391/1.401, allocations: 168.3 kB / 0.7582 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006176/1.408, allocations: 2.286 MB / 0.7604 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008867/1.416, allocations: 2.098 MB / 0.7625 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/1.439, allocations: 14.44 MB / 0.7766 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/1.449, allocations: 0.5422 MB / 0.7771 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002843/1.452, allocations: 0.5038 MB / 0.7776 GB, free: 372 kB / 0.5137 GB 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.01121/1.463, allocations: 3.15 MB / 0.7807 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002813/1.466, allocations: 0.5631 MB / 0.7812 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02211/1.488, allocations: 8.446 MB / 0.7895 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001029/1.488, allocations: 39.98 kB / 0.7895 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.496e-05/1.488, allocations: 12 kB / 0.7895 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001142/1.489, allocations: 15.95 kB / 0.7895 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04423/1.533, allocations: 17.22 MB / 0.8063 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/1.533, allocations: 4 kB / 0.8063 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/1.537, allocations: 0.601 MB / 0.8069 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0057/1.542, allocations: 2.038 MB / 0.8089 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000918/1.543, allocations: 63.98 kB / 0.809 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02024/1.564, allocations: 13.77 MB / 0.8224 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.564, allocations: 4 kB / 0.8224 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02948/1.593, allocations: 13.53 MB / 0.8356 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006072/1.599, allocations: 1.236 MB / 0.8369 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003191/1.603, allocations: 60 kB / 0.8369 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005237/1.608, allocations: 283.5 kB / 0.8372 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001389/1.609, allocations: 201.4 kB / 0.8374 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000786/1.61, allocations: 87.98 kB / 0.8375 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009695/1.62, allocations: 4.057 MB / 0.8414 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.21e-07/1.62, allocations: 0 / 0.8414 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01279/1.633, allocations: 1.749 MB / 0.8431 GB, free: 12.66 MB / 0.5919 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.001585/1.634, allocations: 205.1 kB / 0.8433 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01969/1.654, allocations: 9.922 MB / 0.853 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/1.654, allocations: 4 kB / 0.853 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008701/1.663, allocations: 4.143 MB / 0.8571 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007807/1.671, allocations: 0.7212 MB / 0.8578 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3621/2.033, allocations: 16.21 MB / 0.8736 GB, free: 213.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/2.043, allocations: 4.851 MB / 0.8783 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01063/2.054, allocations: 2.922 MB / 0.8812 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/2.056, allocations: 403.1 kB / 0.8816 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/2.056, allocations: 0 / 0.8816 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.122/2.178, allocations: 67.19 MB / 0.9472 GB, free: 170 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)