Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.009926/0.009927, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.002018/0.002018, allocations: 189.9 kB / 16.67 MB, free: 5.973 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.605/1.605, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.3325/0.3325, allocations: 38 MB / 307.9 MB, free: 10.14 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.001946/0.001946, allocations: 80.31 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3536, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.0203/0.374, allocations: 20.84 MB / 0.4984 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.3898, allocations: 6.074 MB / 0.5043 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006819/0.3967, allocations: 139.2 kB / 0.5044 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01408/0.4108, allocations: 6.397 MB / 0.5107 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.4237, allocations: 3.335 MB / 0.514 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005304/0.4291, allocations: 1.606 MB / 0.5155 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01766/0.4468, allocations: 9.814 MB / 0.5251 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01467/0.4615, allocations: 8.34 MB / 0.5332 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009951/0.4715, allocations: 3.45 MB / 0.5366 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/0.4831, allocations: 4.771 MB / 0.5413 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004361/0.4875, allocations: 0.7734 MB / 0.542 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007253/0.4948, allocations: 1.772 MB / 0.5438 GB, free: 12 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007523/0.5024, allocations: 4.361 MB / 0.548 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01149/0.5139, allocations: 4.829 MB / 0.5527 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02499/0.5389, allocations: 14.99 MB / 0.5674 GB, free: 7.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.539, allocations: 0 / 0.5674 GB, free: 7.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.539, allocations: 0 / 0.5674 GB, free: 7.742 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006636/0.5396, allocations: 0 / 0.5674 GB, free: 7.742 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.03334/0.573, allocations: 10.07 MB / 0.5772 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5731, allocations: 11.89 kB / 0.5772 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/0.5928, allocations: 3.733 MB / 0.5809 GB, free: 9.809 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01735/0.6102, allocations: 6.675 MB / 0.5874 GB, free: 3.055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005384/0.6108, allocations: 0.4932 MB / 0.5879 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002973/0.6137, allocations: 0.6519 MB / 0.5885 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04373/0.6575, allocations: 19.92 MB / 0.608 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000406/0.658, allocations: 87.2 kB / 0.608 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/0.66, allocations: 311.7 kB / 0.6083 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006185/0.6662, allocations: 3.61 MB / 0.6119 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03411/0.7003, allocations: 16.75 MB / 0.6282 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4334/1.134, allocations: 72.73 MB / 0.6993 GB, free: 70.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02063/1.154, allocations: 8.495 MB / 0.7076 GB, free: 65.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005855/1.16, allocations: 4.545 MB / 0.712 GB, free: 63.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008045/1.161, allocations: 0.6595 MB / 0.7126 GB, free: 62.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.905e-05/1.161, allocations: 75.05 kB / 0.7127 GB, free: 62.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=311): time 6.632e-06/1.161, allocations: 0 / 0.7127 GB, free: 62.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=335): time 0.08709/1.248, allocations: 35.75 MB / 0.7476 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.894e-05/1.248, allocations: 303.6 kB / 0.7479 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.259, allocations: 7.818 MB / 0.7555 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001181/1.26, allocations: 77.7 kB / 0.7556 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003131/1.263, allocations: 5.728 MB / 0.7612 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001795/1.265, allocations: 1.279 MB / 0.7625 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002692/1.268, allocations: 2.084 MB / 0.7645 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.35e-05/1.268, allocations: 301.1 kB / 0.7648 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004876/1.273, allocations: 4.123 MB / 0.7688 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0074/1.28, allocations: 9.842 MB / 0.7784 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02138/1.301, allocations: 14.9 MB / 0.793 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001845/1.302, allocations: 59.94 kB / 0.793 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.03315/1.335, allocations: 15.82 MB / 0.8085 GB, free: 12.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002915/1.335, allocations: 96.98 kB / 0.8086 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004079/1.335, allocations: 196 kB / 0.8088 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006729/1.342, allocations: 2.327 MB / 0.811 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008976/1.351, allocations: 2.351 MB / 0.8133 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/1.374, allocations: 16.75 MB / 0.8297 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/1.384, allocations: 0.5813 MB / 0.8303 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002872/1.387, allocations: 0.582 MB / 0.8308 GB, free: 4.863 MB / 0.5606 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.01049/1.398, allocations: 3.885 MB / 0.8346 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002556/1.4, allocations: 0.6595 MB / 0.8353 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02499/1.425, allocations: 7.99 MB / 0.8431 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-05/1.426, allocations: 42.11 kB / 0.8431 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.72e-05/1.426, allocations: 12 kB / 0.8431 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.89e-05/1.426, allocations: 15.94 kB / 0.8431 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04464/1.47, allocations: 17.32 MB / 0.86 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/1.47, allocations: 8 kB / 0.8601 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0033/1.474, allocations: 0.5578 MB / 0.8606 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006514/1.48, allocations: 2.002 MB / 0.8626 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007435/1.481, allocations: 60 kB / 0.8626 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2988/1.78, allocations: 15.6 MB / 0.8778 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.78, allocations: 5.516 kB / 0.8778 GB, free: 193.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02389/1.804, allocations: 12.4 MB / 0.89 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005159/1.809, allocations: 1.273 MB / 0.8912 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002594/1.812, allocations: 57.78 kB / 0.8913 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004341/1.816, allocations: 228.6 kB / 0.8915 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007207/1.817, allocations: 201.7 kB / 0.8917 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002829/1.817, allocations: 85.19 kB / 0.8917 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01123/1.828, allocations: 4.998 MB / 0.8966 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.61e-07/1.828, allocations: 0 / 0.8966 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01415/1.842, allocations: 2.014 MB / 0.8986 GB, free: 187.2 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.001227/1.844, allocations: 209.2 kB / 0.8988 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01672/1.86, allocations: 10.13 MB / 0.9087 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.86, allocations: 1.031 kB / 0.9087 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005748/1.866, allocations: 3.648 MB / 0.9123 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008503/1.875, allocations: 0.9588 MB / 0.9132 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/1.911, allocations: 18.85 MB / 0.9316 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01104/1.922, allocations: 5.944 MB / 0.9374 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007725/1.93, allocations: 3.074 MB / 0.9404 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/1.932, allocations: 459.4 kB / 0.9408 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of SimCode: time 7.61e-07/1.932, allocations: 0 / 0.9408 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1223/2.055, allocations: 75.93 MB / 1.015 GB, free: 82.62 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1)