Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01004/0.01004, allocations: 99.19 kB / 15.73 MB, free: 6.039 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.002335/0.002335, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.573/1.573, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.3245/0.3245, allocations: 37.99 MB / 307.9 MB, free: 10.14 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.001434/0.001434, allocations: 80.44 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3486, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01569/0.3644, allocations: 14.23 MB / 0.4919 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.3765, allocations: 4.663 MB / 0.4965 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004487/0.3811, allocations: 92 kB / 0.4966 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008316/0.3894, allocations: 3.776 MB / 0.5003 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009136/0.3986, allocations: 2.417 MB / 0.5026 GB, free: 3.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.4016, allocations: 1.001 MB / 0.5036 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01247/0.4141, allocations: 6.018 MB / 0.5095 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00734/0.4215, allocations: 4.735 MB / 0.5141 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005571/0.4271, allocations: 2.122 MB / 0.5162 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005953/0.4331, allocations: 2.89 MB / 0.519 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002069/0.4352, allocations: 456 kB / 0.5194 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.4397, allocations: 1.482 MB / 0.5209 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003999/0.4437, allocations: 2.704 MB / 0.5235 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005833/0.4496, allocations: 3.029 MB / 0.5265 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01498/0.4646, allocations: 9.651 MB / 0.5359 GB, free: 8.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.4646, allocations: 0 / 0.5359 GB, free: 8.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4647, allocations: 0 / 0.5359 GB, free: 8.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000465/0.4651, allocations: 0 / 0.5359 GB, free: 8.082 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01946/0.4846, allocations: 6.546 MB / 0.5423 GB, free: 1.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.4847, allocations: 19.89 kB / 0.5423 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/0.4973, allocations: 2.657 MB / 0.5449 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01075/0.5081, allocations: 4.074 MB / 0.5489 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.5084, allocations: 304.2 kB / 0.5492 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/0.5102, allocations: 419.6 kB / 0.5496 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/0.5386, allocations: 13 MB / 0.5623 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002805/0.539, allocations: 63.36 kB / 0.5623 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/0.5403, allocations: 195.8 kB / 0.5625 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004431/0.5448, allocations: 2.503 MB / 0.565 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/0.5683, allocations: 10.84 MB / 0.5755 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06514/0.6335, allocations: 49.92 MB / 0.6243 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.6444, allocations: 4.553 MB / 0.6287 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003368/0.6478, allocations: 2.452 MB / 0.6311 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3101/0.9579, allocations: 6.725 MB / 0.6377 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.958, allocations: 52.39 kB / 0.6378 GB, free: 124 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.571e-06/0.958, allocations: 1.562 kB / 0.6378 GB, free: 124 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05258/1.011, allocations: 19.42 MB / 0.6567 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.011, allocations: 225.1 kB / 0.6569 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00939/1.02, allocations: 5.923 MB / 0.6627 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004429/1.021, allocations: 51.36 kB / 0.6628 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002134/1.023, allocations: 4.068 MB / 0.6667 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000797/1.024, allocations: 0.7648 MB / 0.6675 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001854/1.025, allocations: 1.537 MB / 0.669 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/1.025, allocations: 301.1 kB / 0.6693 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/1.029, allocations: 2.633 MB / 0.6718 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004628/1.034, allocations: 7.166 MB / 0.6788 GB, free: 102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008379/1.042, allocations: 10.5 MB / 0.6891 GB, free: 92.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.854e-05/1.042, allocations: 48.31 kB / 0.6892 GB, free: 92.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.0152/1.057, allocations: 10.57 MB / 0.6995 GB, free: 84.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.649e-05/1.057, allocations: 76.19 kB / 0.6995 GB, free: 84.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.057, allocations: 160.7 kB / 0.6997 GB, free: 84.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/1.06, allocations: 1.242 MB / 0.7009 GB, free: 82.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004484/1.065, allocations: 1.719 MB / 0.7026 GB, free: 81.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007621/1.072, allocations: 8.489 MB / 0.7109 GB, free: 72.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007683/1.08, allocations: 403.5 kB / 0.7113 GB, free: 72.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009366/1.081, allocations: 459.2 kB / 0.7117 GB, free: 71.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (918): * Single equations (assignments): 911 * Array equations: 5 * 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 {(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.003961/1.085, allocations: 2.704 MB / 0.7143 GB, free: 68.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.086, allocations: 481.7 kB / 0.7148 GB, free: 68.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/1.092, allocations: 4.033 MB / 0.7187 GB, free: 64.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/1.092, allocations: 24 kB / 0.7188 GB, free: 64.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.092, allocations: 4 kB / 0.7188 GB, free: 64.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/1.092, allocations: 11.97 kB / 0.7188 GB, free: 64.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/1.107, allocations: 9.544 MB / 0.7281 GB, free: 54.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/1.107, allocations: 3.938 kB / 0.7281 GB, free: 54.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.108, allocations: 327.5 kB / 0.7284 GB, free: 54.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/1.111, allocations: 1.005 MB / 0.7294 GB, free: 53.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/1.111, allocations: 35.94 kB / 0.7294 GB, free: 53.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007381/1.118, allocations: 7.816 MB / 0.7371 GB, free: 45.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.118, allocations: 8.062 kB / 0.7371 GB, free: 45.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/1.129, allocations: 6.885 MB / 0.7438 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003609/1.133, allocations: 0.8383 MB / 0.7446 GB, free: 37.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/1.135, allocations: 36 kB / 0.7446 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003372/1.138, allocations: 111.8 kB / 0.7448 GB, free: 37.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/1.139, allocations: 124.9 kB / 0.7449 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.139, allocations: 52 kB / 0.7449 GB, free: 37.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007734/1.146, allocations: 3.778 MB / 0.7486 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.8e-07/1.147, allocations: 0 / 0.7486 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008086/1.155, allocations: 1.298 MB / 0.7499 GB, free: 32.08 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(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.0006667/1.155, allocations: 169.1 kB / 0.75 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.165, allocations: 6.337 MB / 0.7562 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.165, allocations: 4.812 kB / 0.7562 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002445/1.168, allocations: 1.902 MB / 0.7581 GB, free: 23.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007056/1.175, allocations: 0.6357 MB / 0.7587 GB, free: 23.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.195, allocations: 12.04 MB / 0.7705 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00565/1.201, allocations: 4.127 MB / 0.7745 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005754/1.207, allocations: 2.322 MB / 0.7768 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/1.208, allocations: 311.4 kB / 0.7771 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/1.208, allocations: 7.938 kB / 0.7771 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of Templates: time 0.09227/1.3, allocations: 44.68 MB / 0.8207 GB, free: 7.629 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1)