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.008569/0.008576, allocations: 100 kB / 15.73 MB, free: 6.473 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.001636/0.001636, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.514/1.514, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.358/0.358, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.001445/0.001445, allocations: 71.91 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3457, allocations: 56.47 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01393/0.3597, allocations: 14.23 MB / 0.4919 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.3723, allocations: 4.663 MB / 0.4965 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004171/0.3765, allocations: 90.28 kB / 0.4966 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007362/0.3839, allocations: 3.769 MB / 0.5002 GB, free: 5.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008661/0.3927, allocations: 2.424 MB / 0.5026 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.3956, allocations: 0.9958 MB / 0.5036 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01104/0.4067, allocations: 6.027 MB / 0.5095 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007065/0.4138, allocations: 4.74 MB / 0.5141 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/0.4192, allocations: 2.117 MB / 0.5162 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006652/0.4259, allocations: 2.886 MB / 0.519 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002539/0.4285, allocations: 456 kB / 0.5194 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005132/0.4336, allocations: 1.482 MB / 0.5209 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004687/0.4384, allocations: 2.689 MB / 0.5235 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00783/0.4462, allocations: 3.025 MB / 0.5265 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.4639, allocations: 9.647 MB / 0.5359 GB, free: 8.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.464, allocations: 4 kB / 0.5359 GB, free: 8.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.464, allocations: 3.938 kB / 0.5359 GB, free: 8.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000557/0.4646, allocations: 0 / 0.5359 GB, free: 8.105 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.02267/0.4873, allocations: 6.542 MB / 0.5423 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.4874, allocations: 19.83 kB / 0.5423 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/0.5003, allocations: 2.66 MB / 0.5449 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.5112, allocations: 4.067 MB / 0.5489 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.5116, allocations: 304.2 kB / 0.5491 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.5135, allocations: 419.6 kB / 0.5495 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0257/0.5392, allocations: 13 MB / 0.5622 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001889/0.5394, allocations: 67.36 kB / 0.5623 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006197/0.54, allocations: 191.8 kB / 0.5625 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004399/0.5444, allocations: 2.503 MB / 0.5649 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02444/0.5689, allocations: 10.84 MB / 0.5755 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07177/0.6407, allocations: 49.92 MB / 0.6243 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/0.6531, allocations: 4.545 MB / 0.6287 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/0.657, allocations: 2.46 MB / 0.6311 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3493/1.006, allocations: 6.728 MB / 0.6377 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/1.007, allocations: 53.44 kB / 0.6377 GB, free: 124 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=183): time 5.209e-06/1.007, allocations: 0 / 0.6377 GB, free: 124 MB / 0.4981 GB Notification: Performance of matching and sorting (n=195): time 0.05195/1.058, allocations: 19.42 MB / 0.6567 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.354e-05/1.059, allocations: 233.2 kB / 0.6569 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009393/1.068, allocations: 5.914 MB / 0.6627 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004787/1.069, allocations: 52.27 kB / 0.6627 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00268/1.071, allocations: 4.066 MB / 0.6667 GB, free: 111.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009643/1.072, allocations: 0.7697 MB / 0.6675 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001994/1.074, allocations: 1.53 MB / 0.669 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.519e-05/1.074, allocations: 301.1 kB / 0.6692 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004088/1.078, allocations: 2.639 MB / 0.6718 GB, free: 109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005332/1.084, allocations: 7.164 MB / 0.6788 GB, free: 102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008936/1.093, allocations: 10.5 MB / 0.6891 GB, free: 92.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/1.093, allocations: 45.47 kB / 0.6891 GB, free: 92.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01608/1.109, allocations: 10.58 MB / 0.6995 GB, free: 84.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.086e-05/1.109, allocations: 76.25 kB / 0.6995 GB, free: 84.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/1.109, allocations: 160 kB / 0.6997 GB, free: 84.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/1.112, allocations: 1.235 MB / 0.7009 GB, free: 82.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004859/1.117, allocations: 1.719 MB / 0.7026 GB, free: 81.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007675/1.124, allocations: 8.486 MB / 0.7109 GB, free: 72.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007589/1.132, allocations: 408.6 kB / 0.7112 GB, free: 72.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/1.133, allocations: 452 kB / 0.7117 GB, free: 71.66 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.004644/1.138, allocations: 2.706 MB / 0.7143 GB, free: 68.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.139, allocations: 481.7 kB / 0.7148 GB, free: 68.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00633/1.145, allocations: 4.041 MB / 0.7187 GB, free: 64.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/1.145, allocations: 20 kB / 0.7187 GB, free: 64.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.145, allocations: 8 kB / 0.7187 GB, free: 64.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/1.145, allocations: 7.969 kB / 0.7188 GB, free: 64.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/1.161, allocations: 9.546 MB / 0.7281 GB, free: 54.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/1.161, allocations: 4 kB / 0.7281 GB, free: 54.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.163, allocations: 323.8 kB / 0.7284 GB, free: 54.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/1.165, allocations: 1 MB / 0.7294 GB, free: 53.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.165, allocations: 40.59 kB / 0.7294 GB, free: 53.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00702/1.172, allocations: 7.824 MB / 0.737 GB, free: 45.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.172, allocations: 4 kB / 0.7371 GB, free: 45.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.183, allocations: 6.882 MB / 0.7438 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003045/1.186, allocations: 0.8383 MB / 0.7446 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009037/1.187, allocations: 32 kB / 0.7446 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.189, allocations: 111.8 kB / 0.7447 GB, free: 37.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/1.189, allocations: 128.8 kB / 0.7449 GB, free: 37.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.189, allocations: 52 kB / 0.7449 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005146/1.194, allocations: 3.782 MB / 0.7486 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/1.194, allocations: 0 / 0.7486 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006715/1.201, allocations: 1.294 MB / 0.7499 GB, free: 32.12 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.000535/1.201, allocations: 172.8 kB / 0.75 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008555/1.21, allocations: 6.33 MB / 0.7562 GB, free: 25.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.21, allocations: 4.062 kB / 0.7562 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.212, allocations: 1.906 MB / 0.7581 GB, free: 23.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/1.216, allocations: 0.6324 MB / 0.7587 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/1.233, allocations: 12.04 MB / 0.7704 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003734/1.237, allocations: 4.131 MB / 0.7745 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00492/1.242, allocations: 2.319 MB / 0.7767 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008682/1.243, allocations: 319.3 kB / 0.777 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/1.243, allocations: 0 / 0.777 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of Templates: time 0.08845/1.331, allocations: 44.75 MB / 0.8207 GB, free: 7.539 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)