Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.006191/0.006191, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001255/0.001255, allocations: 187.7 kB / 16.67 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.61/1.61, allocations: 205.1 MB / 222.5 MB, free: 4.363 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.3439/0.3439, allocations: 38 MB / 307.9 MB, free: 10.41 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.00152/0.00152, allocations: 67.89 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3594, allocations: 56.47 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01642/0.3759, allocations: 17.1 MB / 0.4947 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/0.3895, allocations: 5.251 MB / 0.4999 GB, free: 4.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005709/0.3953, allocations: 110.7 kB / 0.5 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01015/0.4055, allocations: 4.849 MB / 0.5047 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.4178, allocations: 2.763 MB / 0.5074 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.4224, allocations: 1.147 MB / 0.5085 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01463/0.437, allocations: 7 MB / 0.5154 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009789/0.4469, allocations: 6.079 MB / 0.5213 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006256/0.4532, allocations: 2.632 MB / 0.5239 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006859/0.4601, allocations: 3.555 MB / 0.5273 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00253/0.4626, allocations: 0.5781 MB / 0.5279 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004906/0.4676, allocations: 1.607 MB / 0.5295 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005199/0.4728, allocations: 3.335 MB / 0.5327 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008407/0.4812, allocations: 3.783 MB / 0.5364 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0188/0.5001, allocations: 11.94 MB / 0.5481 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.5001, allocations: 4 kB / 0.5481 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5001, allocations: 0 / 0.5481 GB, free: 11.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005015/0.5007, allocations: 4 kB / 0.5481 GB, free: 11.53 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.02329/0.524, allocations: 8.061 MB / 0.556 GB, free: 3.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.524, allocations: 11.89 kB / 0.556 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01435/0.5384, allocations: 2.865 MB / 0.5588 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.5508, allocations: 4.639 MB / 0.5633 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/0.5513, allocations: 406.1 kB / 0.5637 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002605/0.5539, allocations: 0.5268 MB / 0.5642 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04013/0.594, allocations: 16.9 MB / 0.5807 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004045/0.5945, allocations: 67.45 kB / 0.5808 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002304/0.5968, allocations: 247.8 kB / 0.581 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006949/0.6038, allocations: 3.256 MB / 0.5842 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03517/0.639, allocations: 14.49 MB / 0.5983 GB, free: 6.852 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.417/1.056, allocations: 62.43 MB / 0.6593 GB, free: 83.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/1.074, allocations: 6.897 MB / 0.6661 GB, free: 82.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006271/1.081, allocations: 4.243 MB / 0.6702 GB, free: 80.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02096/1.102, allocations: 9.67 MB / 0.6796 GB, free: 76.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.957e-05/1.102, allocations: 71.53 kB / 0.6797 GB, free: 76.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=297): time 1.007e-05/1.102, allocations: 0 / 0.6797 GB, free: 76.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=339): time 0.08942/1.191, allocations: 34.78 MB / 0.7137 GB, free: 58.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.191, allocations: 240.2 kB / 0.7139 GB, free: 58.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/1.201, allocations: 6.747 MB / 0.7205 GB, free: 51.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/1.202, allocations: 73.7 kB / 0.7206 GB, free: 51.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002688/1.205, allocations: 4.751 MB / 0.7252 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001685/1.207, allocations: 1.27 MB / 0.7264 GB, free: 45.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002363/1.209, allocations: 1.891 MB / 0.7283 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/1.209, allocations: 305.1 kB / 0.7286 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005067/1.214, allocations: 4.07 MB / 0.7326 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007242/1.222, allocations: 9.142 MB / 0.7415 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/1.236, allocations: 14.17 MB / 0.7553 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/1.236, allocations: 48 kB / 0.7554 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03076/1.267, allocations: 15.11 MB / 0.7701 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/1.267, allocations: 83.98 kB / 0.7702 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002892/1.267, allocations: 177 kB / 0.7704 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006206/1.273, allocations: 2.285 MB / 0.7726 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008299/1.282, allocations: 2.152 MB / 0.7747 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/1.301, allocations: 14.44 MB / 0.7888 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008525/1.309, allocations: 0.5383 MB / 0.7893 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002225/1.312, allocations: 0.5384 MB / 0.7899 GB, free: 7.234 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.008445/1.32, allocations: 3.283 MB / 0.7931 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00215/1.322, allocations: 0.5784 MB / 0.7936 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/1.341, allocations: 8.459 MB / 0.8019 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.422e-05/1.341, allocations: 36 kB / 0.8019 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.084e-05/1.341, allocations: 11.98 kB / 0.8019 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.664e-05/1.342, allocations: 15.95 kB / 0.802 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04334/1.385, allocations: 16.9 MB / 0.8185 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-05/1.385, allocations: 4 kB / 0.8185 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003412/1.388, allocations: 0.5772 MB / 0.819 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006623/1.395, allocations: 2.05 MB / 0.821 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008311/1.396, allocations: 64 kB / 0.8211 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01895/1.415, allocations: 13.75 MB / 0.8345 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.415, allocations: 11.88 kB / 0.8345 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0247/1.44, allocations: 13.12 MB / 0.8473 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005313/1.445, allocations: 1.235 MB / 0.8486 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002401/1.447, allocations: 59.98 kB / 0.8486 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004206/1.452, allocations: 239.7 kB / 0.8488 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/1.453, allocations: 205.9 kB / 0.849 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005693/1.453, allocations: 90.17 kB / 0.8491 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008683/1.462, allocations: 4.357 MB / 0.8534 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.242e-06/1.462, allocations: 0 / 0.8534 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01101/1.473, allocations: 1.768 MB / 0.8551 GB, free: 3.902 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.001423/1.474, allocations: 215.5 kB / 0.8553 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.3735/1.848, allocations: 9.837 MB / 0.8649 GB, free: 203 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.848, allocations: 0 / 0.8649 GB, free: 203 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01322/1.861, allocations: 3.988 MB / 0.8688 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009855/1.871, allocations: 0.7698 MB / 0.8696 GB, free: 201.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05079/1.922, allocations: 16.61 MB / 0.8858 GB, free: 194.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008526/1.931, allocations: 5.036 MB / 0.8907 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00881/1.939, allocations: 2.976 MB / 0.8936 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.941, allocations: 413.2 kB / 0.894 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.223e-06/1.941, allocations: 3.828 kB / 0.894 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1181/2.059, allocations: 68 MB / 0.9604 GB, free: 134.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)