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.008412/0.008412, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001948/0.001948, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.417/1.417, allocations: 205.1 MB / 222.6 MB, free: 4.477 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.3254/0.3254, allocations: 37.99 MB / 307.9 MB, free: 10.15 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.001512/0.001512, allocations: 64.28 kB / 433 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3946, allocations: 56.48 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.01846/0.4131, allocations: 17.64 MB / 0.4953 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.4285, allocations: 5.377 MB / 0.5005 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005202/0.4338, allocations: 114.9 kB / 0.5006 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009877/0.4437, allocations: 5.095 MB / 0.5056 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.4547, allocations: 2.937 MB / 0.5085 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004104/0.4588, allocations: 1.234 MB / 0.5097 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01447/0.4733, allocations: 7.925 MB / 0.5174 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008581/0.4819, allocations: 6.256 MB / 0.5235 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/0.4875, allocations: 2.768 MB / 0.5262 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006567/0.4941, allocations: 3.859 MB / 0.53 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001947/0.4961, allocations: 0.6094 MB / 0.5306 GB, free: 13.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.5003, allocations: 1.611 MB / 0.5322 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004205/0.5045, allocations: 3.542 MB / 0.5356 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006414/0.511, allocations: 3.939 MB / 0.5395 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01807/0.5291, allocations: 12.35 MB / 0.5515 GB, free: 7.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.5291, allocations: 3.938 kB / 0.5515 GB, free: 7.988 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5291, allocations: 0 / 0.5515 GB, free: 7.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004868/0.5296, allocations: 4 kB / 0.5515 GB, free: 7.984 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.0256/0.5552, allocations: 8.311 MB / 0.5597 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.5553, allocations: 19.89 kB / 0.5597 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/0.5717, allocations: 3.212 MB / 0.5628 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.5852, allocations: 5.31 MB / 0.568 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/0.5857, allocations: 398.7 kB / 0.5684 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002669/0.5884, allocations: 0.5388 MB / 0.5689 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03492/0.6233, allocations: 16.38 MB / 0.5849 GB, free: 4.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002973/0.6236, allocations: 79.3 kB / 0.585 GB, free: 4.492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000977/0.6246, allocations: 259.8 kB / 0.5852 GB, free: 4.238 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0051/0.6297, allocations: 3.064 MB / 0.5882 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03097/0.6607, allocations: 13.65 MB / 0.6015 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6667/1.328, allocations: 62.1 MB / 0.6622 GB, free: 81.59 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0243/1.352, allocations: 6.101 MB / 0.6681 GB, free: 80.21 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007737/1.36, allocations: 3.421 MB / 0.6715 GB, free: 78.78 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003494/1.36, allocations: 55.08 kB / 0.6715 GB, free: 78.77 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.868e-05/1.36, allocations: 66.91 kB / 0.6716 GB, free: 78.71 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=249): time 1.033e-05/1.36, allocations: 0 / 0.6716 GB, free: 78.71 MB / 0.4982 GB Notification: Performance of matching and sorting (n=267): time 0.09/1.45, allocations: 26.33 MB / 0.6973 GB, free: 67.96 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.45, allocations: 262.4 kB / 0.6976 GB, free: 67.68 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009722/1.46, allocations: 7.031 MB / 0.7044 GB, free: 64.11 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0007526/1.461, allocations: 64.95 kB / 0.7045 GB, free: 64.05 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00279/1.464, allocations: 4.975 MB / 0.7093 GB, free: 59.71 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001314/1.465, allocations: 1.034 MB / 0.7104 GB, free: 58.85 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002148/1.467, allocations: 1.848 MB / 0.7122 GB, free: 57.81 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.076e-05/1.467, allocations: 309 kB / 0.7125 GB, free: 57.5 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004433/1.472, allocations: 3.409 MB / 0.7158 GB, free: 55.84 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006203/1.478, allocations: 8.71 MB / 0.7243 GB, free: 45.08 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/1.49, allocations: 12.97 MB / 0.737 GB, free: 29.57 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/1.49, allocations: 59.94 kB / 0.737 GB, free: 29.52 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.0235/1.514, allocations: 13.4 MB / 0.7501 GB, free: 16.09 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002725/1.514, allocations: 87.94 kB / 0.7502 GB, free: 16.01 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003701/1.514, allocations: 195.6 kB / 0.7504 GB, free: 15.82 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004675/1.519, allocations: 1.798 MB / 0.7521 GB, free: 14.01 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006827/1.526, allocations: 2.082 MB / 0.7542 GB, free: 11.93 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.539, allocations: 12.62 MB / 0.7665 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008788/1.548, allocations: 0.5033 MB / 0.767 GB, free: 14.39 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/1.55, allocations: 0.5273 MB / 0.7675 GB, free: 13.86 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.008663/1.559, allocations: 3.324 MB / 0.7707 GB, free: 10.52 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002351/1.561, allocations: 0.5823 MB / 0.7713 GB, free: 9.934 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.575, allocations: 5.99 MB / 0.7772 GB, free: 3.918 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.819e-05/1.575, allocations: 31.44 kB / 0.7772 GB, free: 3.891 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.333e-05/1.575, allocations: 11.94 kB / 0.7772 GB, free: 3.879 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.353e-05/1.575, allocations: 17.36 kB / 0.7772 GB, free: 3.863 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03436/1.61, allocations: 13.32 MB / 0.7902 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-05/1.61, allocations: 0 / 0.7902 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/1.613, allocations: 459.3 kB / 0.7907 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004499/1.617, allocations: 1.501 MB / 0.7921 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000677/1.618, allocations: 47.98 kB / 0.7922 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01597/1.634, allocations: 11.69 MB / 0.8036 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.634, allocations: 8.094 kB / 0.8036 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/1.652, allocations: 9.737 MB / 0.8131 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003806/1.656, allocations: 1.071 MB / 0.8142 GB, free: 13.51 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/1.658, allocations: 40 kB / 0.8142 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00392/1.662, allocations: 179.8 kB / 0.8144 GB, free: 13.29 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006754/1.663, allocations: 169.6 kB / 0.8145 GB, free: 13.12 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/1.663, allocations: 71.98 kB / 0.8146 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01091/1.674, allocations: 4.48 MB / 0.819 GB, free: 8.594 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.6e-07/1.674, allocations: 0 / 0.819 GB, free: 8.594 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01119/1.685, allocations: 1.666 MB / 0.8206 GB, free: 6.934 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.001078/1.686, allocations: 189.4 kB / 0.8208 GB, free: 6.742 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01626/1.702, allocations: 8.366 MB / 0.8289 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/1.703, allocations: 0 / 0.8289 GB, free: 14.39 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/1.708, allocations: 2.846 MB / 0.8317 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007175/1.715, allocations: 0.7909 MB / 0.8325 GB, free: 10.71 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0331/1.748, allocations: 15.55 MB / 0.8477 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009911/1.758, allocations: 5.062 MB / 0.8526 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008319/1.767, allocations: 2.785 MB / 0.8553 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/1.769, allocations: 399.4 kB / 0.8557 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/1.769, allocations: 0 / 0.8557 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of Templates: time 0.3946/2.163, allocations: 59.64 MB / 0.914 GB, free: 173 MB / 0.5919 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)