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.001658/0.001658, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.45/1.45, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.3255/0.3255, allocations: 39.94 MB / 309.7 MB, free: 9.332 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.00175/0.00175, allocations: 70.41 kB / 377.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1196, allocations: 56.87 MB / 434.5 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.01844/0.1381, allocations: 17.67 MB / 452.2 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2107/0.3489, allocations: 5.361 MB / 457.5 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.351, allocations: 115.9 kB / 457.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007032/0.3581, allocations: 5.1 MB / 462.7 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006222/0.3644, allocations: 2.847 MB / 465.6 MB, free: 35.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.367, allocations: 1.237 MB / 466.8 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009059/0.3761, allocations: 7.908 MB / 474.7 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006231/0.3824, allocations: 6.258 MB / 481 MB, free: 29.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005057/0.3875, allocations: 2.756 MB / 483.7 MB, free: 28.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007103/0.3946, allocations: 3.85 MB / 487.6 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003813/0.3984, allocations: 0.6083 MB / 488.2 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00634/0.4048, allocations: 1.618 MB / 489.8 MB, free: 27.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0068/0.4117, allocations: 3.522 MB / 493.3 MB, free: 26.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009836/0.4215, allocations: 3.931 MB / 497.3 MB, free: 23.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01678/0.4383, allocations: 11.98 MB / 0.4973 GB, free: 17.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4384, allocations: 0 / 0.4973 GB, free: 17.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4384, allocations: 4 kB / 0.4973 GB, free: 17.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004846/0.4389, allocations: 0.9375 kB / 0.4973 GB, free: 17.28 MB / 382.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.03361/0.4725, allocations: 8.314 MB / 0.5054 GB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.4726, allocations: 14.2 kB / 0.5054 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/0.4911, allocations: 3.209 MB / 0.5086 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/0.5037, allocations: 5.232 MB / 0.5137 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.504, allocations: 401.9 kB / 0.5141 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002084/0.5061, allocations: 0.5311 MB / 0.5146 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03323/0.5394, allocations: 16.39 MB / 0.5306 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003557/0.5398, allocations: 83.3 kB / 0.5307 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001411/0.5412, allocations: 261.5 kB / 0.5309 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005365/0.5466, allocations: 3.065 MB / 0.5339 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02988/0.5765, allocations: 13.65 MB / 0.5472 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08543/0.662, allocations: 62.42 MB / 0.6082 GB, free: 2.207 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01451/0.6765, allocations: 6.105 MB / 0.6142 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004849/0.6814, allocations: 3.417 MB / 0.6175 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.6816, allocations: 48.19 kB / 0.6176 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.6816, allocations: 56.12 kB / 0.6176 GB, free: 8.418 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.089e-06/0.6817, allocations: 0 / 0.6176 GB, free: 8.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.3043/0.9859, allocations: 26.32 MB / 0.6433 GB, free: 135.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/0.9861, allocations: 260.7 kB / 0.6436 GB, free: 135.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/0.9966, allocations: 7.039 MB / 0.6504 GB, free: 133.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008359/0.9975, allocations: 66.77 kB / 0.6505 GB, free: 133 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00288/1, allocations: 4.971 MB / 0.6553 GB, free: 129.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/1.002, allocations: 1.037 MB / 0.6564 GB, free: 128.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002896/1.005, allocations: 1.842 MB / 0.6582 GB, free: 127.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/1.005, allocations: 305.1 kB / 0.6585 GB, free: 127.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005892/1.011, allocations: 3.411 MB / 0.6618 GB, free: 126.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009837/1.021, allocations: 8.713 MB / 0.6703 GB, free: 118 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01704/1.038, allocations: 12.98 MB / 0.683 GB, free: 107.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002441/1.038, allocations: 58.16 kB / 0.683 GB, free: 107.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02936/1.067, allocations: 13.4 MB / 0.6961 GB, free: 102.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.067, allocations: 87.77 kB / 0.6962 GB, free: 102.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002438/1.068, allocations: 186.4 kB / 0.6964 GB, free: 102.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/1.072, allocations: 1.795 MB / 0.6981 GB, free: 101.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007866/1.08, allocations: 2.088 MB / 0.7002 GB, free: 100.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/1.094, allocations: 12.64 MB / 0.7125 GB, free: 88.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/1.106, allocations: 0.5091 MB / 0.713 GB, free: 88.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002606/1.108, allocations: 0.526 MB / 0.7135 GB, free: 87.54 MB / 494.1 MB 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.009558/1.118, allocations: 3.321 MB / 0.7168 GB, free: 84.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002264/1.12, allocations: 0.5823 MB / 0.7173 GB, free: 84.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.132, allocations: 5.996 MB / 0.7232 GB, free: 79.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.068e-05/1.132, allocations: 28 kB / 0.7232 GB, free: 79.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/1.132, allocations: 8 kB / 0.7232 GB, free: 79.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.805e-05/1.132, allocations: 15.95 kB / 0.7232 GB, free: 79.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0307/1.163, allocations: 13.36 MB / 0.7363 GB, free: 65.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-05/1.163, allocations: 3.438 kB / 0.7363 GB, free: 65.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0025/1.166, allocations: 459.2 kB / 0.7367 GB, free: 65.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004071/1.17, allocations: 1.501 MB / 0.7382 GB, free: 63.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004835/1.17, allocations: 48 kB / 0.7382 GB, free: 63.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/1.181, allocations: 11.69 MB / 0.7497 GB, free: 51.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.181, allocations: 4.031 kB / 0.7497 GB, free: 51.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/1.196, allocations: 9.735 MB / 0.7592 GB, free: 41.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003671/1.199, allocations: 1.064 MB / 0.7602 GB, free: 40.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002275/1.202, allocations: 36 kB / 0.7602 GB, free: 40.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004467/1.206, allocations: 187.6 kB / 0.7604 GB, free: 40.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006925/1.207, allocations: 161.7 kB / 0.7606 GB, free: 40.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/1.207, allocations: 79.12 kB / 0.7606 GB, free: 40.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009907/1.217, allocations: 4.476 MB / 0.765 GB, free: 35.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.032e-06/1.217, allocations: 0 / 0.765 GB, free: 35.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01221/1.229, allocations: 1.671 MB / 0.7666 GB, free: 34.21 MB / 494.1 MB 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.001101/1.23, allocations: 194 kB / 0.7668 GB, free: 34.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01683/1.247, allocations: 9.87 MB / 0.7765 GB, free: 24.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.247, allocations: 0 / 0.7765 GB, free: 24.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003926/1.251, allocations: 2.858 MB / 0.7793 GB, free: 21.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006261/1.258, allocations: 0.7998 MB / 0.78 GB, free: 20.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02996/1.288, allocations: 15.73 MB / 0.7954 GB, free: 4.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008545/1.296, allocations: 5.07 MB / 0.8004 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.008437/1.305, allocations: 2.796 MB / 0.8031 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.306, allocations: 399.4 kB / 0.8035 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/1.306, allocations: 0 / 0.8035 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.4048/1.711, allocations: 64.98 MB / 0.8669 GB, free: 122 MB / 0.4981 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)