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.0009197/0.0009197, allocations: 99.47 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.0008948/0.0008949, 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.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.3164/0.3164, allocations: 40 MB / 310.4 MB, free: 9.836 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.0004959/0.000496, allocations: 16 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1151, allocations: 57.96 MB / 436.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.2624/0.3775, allocations: 87.06 MB / 0.5115 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04984/0.4274, allocations: 19.42 MB / 0.5305 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02389/0.4514, allocations: 429.5 kB / 0.5309 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01819/0.4696, allocations: 4.393 MB / 0.5352 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04626/0.5159, allocations: 12.38 MB / 0.5473 GB, free: 6.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006648/0.5226, allocations: 1.005 MB / 0.5483 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05719/0.5798, allocations: 39.74 MB / 0.5871 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.5914, allocations: 7.443 MB / 0.5944 GB, free: 6.223 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00387/0.5954, allocations: 1.775 MB / 0.5961 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004021/0.5994, allocations: 2.477 MB / 0.5985 GB, free: 1.957 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.6005, allocations: 256 kB / 0.5988 GB, free: 1.707 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.603, allocations: 1.104 MB / 0.5998 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002707/0.6057, allocations: 2.856 MB / 0.6026 GB, free: 13.74 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.6075, allocations: 1.435 MB / 0.604 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.6177, allocations: 9.726 MB / 0.6135 GB, free: 2.543 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6177, allocations: 0 / 0.6135 GB, free: 2.543 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6177, allocations: 0 / 0.6135 GB, free: 2.543 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004167/0.6181, allocations: 0 / 0.6135 GB, free: 2.543 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.01702/0.6351, allocations: 7.303 MB / 0.6206 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.6352, allocations: 16.02 kB / 0.6207 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5252/1.16, allocations: 11.21 MB / 0.6316 GB, free: 67.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/1.173, allocations: 5.671 MB / 0.6372 GB, free: 67.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/1.173, allocations: 402.5 kB / 0.6375 GB, free: 67.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/1.175, allocations: 0.5376 MB / 0.6381 GB, free: 67.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02983/1.205, allocations: 16.32 MB / 0.654 GB, free: 64.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003471/1.205, allocations: 78.11 kB / 0.6541 GB, free: 64.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/1.207, allocations: 256.2 kB / 0.6543 GB, free: 64.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005499/1.212, allocations: 3.075 MB / 0.6573 GB, free: 64.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02746/1.24, allocations: 13.41 MB / 0.6704 GB, free: 64.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06231/1.302, allocations: 61.94 MB / 0.7309 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/1.314, allocations: 5.919 MB / 0.7367 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/1.314, allocations: 49.98 kB / 0.7367 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/1.314, allocations: 64.19 kB / 0.7368 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 4.208e-06/1.314, allocations: 2.062 kB / 0.7368 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.05258/1.367, allocations: 24.03 MB / 0.7603 GB, free: 6.793 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.367, allocations: 264 kB / 0.7605 GB, free: 6.488 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009347/1.376, allocations: 7.395 MB / 0.7677 GB, free: 1.039 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.000565/1.377, allocations: 64.27 kB / 0.7678 GB, free: 1 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003879/1.381, allocations: 5.048 MB / 0.7727 GB, free: 13.2 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/1.382, allocations: 1.029 MB / 0.7737 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004389/1.383, allocations: 174.8 kB / 0.7739 GB, free: 12.31 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0004892/1.383, allocations: 0.664 MB / 0.7745 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004577/1.388, allocations: 3.057 MB / 0.7775 GB, free: 9.137 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008295/1.396, allocations: 8.298 MB / 0.7856 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007796/1.404, allocations: 4.916 MB / 0.7904 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001349/1.404, allocations: 56 kB / 0.7905 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.02149/1.426, allocations: 11.86 MB / 0.8021 GB, free: 14.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.426, allocations: 84 kB / 0.8021 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002179/1.426, allocations: 191.4 kB / 0.8023 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/1.429, allocations: 1.051 MB / 0.8034 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006407/1.435, allocations: 2.004 MB / 0.8053 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/1.446, allocations: 9.819 MB / 0.8149 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007407/1.453, allocations: 490.5 kB / 0.8154 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001682/1.455, allocations: 0.5117 MB / 0.8159 GB, free: 0.5234 MB / 0.545 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.006728/1.462, allocations: 3.313 MB / 0.8191 GB, free: 13.37 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/1.464, allocations: 0.6033 MB / 0.8197 GB, free: 12.76 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008752/1.472, allocations: 4.882 MB / 0.8245 GB, free: 7.871 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-05/1.472, allocations: 28 kB / 0.8245 GB, free: 7.844 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/1.472, allocations: 8 kB / 0.8245 GB, free: 7.836 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/1.472, allocations: 15.95 kB / 0.8245 GB, free: 7.82 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02184/1.494, allocations: 12.31 MB / 0.8365 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.494, allocations: 4 kB / 0.8365 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/1.497, allocations: 459.4 kB / 0.837 GB, free: 11.12 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/1.499, allocations: 0.7439 MB / 0.8377 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002238/1.499, allocations: 47.98 kB / 0.8377 GB, free: 10.33 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009703/1.509, allocations: 8.846 MB / 0.8464 GB, free: 1.137 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.509, allocations: 0 / 0.8464 GB, free: 1.137 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2284/1.737, allocations: 8.523 MB / 0.8547 GB, free: 214.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003088/1.74, allocations: 1.051 MB / 0.8557 GB, free: 214.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/1.742, allocations: 50.62 kB / 0.8558 GB, free: 214.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/1.744, allocations: 165.6 kB / 0.8559 GB, free: 214.1 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004453/1.745, allocations: 157.2 kB / 0.8561 GB, free: 214.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.745, allocations: 74.28 kB / 0.8562 GB, free: 214.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.008239/1.753, allocations: 4.769 MB / 0.8608 GB, free: 213 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.91e-07/1.753, allocations: 2.516 kB / 0.8608 GB, free: 213 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008595/1.762, allocations: 1.608 MB / 0.8624 GB, free: 212.9 MB / 0.5763 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.0006549/1.762, allocations: 193.7 kB / 0.8626 GB, free: 212.7 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.773, allocations: 7.723 MB / 0.8701 GB, free: 210.1 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.773, allocations: 4 kB / 0.8701 GB, free: 210.1 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.003587/1.777, allocations: 2.65 MB / 0.8727 GB, free: 208.9 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/1.782, allocations: 0.7685 MB / 0.8735 GB, free: 208.6 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03181/1.814, allocations: 17.83 MB / 0.8909 GB, free: 199.9 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007825/1.822, allocations: 5.211 MB / 0.896 GB, free: 198.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007722/1.829, allocations: 2.813 MB / 0.8987 GB, free: 197.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.831, allocations: 400.9 kB / 0.8991 GB, free: 197.9 MB / 0.5763 GB Notification: Performance of SimCode: time 7.82e-07/1.831, allocations: 0 / 0.8991 GB, free: 197.9 MB / 0.5763 GB Notification: Performance of Templates: time 0.09357/1.924, allocations: 58.36 MB / 0.9561 GB, free: 154.8 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: