Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009055/0.009055, allocations: 101 kB / 15.73 MB, free: 6.477 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.001889/0.001889, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.574/1.574, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.3646/0.3646, allocations: 37.99 MB / 307.9 MB, free: 9.969 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.001894/0.001894, allocations: 71.89 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3667, allocations: 56.46 MB / 489.5 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.01702/0.3838, allocations: 16.51 MB / 0.4942 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.3974, allocations: 5.132 MB / 0.4992 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00517/0.4026, allocations: 100.1 kB / 0.4993 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.011/0.4137, allocations: 4.595 MB / 0.5037 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.4253, allocations: 2.608 MB / 0.5063 GB, free: 416 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.4294, allocations: 1.137 MB / 0.5074 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01321/0.4427, allocations: 6.7 MB / 0.5139 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009454/0.4522, allocations: 5.78 MB / 0.5196 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00726/0.4595, allocations: 2.485 MB / 0.522 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007312/0.4668, allocations: 3.45 MB / 0.5254 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002339/0.4692, allocations: 0.5625 MB / 0.5259 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.4744, allocations: 1.572 MB / 0.5275 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004464/0.4789, allocations: 3.18 MB / 0.5306 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006948/0.4859, allocations: 3.639 MB / 0.5341 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01702/0.5029, allocations: 11.54 MB / 0.5454 GB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.503, allocations: 0 / 0.5454 GB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.503, allocations: 0 / 0.5454 GB, free: 14.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004518/0.5034, allocations: 4 kB / 0.5454 GB, free: 14.3 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02354/0.527, allocations: 7.693 MB / 0.5529 GB, free: 6.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.527, allocations: 11.89 kB / 0.5529 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01459/0.5416, allocations: 2.834 MB / 0.5557 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.5536, allocations: 4.363 MB / 0.56 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003895/0.554, allocations: 385.8 kB / 0.5603 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/0.5563, allocations: 0.4996 MB / 0.5608 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/0.5886, allocations: 16.4 MB / 0.5768 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001923/0.5888, allocations: 75.39 kB / 0.5769 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006726/0.5895, allocations: 243.8 kB / 0.5771 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005385/0.5949, allocations: 3.15 MB / 0.5802 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02961/0.6245, allocations: 14.12 MB / 0.594 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4228/1.047, allocations: 60.31 MB / 0.6529 GB, free: 86.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02445/1.072, allocations: 8 MB / 0.6607 GB, free: 86.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01093/1.083, allocations: 4.205 MB / 0.6648 GB, free: 84.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/1.083, allocations: 56.8 kB / 0.6649 GB, free: 84.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.729e-05/1.083, allocations: 65.42 kB / 0.6649 GB, free: 84.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=290): time 9.407e-06/1.083, allocations: 3.719 kB / 0.6649 GB, free: 84.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=332): time 0.1334/1.217, allocations: 35.39 MB / 0.6995 GB, free: 70.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.217, allocations: 221 kB / 0.6997 GB, free: 69.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009208/1.226, allocations: 6.366 MB / 0.7059 GB, free: 65.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001079/1.227, allocations: 79.11 kB / 0.706 GB, free: 65.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002976/1.23, allocations: 4.535 MB / 0.7104 GB, free: 60.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001931/1.232, allocations: 1.242 MB / 0.7116 GB, free: 59.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002783/1.235, allocations: 1.82 MB / 0.7134 GB, free: 57.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.784e-05/1.235, allocations: 301.1 kB / 0.7137 GB, free: 57.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005609/1.241, allocations: 4.101 MB / 0.7177 GB, free: 53.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008257/1.249, allocations: 8.96 MB / 0.7265 GB, free: 41.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/1.263, allocations: 13.98 MB / 0.7401 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001667/1.264, allocations: 48 kB / 0.7402 GB, free: 25.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.0272/1.291, allocations: 14.96 MB / 0.7548 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.291, allocations: 76 kB / 0.7548 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/1.291, allocations: 168 kB / 0.755 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005261/1.296, allocations: 2.277 MB / 0.7572 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007366/1.304, allocations: 2.094 MB / 0.7593 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.321, allocations: 14.45 MB / 0.7734 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009249/1.331, allocations: 0.5421 MB / 0.7739 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002072/1.333, allocations: 0.5188 MB / 0.7744 GB, free: 6.215 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1084): * Single equations (assignments): 1079 * 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.006873/1.34, allocations: 3.153 MB / 0.7775 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/1.341, allocations: 0.5476 MB / 0.778 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/1.358, allocations: 8.458 MB / 0.7863 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.985e-05/1.358, allocations: 39.94 kB / 0.7863 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.354e-05/1.358, allocations: 8 kB / 0.7863 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.953e-05/1.358, allocations: 15.94 kB / 0.7864 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04228/1.4, allocations: 17.22 MB / 0.8032 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/1.4, allocations: 4 kB / 0.8032 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003674/1.404, allocations: 0.5967 MB / 0.8038 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005652/1.41, allocations: 2.046 MB / 0.8058 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009306/1.411, allocations: 63.94 kB / 0.8058 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/1.43, allocations: 13.76 MB / 0.8193 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.43, allocations: 7.938 kB / 0.8193 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02444/1.454, allocations: 13.53 MB / 0.8325 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005121/1.459, allocations: 1.243 MB / 0.8337 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001921/1.461, allocations: 56 kB / 0.8338 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004677/1.466, allocations: 275.6 kB / 0.834 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000921/1.467, allocations: 209.7 kB / 0.8342 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003137/1.467, allocations: 91.42 kB / 0.8343 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008627/1.476, allocations: 4.05 MB / 0.8383 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/1.476, allocations: 0 / 0.8383 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01278/1.489, allocations: 1.741 MB / 0.84 GB, free: 2.512 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.0009549/1.49, allocations: 208.8 kB / 0.8402 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01777/1.507, allocations: 9.927 MB / 0.8499 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.508, allocations: 0 / 0.8499 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008747/1.516, allocations: 4.148 MB / 0.8539 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00775/1.524, allocations: 0.7251 MB / 0.8546 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03432/1.558, allocations: 16.2 MB / 0.8704 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3257/1.884, allocations: 4.85 MB / 0.8752 GB, free: 213.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01117/1.895, allocations: 2.922 MB / 0.878 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003426/1.899, allocations: 396 kB / 0.8784 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of SimCode: time 2.164e-06/1.899, allocations: 1.156 kB / 0.8784 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.1193/2.018, allocations: 66.92 MB / 0.9438 GB, free: 178.7 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1)