Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007385/0.007385, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001717/0.001718, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1999/0.1999, allocations: 38.01 MB / 307.9 MB, free: 5.98 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.001484/0.001484, allocations: 75.89 kB / 433 MB, free: 14.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1417, allocations: 56.46 MB / 489.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01915/0.1609, allocations: 16.17 MB / 0.4938 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.1744, allocations: 5.098 MB / 0.4988 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004037/0.1785, allocations: 99.75 kB / 0.4989 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.1887, allocations: 4.579 MB / 0.5034 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008573/0.1973, allocations: 2.575 MB / 0.5059 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.2012, allocations: 1.154 MB / 0.507 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01368/0.2149, allocations: 6.638 MB / 0.5135 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3145/0.5294, allocations: 5.883 MB / 0.5192 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00745/0.537, allocations: 2.508 MB / 0.5217 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008314/0.5453, allocations: 3.407 MB / 0.525 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003656/0.549, allocations: 0.5676 MB / 0.5256 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006576/0.5556, allocations: 1.575 MB / 0.5271 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007296/0.5629, allocations: 3.115 MB / 0.5301 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01301/0.576, allocations: 3.596 MB / 0.5336 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01991/0.5959, allocations: 11.44 MB / 0.5448 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.596, allocations: 0 / 0.5448 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.596, allocations: 0 / 0.5448 GB, free: 14.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005945/0.5966, allocations: 0 / 0.5448 GB, free: 14.5 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.0259/0.6225, allocations: 7.57 MB / 0.5522 GB, free: 9.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.6226, allocations: 15.23 kB / 0.5522 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.6369, allocations: 2.791 MB / 0.5549 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.6494, allocations: 4.34 MB / 0.5592 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/0.6498, allocations: 381.6 kB / 0.5595 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002592/0.6524, allocations: 0.4954 MB / 0.56 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03732/0.6897, allocations: 16.42 MB / 0.5761 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002712/0.69, allocations: 53.22 kB / 0.5761 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001199/0.6912, allocations: 240.9 kB / 0.5764 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006173/0.6974, allocations: 3.152 MB / 0.5794 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03736/0.7348, allocations: 14.27 MB / 0.5934 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1041/0.8389, allocations: 58.8 MB / 0.6508 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01957/0.8585, allocations: 7.167 MB / 0.6578 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006728/0.8653, allocations: 4.493 MB / 0.6622 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0321/0.8975, allocations: 15.43 MB / 0.6772 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.8977, allocations: 71.38 kB / 0.6773 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=306): time 9.047e-06/0.8977, allocations: 2.719 kB / 0.6773 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=348): time 0.09549/0.9932, allocations: 32.83 MB / 0.7094 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.9934, allocations: 226.2 kB / 0.7096 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009965/1.003, allocations: 5.348 MB / 0.7148 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001357/1.005, allocations: 85.64 kB / 0.7149 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004277/1.009, allocations: 4.332 MB / 0.7191 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002966/1.012, allocations: 1.277 MB / 0.7204 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003758/1.016, allocations: 1.717 MB / 0.722 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.016, allocations: 305.1 kB / 0.7223 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006555/1.023, allocations: 3.927 MB / 0.7262 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3377/1.36, allocations: 8.411 MB / 0.7344 GB, free: 191.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01973/1.38, allocations: 13.23 MB / 0.7473 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002436/1.38, allocations: 43.47 kB / 0.7473 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.03226/1.413, allocations: 14.27 MB / 0.7613 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.837e-05/1.413, allocations: 71.34 kB / 0.7613 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001685/1.413, allocations: 158.9 kB / 0.7615 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005439/1.418, allocations: 2.26 MB / 0.7637 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008124/1.427, allocations: 1.989 MB / 0.7656 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/1.443, allocations: 14.42 MB / 0.7797 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00853/1.452, allocations: 0.5098 MB / 0.7802 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/1.453, allocations: 490.1 kB / 0.7807 GB, free: 170.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (1032): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005838/1.459, allocations: 3.089 MB / 0.7837 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.46, allocations: 0.4935 MB / 0.7842 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/1.474, allocations: 8.402 MB / 0.7924 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.717e-05/1.474, allocations: 36.66 kB / 0.7924 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/1.474, allocations: 12 kB / 0.7924 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.163e-05/1.474, allocations: 17.42 kB / 0.7925 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03083/1.505, allocations: 16.94 MB / 0.809 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/1.505, allocations: 4.984 kB / 0.809 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003723/1.508, allocations: 0.6124 MB / 0.8096 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005272/1.514, allocations: 2.034 MB / 0.8116 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008364/1.515, allocations: 66.5 kB / 0.8117 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/1.53, allocations: 13.76 MB / 0.8251 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.53, allocations: 0 / 0.8251 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01981/1.55, allocations: 13.16 MB / 0.8379 GB, free: 115.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00453/1.554, allocations: 1.146 MB / 0.8391 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002062/1.557, allocations: 56 kB / 0.8391 GB, free: 114.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004621/1.561, allocations: 257.5 kB / 0.8394 GB, free: 114 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/1.562, allocations: 194.1 kB / 0.8395 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002838/1.563, allocations: 91.98 kB / 0.8396 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005655/1.568, allocations: 3.366 MB / 0.8429 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.91e-07/1.568, allocations: 0 / 0.8429 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009454/1.578, allocations: 1.689 MB / 0.8446 GB, free: 108.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008894/1.579, allocations: 196.1 kB / 0.8448 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01454/1.593, allocations: 9.564 MB / 0.8541 GB, free: 98.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.593, allocations: 0 / 0.8541 GB, free: 98.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006557/1.6, allocations: 4.111 MB / 0.8581 GB, free: 94.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004638/1.605, allocations: 0.6807 MB / 0.8588 GB, free: 94.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/1.633, allocations: 15.68 MB / 0.8741 GB, free: 78.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008885/1.642, allocations: 4.798 MB / 0.8788 GB, free: 73.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006942/1.649, allocations: 2.648 MB / 0.8814 GB, free: 70.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/1.651, allocations: 375.3 kB / 0.8817 GB, free: 70.57 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.651, allocations: 0 / 0.8817 GB, free: 70.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.1023/1.753, allocations: 65.93 MB / 0.9461 GB, free: 4.707 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)