Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006312/0.006312, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001602/0.001602, allocations: 190.9 kB / 16.67 MB, free: 5.934 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.687/1.687, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.4398/0.4398, allocations: 39.94 MB / 309.8 MB, free: 9.359 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.001851/0.001851, allocations: 67.91 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4233, allocations: 56.89 MB / 492.7 MB, free: 19.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.03191/0.4552, allocations: 20.83 MB / 0.5015 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02593/0.4812, allocations: 6.072 MB / 0.5074 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01124/0.4926, allocations: 138.9 kB / 0.5076 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02212/0.5148, allocations: 6.415 MB / 0.5138 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01964/0.5345, allocations: 3.326 MB / 0.5171 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007571/0.5421, allocations: 1.594 MB / 0.5186 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02698/0.5692, allocations: 9.824 MB / 0.5282 GB, free: 28 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02208/0.5913, allocations: 8.352 MB / 0.5364 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01112/0.6025, allocations: 3.446 MB / 0.5397 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01292/0.6155, allocations: 4.767 MB / 0.5444 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004874/0.6204, allocations: 0.7773 MB / 0.5452 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008483/0.6289, allocations: 1.771 MB / 0.5469 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01086/0.6398, allocations: 4.353 MB / 0.5511 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01741/0.6573, allocations: 4.829 MB / 0.5559 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03281/0.6902, allocations: 14.99 MB / 0.5705 GB, free: 4.531 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.6903, allocations: 0 / 0.5705 GB, free: 4.531 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6903, allocations: 0 / 0.5705 GB, free: 4.531 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008974/0.6912, allocations: 3.938 kB / 0.5705 GB, free: 4.527 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.03976/0.731, allocations: 10.07 MB / 0.5803 GB, free: 10.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.731, allocations: 15.89 kB / 0.5804 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/0.7533, allocations: 3.729 MB / 0.584 GB, free: 6.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02161/0.7749, allocations: 6.667 MB / 0.5905 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005486/0.7755, allocations: 0.4969 MB / 0.591 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003576/0.7791, allocations: 0.6674 MB / 0.5916 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04372/0.8228, allocations: 19.9 MB / 0.6111 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004151/0.8233, allocations: 95.2 kB / 0.6112 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001279/0.8246, allocations: 307.7 kB / 0.6115 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006351/0.831, allocations: 3.606 MB / 0.615 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03736/0.8684, allocations: 16.75 MB / 0.6313 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8319/1.7, allocations: 72.74 MB / 0.7024 GB, free: 65.87 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03078/1.731, allocations: 8.492 MB / 0.7107 GB, free: 61.39 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005879/1.737, allocations: 4.546 MB / 0.7151 GB, free: 58.96 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008448/1.738, allocations: 0.6667 MB / 0.7158 GB, free: 58.32 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.114e-05/1.738, allocations: 74.28 kB / 0.7158 GB, free: 58.26 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=311): time 8.135e-06/1.738, allocations: 0 / 0.7158 GB, free: 58.26 MB / 0.4982 GB Notification: Performance of matching and sorting (n=335): time 0.0958/1.834, allocations: 35.76 MB / 0.7507 GB, free: 24.03 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/1.834, allocations: 291.7 kB / 0.751 GB, free: 23.68 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01246/1.846, allocations: 7.815 MB / 0.7587 GB, free: 15.9 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007911/1.847, allocations: 78.72 kB / 0.7587 GB, free: 15.82 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003307/1.851, allocations: 5.737 MB / 0.7643 GB, free: 10.07 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.852, allocations: 1.276 MB / 0.7656 GB, free: 8.773 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00568/1.858, allocations: 2.09 MB / 0.7676 GB, free: 6.672 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/1.858, allocations: 305.1 kB / 0.7679 GB, free: 6.371 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007435/1.865, allocations: 4.111 MB / 0.7719 GB, free: 2.254 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01186/1.877, allocations: 9.846 MB / 0.7815 GB, free: 5.613 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.022/1.899, allocations: 14.9 MB / 0.7961 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001979/1.9, allocations: 56 kB / 0.7962 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03676/1.936, allocations: 15.83 MB / 0.8116 GB, free: 4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002933/1.937, allocations: 92 kB / 0.8117 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004106/1.937, allocations: 196.3 kB / 0.8119 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007321/1.945, allocations: 2.319 MB / 0.8142 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009134/1.954, allocations: 2.355 MB / 0.8165 GB, free: 15.02 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/1.977, allocations: 16.75 MB / 0.8328 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009341/1.987, allocations: 0.5735 MB / 0.8334 GB, free: 13.13 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/1.989, allocations: 0.5784 MB / 0.8339 GB, free: 12.55 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1250): * Single equations (assignments): 1243 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (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.009859/1.999, allocations: 3.897 MB / 0.8377 GB, free: 8.648 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002523/2.002, allocations: 0.671 MB / 0.8384 GB, free: 7.969 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/2.021, allocations: 7.982 MB / 0.8462 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-05/2.021, allocations: 39.98 kB / 0.8462 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-05/2.021, allocations: 12 kB / 0.8462 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-05/2.022, allocations: 11.95 kB / 0.8463 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4034/2.425, allocations: 17.32 MB / 0.8632 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-05/2.425, allocations: 2 kB / 0.8632 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003481/2.429, allocations: 0.5625 MB / 0.8637 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006259/2.435, allocations: 1.995 MB / 0.8657 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000953/2.436, allocations: 61.33 kB / 0.8657 GB, free: 193.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/2.455, allocations: 15.61 MB / 0.881 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.455, allocations: 2.562 kB / 0.881 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02308/2.478, allocations: 12.4 MB / 0.8931 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00489/2.483, allocations: 1.272 MB / 0.8943 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002497/2.486, allocations: 54.28 kB / 0.8944 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004784/2.49, allocations: 237.5 kB / 0.8946 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009728/2.491, allocations: 196.1 kB / 0.8948 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002979/2.492, allocations: 85.53 kB / 0.8949 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0104/2.502, allocations: 4.996 MB / 0.8998 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.774e-06/2.502, allocations: 3.906 kB / 0.8998 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01242/2.515, allocations: 2.011 MB / 0.9017 GB, free: 178.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,11,100.0%), (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.001035/2.516, allocations: 207.7 kB / 0.9019 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01419/2.53, allocations: 10.12 MB / 0.9118 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/2.53, allocations: 3.562 kB / 0.9118 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004784/2.535, allocations: 3.65 MB / 0.9154 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005902/2.541, allocations: 0.9757 MB / 0.9163 GB, free: 172.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03192/2.573, allocations: 18.82 MB / 0.9347 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/2.583, allocations: 5.956 MB / 0.9405 GB, free: 148.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009048/2.592, allocations: 3.081 MB / 0.9435 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002374/2.595, allocations: 459.4 kB / 0.944 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.483e-06/2.595, allocations: 0 / 0.944 GB, free: 144.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1217/2.716, allocations: 75.91 MB / 1.018 GB, free: 69.07 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)