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.001962/0.001962, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001584/0.001584, allocations: 192.4 kB / 16.25 MB, free: 6.617 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.449/1.449, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.3067/0.3067, allocations: 37.99 MB / 307.4 MB, free: 10.13 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.001622/0.001622, allocations: 70.41 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1375, allocations: 56.46 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.3525/0.49, allocations: 101.6 MB / 0.5203 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06206/0.5521, allocations: 19.22 MB / 0.5391 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03334/0.5855, allocations: 437.8 kB / 0.5395 GB, free: 8.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.5981, allocations: 4.901 MB / 0.5443 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.612, allocations: 2.658 MB / 0.5469 GB, free: 5.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005423/0.6175, allocations: 1.173 MB / 0.548 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01577/0.6333, allocations: 8.256 MB / 0.5561 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01294/0.6464, allocations: 6.577 MB / 0.5625 GB, free: 6.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00698/0.6534, allocations: 2.807 MB / 0.5653 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007669/0.6611, allocations: 4.276 MB / 0.5694 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003844/0.665, allocations: 0.6094 MB / 0.57 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006401/0.6714, allocations: 1.627 MB / 0.5716 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006688/0.6782, allocations: 3.565 MB / 0.5751 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01107/0.6893, allocations: 3.978 MB / 0.579 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02329/0.7126, allocations: 12.04 MB / 0.5907 GB, free: 9.484 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.7127, allocations: 0 / 0.5907 GB, free: 9.484 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.818e-06/0.7127, allocations: 0 / 0.5907 GB, free: 9.484 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005933/0.7133, allocations: 3.844 kB / 0.5907 GB, free: 9.484 MB / 462.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.02929/0.7426, allocations: 8.318 MB / 0.5989 GB, free: 1.082 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.7427, allocations: 15.89 kB / 0.5989 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/0.7606, allocations: 3.216 MB / 0.602 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/0.7751, allocations: 5.217 MB / 0.6071 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005048/0.7757, allocations: 406.7 kB / 0.6075 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003087/0.7788, allocations: 0.535 MB / 0.608 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0404/0.8192, allocations: 16.39 MB / 0.624 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005027/0.8197, allocations: 83.3 kB / 0.6241 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002349/0.8221, allocations: 251.8 kB / 0.6243 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005699/0.8278, allocations: 3.072 MB / 0.6273 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5028/1.331, allocations: 13.64 MB / 0.6407 GB, free: 141.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08245/1.413, allocations: 62.43 MB / 0.7016 GB, free: 99.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/1.427, allocations: 6.1 MB / 0.7076 GB, free: 97.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00469/1.432, allocations: 3.414 MB / 0.7109 GB, free: 95.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/1.432, allocations: 45.27 kB / 0.711 GB, free: 95.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.432, allocations: 70.38 kB / 0.711 GB, free: 95.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 4.969e-06/1.432, allocations: 0 / 0.711 GB, free: 95.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.06495/1.497, allocations: 26.33 MB / 0.7367 GB, free: 73.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/1.498, allocations: 262.5 kB / 0.737 GB, free: 72.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/1.508, allocations: 7.031 MB / 0.7439 GB, free: 65.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008731/1.509, allocations: 65.7 kB / 0.7439 GB, free: 65.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003382/1.513, allocations: 4.968 MB / 0.7488 GB, free: 60.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.515, allocations: 1.036 MB / 0.7498 GB, free: 59.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003625/1.518, allocations: 1.847 MB / 0.7516 GB, free: 57.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.554e-05/1.518, allocations: 305.1 kB / 0.7519 GB, free: 57.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00499/1.523, allocations: 3.414 MB / 0.7552 GB, free: 54.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008827/1.532, allocations: 8.713 MB / 0.7637 GB, free: 42.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/1.546, allocations: 12.98 MB / 0.7764 GB, free: 27.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/1.546, allocations: 52 kB / 0.7765 GB, free: 27.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02519/1.571, allocations: 13.4 MB / 0.7895 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002713/1.571, allocations: 87.94 kB / 0.7896 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003221/1.572, allocations: 192 kB / 0.7898 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/1.577, allocations: 1.8 MB / 0.7916 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007081/1.584, allocations: 2.086 MB / 0.7936 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/1.597, allocations: 12.62 MB / 0.8059 GB, free: 12.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008669/1.606, allocations: 0.5072 MB / 0.8064 GB, free: 12 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002294/1.608, allocations: 0.5234 MB / 0.8069 GB, free: 11.47 MB / 0.4982 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.009084/1.618, allocations: 3.324 MB / 0.8102 GB, free: 8.133 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002095/1.62, allocations: 0.5861 MB / 0.8108 GB, free: 7.539 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/1.634, allocations: 5.99 MB / 0.8166 GB, free: 1.516 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.358e-05/1.634, allocations: 31.52 kB / 0.8166 GB, free: 1.488 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.108e-05/1.634, allocations: 11.94 kB / 0.8166 GB, free: 1.477 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.467e-05/1.634, allocations: 16.7 kB / 0.8167 GB, free: 1.461 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3072/1.942, allocations: 13.35 MB / 0.8297 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/1.942, allocations: 0 / 0.8297 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.944, allocations: 460.7 kB / 0.8301 GB, free: 145.4 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003858/1.948, allocations: 1.499 MB / 0.8316 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004833/1.948, allocations: 44.41 kB / 0.8316 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/1.96, allocations: 11.71 MB / 0.8431 GB, free: 138 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.96, allocations: 6.797 kB / 0.8431 GB, free: 138 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/1.976, allocations: 9.746 MB / 0.8526 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/1.979, allocations: 1.065 MB / 0.8536 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001548/1.981, allocations: 43.61 kB / 0.8537 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002999/1.984, allocations: 181.9 kB / 0.8539 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005738/1.984, allocations: 158.3 kB / 0.854 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/1.985, allocations: 72.33 kB / 0.8541 GB, free: 134.1 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.009536/1.994, allocations: 4.479 MB / 0.8585 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of sort global known variables: time 5.31e-07/1.994, allocations: 0 / 0.8585 GB, free: 132.7 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01151/2.006, allocations: 1.673 MB / 0.8601 GB, free: 132.5 MB / 0.4982 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.001048/2.007, allocations: 184.8 kB / 0.8603 GB, free: 132.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02038/2.027, allocations: 9.873 MB / 0.8699 GB, free: 129.3 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/2.027, allocations: 1.641 kB / 0.8699 GB, free: 129.3 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005051/2.032, allocations: 2.848 MB / 0.8727 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008574/2.041, allocations: 0.8002 MB / 0.8735 GB, free: 127.8 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03178/2.073, allocations: 18.96 MB / 0.892 GB, free: 113.8 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009978/2.083, allocations: 5.074 MB / 0.8969 GB, free: 109.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009192/2.092, allocations: 2.799 MB / 0.8997 GB, free: 107.6 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002129/2.094, allocations: 391.4 kB / 0.9001 GB, free: 107.2 MB / 0.4982 GB Notification: Performance of SimCode: time 1.452e-06/2.094, allocations: 0 / 0.9001 GB, free: 107.2 MB / 0.4982 GB Notification: Performance of Templates: time 0.1113/2.205, allocations: 64.87 MB / 0.9634 GB, free: 42.47 MB / 0.4982 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)