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.00159/0.00159, 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.001647/0.001647, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.438/1.438, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3257/0.3257, allocations: 39.93 MB / 309.4 MB, free: 9.406 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.00155/0.00155, allocations: 63.91 kB / 377.1 MB, free: 13.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1292, allocations: 56.88 MB / 434 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.2863/0.4156, allocations: 101.6 MB / 0.523 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05257/0.4682, allocations: 19.24 MB / 0.5418 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02352/0.4918, allocations: 432.9 kB / 0.5422 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.5028, allocations: 4.915 MB / 0.547 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.5138, allocations: 2.652 MB / 0.5496 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.5177, allocations: 1.17 MB / 0.5508 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.5302, allocations: 8.252 MB / 0.5588 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008812/0.539, allocations: 6.576 MB / 0.5652 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005393/0.5445, allocations: 2.811 MB / 0.568 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006372/0.5509, allocations: 4.28 MB / 0.5722 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002558/0.5535, allocations: 0.6094 MB / 0.5728 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00631/0.5598, allocations: 1.627 MB / 0.5743 GB, free: 9.004 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008385/0.5683, allocations: 3.561 MB / 0.5778 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0118/0.5801, allocations: 3.974 MB / 0.5817 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02136/0.6015, allocations: 12.04 MB / 0.5935 GB, free: 5.355 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.6016, allocations: 0 / 0.5935 GB, free: 5.355 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6016, allocations: 7.938 kB / 0.5935 GB, free: 5.348 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004707/0.6021, allocations: 0 / 0.5935 GB, free: 5.348 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.03036/0.6325, allocations: 8.311 MB / 0.6016 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.6325, allocations: 11.89 kB / 0.6016 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02788/0.6604, allocations: 3.216 MB / 0.6047 GB, free: 9.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.6748, allocations: 5.228 MB / 0.6098 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003809/0.6752, allocations: 402.7 kB / 0.6102 GB, free: 4.008 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/0.6772, allocations: 0.5311 MB / 0.6107 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02823/0.7054, allocations: 16.38 MB / 0.6267 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002908/0.7057, allocations: 83.23 kB / 0.6268 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/0.7072, allocations: 251.8 kB / 0.6271 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4085/1.116, allocations: 3.071 MB / 0.6301 GB, free: 143.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/1.143, allocations: 13.66 MB / 0.6434 GB, free: 140.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09613/1.239, allocations: 62.42 MB / 0.7044 GB, free: 98.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/1.254, allocations: 6.101 MB / 0.7103 GB, free: 95.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004827/1.259, allocations: 3.421 MB / 0.7137 GB, free: 93.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/1.259, allocations: 47.55 kB / 0.7137 GB, free: 93.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/1.26, allocations: 60.14 kB / 0.7138 GB, free: 93.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 5.581e-06/1.26, allocations: 3.938 kB / 0.7138 GB, free: 93.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.06118/1.321, allocations: 26.32 MB / 0.7395 GB, free: 67.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.321, allocations: 257.2 kB / 0.7397 GB, free: 66.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00981/1.331, allocations: 7.035 MB / 0.7466 GB, free: 59.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009246/1.332, allocations: 61.7 kB / 0.7466 GB, free: 59.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003478/1.335, allocations: 4.975 MB / 0.7515 GB, free: 54.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001667/1.337, allocations: 1.04 MB / 0.7525 GB, free: 53.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002285/1.339, allocations: 1.844 MB / 0.7543 GB, free: 51.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/1.339, allocations: 305.1 kB / 0.7546 GB, free: 51.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004234/1.343, allocations: 3.41 MB / 0.7579 GB, free: 48.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00734/1.351, allocations: 8.713 MB / 0.7664 GB, free: 36.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/1.364, allocations: 12.98 MB / 0.7791 GB, free: 21.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000151/1.364, allocations: 52 kB / 0.7792 GB, free: 21.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.02405/1.388, allocations: 13.41 MB / 0.7923 GB, free: 7.703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002226/1.388, allocations: 91.28 kB / 0.7924 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003089/1.389, allocations: 184 kB / 0.7925 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004896/1.394, allocations: 1.8 MB / 0.7943 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008382/1.402, allocations: 2.086 MB / 0.7963 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/1.42, allocations: 12.63 MB / 0.8087 GB, free: 6.504 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/1.43, allocations: 0.4994 MB / 0.8091 GB, free: 6.004 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002247/1.432, allocations: 0.5273 MB / 0.8097 GB, free: 5.477 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.009423/1.442, allocations: 3.329 MB / 0.8129 GB, free: 2.133 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002531/1.444, allocations: 0.5823 MB / 0.8135 GB, free: 1.543 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3096/1.754, allocations: 5.988 MB / 0.8193 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.923e-05/1.754, allocations: 29.69 kB / 0.8194 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.47e-05/1.754, allocations: 9.75 kB / 0.8194 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-05/1.754, allocations: 12.42 kB / 0.8194 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02714/1.781, allocations: 13.37 MB / 0.8324 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/1.781, allocations: 1.641 kB / 0.8324 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/1.784, allocations: 456.5 kB / 0.8329 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004166/1.788, allocations: 1.505 MB / 0.8343 GB, free: 141.9 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004978/1.788, allocations: 53.61 kB / 0.8344 GB, free: 141.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/1.801, allocations: 11.69 MB / 0.8458 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.801, allocations: 1.875 kB / 0.8458 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/1.821, allocations: 9.734 MB / 0.8553 GB, free: 131.3 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004584/1.826, allocations: 1.066 MB / 0.8564 GB, free: 131 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002795/1.828, allocations: 42.66 kB / 0.8564 GB, free: 131 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004279/1.833, allocations: 192.7 kB / 0.8566 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008574/1.834, allocations: 154.7 kB / 0.8567 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/1.834, allocations: 70.81 kB / 0.8568 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.01107/1.845, allocations: 4.482 MB / 0.8612 GB, free: 129.4 MB / 0.4982 GB Notification: Performance of sort global known variables: time 3.2e-07/1.845, allocations: 0 / 0.8612 GB, free: 129.4 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01245/1.857, allocations: 1.671 MB / 0.8628 GB, free: 129.3 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.001034/1.858, allocations: 187.1 kB / 0.863 GB, free: 129.1 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01771/1.876, allocations: 9.871 MB / 0.8726 GB, free: 126.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.876, allocations: 0 / 0.8726 GB, free: 126.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.003975/1.88, allocations: 2.85 MB / 0.8754 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.006764/1.887, allocations: 0.8065 MB / 0.8762 GB, free: 124.5 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03344/1.921, allocations: 18.97 MB / 0.8947 GB, free: 107.5 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007424/1.928, allocations: 5.076 MB / 0.8997 GB, free: 102.4 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.006974/1.935, allocations: 2.789 MB / 0.9024 GB, free: 99.57 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.936, allocations: 395.4 kB / 0.9028 GB, free: 99.18 MB / 0.4982 GB Notification: Performance of SimCode: time 2.224e-06/1.936, allocations: 0 / 0.9028 GB, free: 99.18 MB / 0.4982 GB Notification: Performance of Templates: time 0.1182/2.054, allocations: 64.87 MB / 0.9661 GB, free: 34.42 MB / 0.4982 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)