Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque") translateModel(ModelicaTest.MultiBody.Forces.Worldtorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.008406/0.008407, allocations: 102.7 kB / 15.73 MB, free: 5.539 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.001422/0.001423, allocations: 193.2 kB / 16.67 MB, free: 5.469 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.412/1.412, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2028/0.2028, allocations: 37.99 MB / 307.9 MB, free: 5.977 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.001497/0.001497, allocations: 67.91 kB / 433 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1121, allocations: 56.46 MB / 489.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.0198/0.132, allocations: 17.66 MB / 0.4953 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.1465, allocations: 5.374 MB / 0.5005 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004281/0.1509, allocations: 111.7 kB / 0.5006 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.1613, allocations: 5.105 MB / 0.5056 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.1723, allocations: 2.84 MB / 0.5084 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003548/0.1759, allocations: 1.252 MB / 0.5096 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.3321/0.5081, allocations: 7.909 MB / 0.5173 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0119/0.52, allocations: 6.245 MB / 0.5234 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008327/0.5284, allocations: 2.759 MB / 0.5261 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.5391, allocations: 3.859 MB / 0.5299 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004242/0.5433, allocations: 0.6071 MB / 0.5305 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006664/0.55, allocations: 1.607 MB / 0.532 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007278/0.5574, allocations: 3.514 MB / 0.5355 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01001/0.5674, allocations: 3.941 MB / 0.5393 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0211/0.5885, allocations: 12.41 MB / 0.5514 GB, free: 11.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.5886, allocations: 1.688 kB / 0.5514 GB, free: 11.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.5886, allocations: 0 / 0.5514 GB, free: 11.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005093/0.5891, allocations: 0 / 0.5514 GB, free: 11.1 MB / 414.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.02727/0.6164, allocations: 8.317 MB / 0.5596 GB, free: 5.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.6165, allocations: 15.89 kB / 0.5596 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01759/0.6341, allocations: 3.208 MB / 0.5627 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/0.649, allocations: 5.309 MB / 0.5679 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005024/0.6495, allocations: 413.6 kB / 0.5683 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002925/0.6525, allocations: 0.5285 MB / 0.5688 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03574/0.6882, allocations: 16.39 MB / 0.5848 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004148/0.6887, allocations: 79.39 kB / 0.5849 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001311/0.69, allocations: 256.6 kB / 0.5851 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005563/0.6956, allocations: 3.067 MB / 0.5881 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03252/0.7281, allocations: 13.65 MB / 0.6015 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/0.8295, allocations: 62.11 MB / 0.6621 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/0.8449, allocations: 6.111 MB / 0.6681 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005116/0.8501, allocations: 3.418 MB / 0.6714 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.8504, allocations: 46.05 kB / 0.6715 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/0.8504, allocations: 60.12 kB / 0.6715 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=249): time 6.052e-06/0.8505, allocations: 0 / 0.6715 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=267): time 0.0745/0.925, allocations: 26.32 MB / 0.6972 GB, free: 7.102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.9252, allocations: 264.7 kB / 0.6975 GB, free: 6.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/0.9366, allocations: 7.039 MB / 0.7043 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008737/0.9375, allocations: 69.7 kB / 0.7044 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.005179/0.9427, allocations: 4.965 MB / 0.7093 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001903/0.9446, allocations: 1.033 MB / 0.7103 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002856/0.9475, allocations: 1.847 MB / 0.7121 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.9476, allocations: 304.7 kB / 0.7124 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005487/0.9531, allocations: 3.41 MB / 0.7157 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01093/0.964, allocations: 8.711 MB / 0.7242 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3624/1.326, allocations: 12.98 MB / 0.7369 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001763/1.327, allocations: 53.12 kB / 0.7369 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03771/1.364, allocations: 13.41 MB / 0.75 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001956/1.365, allocations: 85.02 kB / 0.7501 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004603/1.365, allocations: 185.1 kB / 0.7503 GB, free: 178.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005673/1.371, allocations: 1.791 MB / 0.752 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007831/1.379, allocations: 2.087 MB / 0.7541 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.393, allocations: 12.63 MB / 0.7664 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009109/1.402, allocations: 0.5078 MB / 0.7669 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/1.404, allocations: 0.5255 MB / 0.7674 GB, free: 170.6 MB / 0.5762 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.008287/1.412, allocations: 3.329 MB / 0.7707 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002332/1.414, allocations: 0.5784 MB / 0.7712 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/1.427, allocations: 5.994 MB / 0.7771 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-05/1.427, allocations: 31.28 kB / 0.7771 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.984e-05/1.427, allocations: 8.719 kB / 0.7771 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/1.427, allocations: 14.78 kB / 0.7771 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02719/1.455, allocations: 13.32 MB / 0.7901 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/1.455, allocations: 6.375 kB / 0.7902 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/1.457, allocations: 453.3 kB / 0.7906 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003729/1.461, allocations: 1.494 MB / 0.792 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003252/1.461, allocations: 51.03 kB / 0.7921 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/1.472, allocations: 11.69 MB / 0.8035 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.472, allocations: 7.969 kB / 0.8035 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.486, allocations: 9.74 MB / 0.813 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004204/1.491, allocations: 1.064 MB / 0.8141 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002361/1.493, allocations: 40 kB / 0.8141 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004327/1.497, allocations: 187.6 kB / 0.8143 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/1.498, allocations: 165.5 kB / 0.8144 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005466/1.499, allocations: 71.98 kB / 0.8145 GB, free: 135.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009471/1.508, allocations: 4.476 MB / 0.8189 GB, free: 131 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.51e-07/1.509, allocations: 0 / 0.8189 GB, free: 131 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01015/1.519, allocations: 1.673 MB / 0.8205 GB, free: 129.4 MB / 0.5762 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.0009601/1.52, allocations: 185.4 kB / 0.8207 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01292/1.533, allocations: 8.361 MB / 0.8289 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/1.533, allocations: 4 kB / 0.8289 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004205/1.537, allocations: 2.846 MB / 0.8316 GB, free: 117.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008309/1.545, allocations: 0.7921 MB / 0.8324 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0324/1.578, allocations: 15.55 MB / 0.8476 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008706/1.586, allocations: 5.066 MB / 0.8525 GB, free: 96.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006149/1.593, allocations: 2.793 MB / 0.8553 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.594, allocations: 395.4 kB / 0.8557 GB, free: 93.29 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/1.594, allocations: 0 / 0.8557 GB, free: 93.29 MB / 0.5762 GB Notification: Performance of Templates: time 0.0952/1.689, allocations: 59.63 MB / 0.9139 GB, free: 33.77 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.pipe 2>&1)