Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.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.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008457/0.008457, allocations: 99.52 kB / 15.73 MB, free: 6.008 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.001368/0.001369, allocations: 197.9 kB / 16.68 MB, free: 5.93 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.3038/0.3038, allocations: 38 MB / 307.9 MB, free: 10.11 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.001455/0.001455, allocations: 71.89 kB / 433 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2635, allocations: 56.46 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01628/0.2798, allocations: 17.1 MB / 0.4947 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.291, allocations: 5.104 MB / 0.4997 GB, free: 4.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.294, allocations: 108.1 kB / 0.4998 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008088/0.3021, allocations: 5.074 MB / 0.5048 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00677/0.3089, allocations: 2.791 MB / 0.5075 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.3117, allocations: 1.084 MB / 0.5086 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.322, allocations: 6.834 MB / 0.5152 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007458/0.3295, allocations: 5.931 MB / 0.521 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/0.3344, allocations: 2.562 MB / 0.5235 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004942/0.3394, allocations: 3.485 MB / 0.5269 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001626/0.3411, allocations: 0.5469 MB / 0.5275 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003692/0.3448, allocations: 1.432 MB / 0.5289 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003586/0.3484, allocations: 3.257 MB / 0.532 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006447/0.3549, allocations: 3.655 MB / 0.5356 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.3683, allocations: 11.38 MB / 0.5467 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3683, allocations: 0 / 0.5467 GB, free: 12.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3684, allocations: 0 / 0.5467 GB, free: 12.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003594/0.3687, allocations: 4 kB / 0.5467 GB, free: 12.93 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01676/0.3855, allocations: 7.911 MB / 0.5545 GB, free: 4.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3855, allocations: 15.88 kB / 0.5545 GB, free: 4.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.3977, allocations: 2.834 MB / 0.5572 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.408, allocations: 4.59 MB / 0.5617 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.4083, allocations: 386.2 kB / 0.5621 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001918/0.4103, allocations: 0.5112 MB / 0.5626 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02984/0.4401, allocations: 15.63 MB / 0.5779 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003168/0.4404, allocations: 71.31 kB / 0.5779 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001573/0.442, allocations: 239.8 kB / 0.5782 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005395/0.4474, allocations: 3.067 MB / 0.5812 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03043/0.4779, allocations: 13.24 MB / 0.5941 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3528/0.8307, allocations: 61.31 MB / 0.6539 GB, free: 84.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01548/0.8463, allocations: 6.651 MB / 0.6604 GB, free: 83.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005068/0.8514, allocations: 4.027 MB / 0.6644 GB, free: 81.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0173/0.8687, allocations: 9.475 MB / 0.6736 GB, free: 77.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.666e-05/0.8689, allocations: 71.25 kB / 0.6737 GB, free: 77.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=269): time 8.356e-06/0.8689, allocations: 0 / 0.6737 GB, free: 77.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=311): time 0.07333/0.9422, allocations: 32.59 MB / 0.7055 GB, free: 62.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.9424, allocations: 239.1 kB / 0.7057 GB, free: 61.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008462/0.9508, allocations: 6.989 MB / 0.7126 GB, free: 55.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006756/0.9515, allocations: 65.7 kB / 0.7126 GB, free: 55.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002105/0.9536, allocations: 4.775 MB / 0.7173 GB, free: 50.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.9547, allocations: 1.175 MB / 0.7184 GB, free: 49.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/0.9568, allocations: 1.919 MB / 0.7203 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.9569, allocations: 307.5 kB / 0.7206 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004453/0.9613, allocations: 3.922 MB / 0.7244 GB, free: 43.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006704/0.9681, allocations: 9.25 MB / 0.7335 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01297/0.9811, allocations: 14.11 MB / 0.7473 GB, free: 15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001688/0.9813, allocations: 52 kB / 0.7473 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02514/1.006, allocations: 14.99 MB / 0.762 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.007, allocations: 84 kB / 0.762 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002238/1.007, allocations: 184.8 kB / 0.7622 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005771/1.013, allocations: 2.301 MB / 0.7645 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007792/1.02, allocations: 2.16 MB / 0.7666 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/1.04, allocations: 14.39 MB / 0.7806 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008643/1.048, allocations: 0.5461 MB / 0.7812 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001994/1.05, allocations: 0.5506 MB / 0.7817 GB, free: 11.45 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1140): * Single equations (assignments): 1133 * 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.006689/1.057, allocations: 3.23 MB / 0.7848 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001468/1.058, allocations: 0.5861 MB / 0.7854 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/1.073, allocations: 7.71 MB / 0.7929 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.806e-05/1.073, allocations: 36 kB / 0.793 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.033e-05/1.073, allocations: 12 kB / 0.793 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-05/1.074, allocations: 19.88 kB / 0.793 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03487/1.108, allocations: 16.06 MB / 0.8087 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-05/1.109, allocations: 4.469 kB / 0.8087 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003057/1.112, allocations: 0.5227 MB / 0.8092 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005817/1.117, allocations: 2.038 MB / 0.8112 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006697/1.118, allocations: 60 kB / 0.8113 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/1.137, allocations: 13.69 MB / 0.8246 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.137, allocations: 10.89 kB / 0.8246 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02234/1.159, allocations: 12.26 MB / 0.8366 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003964/1.163, allocations: 1.185 MB / 0.8378 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/1.165, allocations: 59.94 kB / 0.8378 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003787/1.169, allocations: 223.7 kB / 0.838 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/1.17, allocations: 189.9 kB / 0.8382 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004355/1.17, allocations: 83.98 kB / 0.8383 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.01067/1.181, allocations: 4.472 MB / 0.8427 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.61e-07/1.181, allocations: 0 / 0.8427 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009976/1.191, allocations: 1.735 MB / 0.8444 GB, free: 10.75 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 (254): * Single equations (assignments): 249 * 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.000958/1.192, allocations: 197.5 kB / 0.8446 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01562/1.208, allocations: 9.482 MB / 0.8538 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.208, allocations: 4 kB / 0.8538 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006568/1.214, allocations: 3.725 MB / 0.8575 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006176/1.221, allocations: 0.7504 MB / 0.8582 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2961/1.517, allocations: 16.06 MB / 0.8739 GB, free: 212 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01174/1.528, allocations: 4.895 MB / 0.8786 GB, free: 211.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01073/1.539, allocations: 2.97 MB / 0.8815 GB, free: 211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002558/1.542, allocations: 409.4 kB / 0.8819 GB, free: 211 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/1.542, allocations: 0 / 0.8819 GB, free: 211 MB / 0.6075 GB Notification: Performance of Templates: time 0.1111/1.653, allocations: 66.13 MB / 0.9465 GB, free: 172.5 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1)