Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.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.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006025/0.006025, 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.001329/0.001329, allocations: 197.4 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.473/1.473, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3219/0.3219, allocations: 39.95 MB / 309.8 MB, free: 9.441 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.001423/0.001423, allocations: 67.91 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2983, allocations: 56.87 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.01481/0.3131, allocations: 17.66 MB / 0.4984 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.3254, allocations: 5.38 MB / 0.5036 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005578/0.331, allocations: 115.6 kB / 0.5038 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009684/0.3408, allocations: 5.087 MB / 0.5087 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009249/0.3501, allocations: 2.848 MB / 0.5115 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.3535, allocations: 1.239 MB / 0.5127 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.3664, allocations: 7.924 MB / 0.5205 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00771/0.3741, allocations: 6.251 MB / 0.5266 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00672/0.3809, allocations: 2.761 MB / 0.5293 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006553/0.3875, allocations: 3.863 MB / 0.533 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002234/0.3897, allocations: 0.6094 MB / 0.5336 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004965/0.3947, allocations: 1.611 MB / 0.5352 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005877/0.4006, allocations: 3.55 MB / 0.5387 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005729/0.4064, allocations: 3.939 MB / 0.5425 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.4216, allocations: 12.34 MB / 0.5546 GB, free: 4.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4217, allocations: 0 / 0.5546 GB, free: 4.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4217, allocations: 0 / 0.5546 GB, free: 4.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004081/0.4221, allocations: 0 / 0.5546 GB, free: 4.902 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.02082/0.4429, allocations: 8.326 MB / 0.5627 GB, free: 12.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.443, allocations: 15.89 kB / 0.5627 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.4594, allocations: 3.212 MB / 0.5658 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01341/0.4728, allocations: 5.31 MB / 0.571 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.4732, allocations: 406.7 kB / 0.5714 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0019/0.4751, allocations: 0.531 MB / 0.5719 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03022/0.5054, allocations: 16.38 MB / 0.5879 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000231/0.5056, allocations: 79.3 kB / 0.588 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006792/0.5063, allocations: 255.8 kB / 0.5883 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004952/0.5113, allocations: 3.076 MB / 0.5913 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02865/0.5399, allocations: 13.65 MB / 0.6046 GB, free: 404 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6695/1.209, allocations: 62.09 MB / 0.6652 GB, free: 81.21 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/1.226, allocations: 6.11 MB / 0.6712 GB, free: 79.49 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005848/1.232, allocations: 3.415 MB / 0.6745 GB, free: 78.05 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/1.232, allocations: 49.44 kB / 0.6746 GB, free: 78.04 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/1.232, allocations: 62.91 kB / 0.6746 GB, free: 77.99 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=249): time 6.282e-06/1.232, allocations: 0 / 0.6746 GB, free: 77.99 MB / 0.4982 GB Notification: Performance of matching and sorting (n=267): time 0.06563/1.298, allocations: 26.34 MB / 0.7004 GB, free: 66.04 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.298, allocations: 257.5 kB / 0.7006 GB, free: 65.75 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008514/1.306, allocations: 7.024 MB / 0.7075 GB, free: 62.18 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0006784/1.307, allocations: 67.61 kB / 0.7075 GB, free: 62.12 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002667/1.31, allocations: 4.973 MB / 0.7124 GB, free: 57.79 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/1.311, allocations: 1.041 MB / 0.7134 GB, free: 56.92 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002022/1.313, allocations: 1.842 MB / 0.7152 GB, free: 55.74 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.241e-05/1.313, allocations: 301.1 kB / 0.7155 GB, free: 55.45 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/1.317, allocations: 3.413 MB / 0.7188 GB, free: 52.03 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006111/1.323, allocations: 8.708 MB / 0.7273 GB, free: 40.79 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01298/1.336, allocations: 12.99 MB / 0.74 GB, free: 25.23 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002761/1.336, allocations: 52 kB / 0.7401 GB, free: 25.18 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02667/1.363, allocations: 13.41 MB / 0.7532 GB, free: 11.75 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.363, allocations: 84 kB / 0.7532 GB, free: 11.67 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/1.363, allocations: 188 kB / 0.7534 GB, free: 11.48 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004236/1.368, allocations: 1.791 MB / 0.7552 GB, free: 9.684 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006851/1.374, allocations: 2.078 MB / 0.7572 GB, free: 7.602 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/1.388, allocations: 12.63 MB / 0.7695 GB, free: 10.57 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008073/1.396, allocations: 0.5071 MB / 0.77 GB, free: 10.06 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.397, allocations: 0.5312 MB / 0.7705 GB, free: 9.531 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1110): * Single equations (assignments): 1104 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (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.006634/1.404, allocations: 3.327 MB / 0.7738 GB, free: 6.191 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/1.406, allocations: 0.5784 MB / 0.7744 GB, free: 5.605 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.417, allocations: 5.986 MB / 0.7802 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.635e-05/1.417, allocations: 28 kB / 0.7802 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.618e-05/1.417, allocations: 8 kB / 0.7802 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.514e-05/1.417, allocations: 19.95 kB / 0.7803 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03454/1.452, allocations: 13.31 MB / 0.7933 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/1.452, allocations: 0 / 0.7933 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/1.454, allocations: 459.3 kB / 0.7937 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004762/1.459, allocations: 1.501 MB / 0.7952 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005384/1.46, allocations: 48 kB / 0.7952 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01469/1.474, allocations: 11.7 MB / 0.8066 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.474, allocations: 0 / 0.8066 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/1.493, allocations: 9.744 MB / 0.8161 GB, free: 10.27 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005534/1.498, allocations: 1.063 MB / 0.8172 GB, free: 9.184 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002352/1.501, allocations: 44 kB / 0.8172 GB, free: 9.141 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003773/1.504, allocations: 183.6 kB / 0.8174 GB, free: 8.965 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/1.505, allocations: 157.7 kB / 0.8175 GB, free: 8.809 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.505, allocations: 71.98 kB / 0.8176 GB, free: 8.738 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008239/1.513, allocations: 4.48 MB / 0.822 GB, free: 4.277 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.11e-07/1.513, allocations: 0 / 0.822 GB, free: 4.277 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01147/1.525, allocations: 1.671 MB / 0.8236 GB, free: 2.609 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (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.0008565/1.526, allocations: 189.5 kB / 0.8238 GB, free: 2.422 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.541, allocations: 8.36 MB / 0.832 GB, free: 10.07 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.541, allocations: 4.312 kB / 0.832 GB, free: 10.07 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004436/1.545, allocations: 2.857 MB / 0.8348 GB, free: 7.168 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006069/1.552, allocations: 0.7931 MB / 0.8355 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/1.584, allocations: 15.55 MB / 0.8507 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008314/1.592, allocations: 5.066 MB / 0.8557 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009558/1.602, allocations: 2.789 MB / 0.8584 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.603, allocations: 395.3 kB / 0.8588 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of SimCode: time 1.513e-06/1.603, allocations: 0 / 0.8588 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of Templates: time 0.4581/2.062, allocations: 59.73 MB / 0.9171 GB, free: 193 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)