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.001115/0.001115, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001195/0.001195, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.4213/0.4213, allocations: 38.03 MB / 308.4 MB, free: 10.4 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.0006491/0.0006491, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1456, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.3865/0.5321, allocations: 87.06 MB / 0.5088 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05875/0.5909, allocations: 19.42 MB / 0.5277 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0283/0.6193, allocations: 430.3 kB / 0.5281 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02204/0.6414, allocations: 4.386 MB / 0.5324 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05755/0.699, allocations: 12.38 MB / 0.5445 GB, free: 9.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008271/0.7073, allocations: 1.006 MB / 0.5455 GB, free: 9.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.06433/0.7717, allocations: 39.73 MB / 0.5843 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.7845, allocations: 7.452 MB / 0.5916 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00471/0.7892, allocations: 1.771 MB / 0.5933 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005201/0.7945, allocations: 2.481 MB / 0.5957 GB, free: 6.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001718/0.7962, allocations: 252 kB / 0.596 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.7998, allocations: 1.112 MB / 0.5971 GB, free: 4.801 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.8037, allocations: 2.856 MB / 0.5998 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002654/0.8063, allocations: 1.435 MB / 0.6012 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.8196, allocations: 9.726 MB / 0.6107 GB, free: 6.742 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8196, allocations: 0 / 0.6107 GB, free: 6.742 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.528e-06/0.8197, allocations: 4 kB / 0.6108 GB, free: 6.738 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006079/0.8203, allocations: 4 kB / 0.6108 GB, free: 6.734 MB / 478.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.0224/0.8427, allocations: 7.294 MB / 0.6179 GB, free: 15.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.8427, allocations: 12.03 kB / 0.6179 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06198/0.9047, allocations: 11.22 MB / 0.6288 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4665/1.371, allocations: 5.671 MB / 0.6344 GB, free: 147.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005356/1.372, allocations: 405.7 kB / 0.6348 GB, free: 147.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003365/1.375, allocations: 0.5302 MB / 0.6353 GB, free: 147.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03704/1.412, allocations: 16.32 MB / 0.6512 GB, free: 141.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003744/1.413, allocations: 78.42 kB / 0.6513 GB, free: 141.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001574/1.414, allocations: 253.4 kB / 0.6515 GB, free: 141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005211/1.42, allocations: 3.077 MB / 0.6545 GB, free: 140.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0312/1.451, allocations: 13.42 MB / 0.6676 GB, free: 136.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08895/1.54, allocations: 61.93 MB / 0.7281 GB, free: 86.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.553, allocations: 5.924 MB / 0.7339 GB, free: 80.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/1.553, allocations: 41.73 kB / 0.734 GB, free: 80.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/1.553, allocations: 72.19 kB / 0.734 GB, free: 80.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 6.452e-06/1.553, allocations: 0 / 0.734 GB, free: 80.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.05573/1.609, allocations: 24.02 MB / 0.7575 GB, free: 55.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.609, allocations: 273 kB / 0.7577 GB, free: 55.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009342/1.618, allocations: 7.393 MB / 0.765 GB, free: 48.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008129/1.619, allocations: 65.7 kB / 0.765 GB, free: 48.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003008/1.622, allocations: 5.043 MB / 0.7699 GB, free: 43.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.624, allocations: 1.032 MB / 0.771 GB, free: 42.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003446/1.624, allocations: 172 kB / 0.7711 GB, free: 41.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003489/1.624, allocations: 0.6697 MB / 0.7718 GB, free: 41.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004014/1.628, allocations: 3.054 MB / 0.7748 GB, free: 38.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00659/1.635, allocations: 8.298 MB / 0.7829 GB, free: 27.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007188/1.642, allocations: 4.91 MB / 0.7877 GB, free: 22.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/1.642, allocations: 52 kB / 0.7877 GB, free: 22.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02285/1.665, allocations: 11.87 MB / 0.7993 GB, free: 10.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/1.665, allocations: 84 kB / 0.7994 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002399/1.666, allocations: 188 kB / 0.7996 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/1.668, allocations: 1.055 MB / 0.8006 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00727/1.676, allocations: 2.004 MB / 0.8025 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/1.687, allocations: 9.818 MB / 0.8121 GB, free: 12.91 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009251/1.696, allocations: 484.9 kB / 0.8126 GB, free: 12.44 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002234/1.698, allocations: 0.5156 MB / 0.8131 GB, free: 11.92 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 (1053): * Single equations (assignments): 1047 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009597/1.708, allocations: 3.322 MB / 0.8163 GB, free: 8.586 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002339/1.71, allocations: 0.5939 MB / 0.8169 GB, free: 7.984 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/1.722, allocations: 4.888 MB / 0.8217 GB, free: 3.07 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.25e-05/1.722, allocations: 28 kB / 0.8217 GB, free: 3.043 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.814e-05/1.722, allocations: 8 kB / 0.8217 GB, free: 3.035 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.27e-05/1.722, allocations: 11.95 kB / 0.8217 GB, free: 3.023 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3275/2.049, allocations: 12.3 MB / 0.8337 GB, free: 140.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/2.049, allocations: 0 / 0.8337 GB, free: 140.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/2.052, allocations: 462.8 kB / 0.8342 GB, free: 140.4 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/2.054, allocations: 0.7446 MB / 0.8349 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/2.054, allocations: 47.27 kB / 0.835 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008289/2.062, allocations: 8.847 MB / 0.8436 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/2.062, allocations: 3.953 kB / 0.8436 GB, free: 134.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/2.074, allocations: 8.519 MB / 0.8519 GB, free: 131.2 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003313/2.077, allocations: 1.052 MB / 0.853 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/2.078, allocations: 49.42 kB / 0.853 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/2.081, allocations: 171 kB / 0.8532 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004268/2.081, allocations: 157.8 kB / 0.8533 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/2.081, allocations: 69.62 kB / 0.8534 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00748/2.089, allocations: 4.769 MB / 0.858 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.4e-07/2.089, allocations: 0 / 0.858 GB, free: 129.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.009394/2.098, allocations: 1.607 MB / 0.8596 GB, free: 129 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007168/2.099, allocations: 205 kB / 0.8598 GB, free: 128.9 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01551/2.114, allocations: 7.723 MB / 0.8673 GB, free: 126.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/2.114, allocations: 0 / 0.8673 GB, free: 126.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.004817/2.119, allocations: 2.658 MB / 0.8699 GB, free: 124.9 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006098/2.125, allocations: 0.7678 MB / 0.8707 GB, free: 124.6 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0346/2.16, allocations: 17.82 MB / 0.8881 GB, free: 115.8 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008987/2.169, allocations: 5.222 MB / 0.8932 GB, free: 114 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007597/2.177, allocations: 2.814 MB / 0.8959 GB, free: 113.7 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/2.178, allocations: 405.8 kB / 0.8963 GB, free: 113.3 MB / 0.4982 GB Notification: Performance of SimCode: time 1.122e-06/2.178, allocations: 0 / 0.8963 GB, free: 113.3 MB / 0.4982 GB Notification: Performance of Templates: time 0.1062/2.284, allocations: 58.34 MB / 0.9533 GB, free: 57.73 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: