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.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00178/0.00178, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.706/1.706, allocations: 205.1 MB / 222 MB, free: 5 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.3583/0.3583, allocations: 37.98 MB / 307.3 MB, free: 9.793 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.00156/0.00156, allocations: 71.89 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1604, allocations: 56.46 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3444/0.5049, allocations: 73.68 MB / 0.4929 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04802/0.553, allocations: 14.56 MB / 0.5071 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0243/0.5773, allocations: 321.9 kB / 0.5074 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007826/0.5852, allocations: 3.76 MB / 0.5111 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00909/0.5944, allocations: 2.272 MB / 0.5133 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.5977, allocations: 0.9364 MB / 0.5142 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01593/0.6137, allocations: 8.716 MB / 0.5227 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007536/0.6213, allocations: 4.664 MB / 0.5273 GB, free: 7.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00501/0.6263, allocations: 1.884 MB / 0.5291 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005908/0.6323, allocations: 3.088 MB / 0.5321 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001502/0.6338, allocations: 318.7 kB / 0.5324 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/0.6376, allocations: 1.426 MB / 0.5338 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003327/0.641, allocations: 2.587 MB / 0.5363 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004334/0.6453, allocations: 2.9 MB / 0.5392 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.657, allocations: 9.232 MB / 0.5482 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6571, allocations: 0 / 0.5482 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6571, allocations: 0 / 0.5482 GB, free: 5.148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003782/0.6575, allocations: 4 kB / 0.5482 GB, free: 5.145 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.01576/0.6732, allocations: 6.544 MB / 0.5546 GB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6733, allocations: 8.031 kB / 0.5546 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.6848, allocations: 2.664 MB / 0.5572 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009735/0.6945, allocations: 4.004 MB / 0.5611 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005348/0.6951, allocations: 308.3 kB / 0.5614 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/0.698, allocations: 415.7 kB / 0.5618 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03327/0.7313, allocations: 13 MB / 0.5745 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003443/0.7316, allocations: 67.36 kB / 0.5746 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001926/0.7336, allocations: 191.8 kB / 0.5747 GB, free: 8.906 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004538/0.7382, allocations: 2.503 MB / 0.5772 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02484/0.763, allocations: 10.83 MB / 0.5878 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3915/1.155, allocations: 50.16 MB / 0.6368 GB, free: 114 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.165, allocations: 4.544 MB / 0.6412 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/1.168, allocations: 2.451 MB / 0.6436 GB, free: 113.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/1.18, allocations: 6.742 MB / 0.6502 GB, free: 111.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/1.18, allocations: 50.38 kB / 0.6502 GB, free: 111.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 5.21e-06/1.18, allocations: 0 / 0.6502 GB, free: 111.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.0532/1.233, allocations: 19.41 MB / 0.6692 GB, free: 103.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.233, allocations: 229.6 kB / 0.6694 GB, free: 103.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01266/1.246, allocations: 5.916 MB / 0.6752 GB, free: 101.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000646/1.247, allocations: 55.03 kB / 0.6752 GB, free: 101.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004086/1.251, allocations: 4.069 MB / 0.6792 GB, free: 97.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001649/1.253, allocations: 0.7699 MB / 0.6799 GB, free: 97.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00318/1.256, allocations: 1.536 MB / 0.6814 GB, free: 96.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/1.256, allocations: 307.1 kB / 0.6817 GB, free: 96.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/1.261, allocations: 2.634 MB / 0.6843 GB, free: 95.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00814/1.269, allocations: 7.164 MB / 0.6913 GB, free: 88.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/1.281, allocations: 10.51 MB / 0.7016 GB, free: 80.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001814/1.281, allocations: 46.19 kB / 0.7016 GB, free: 80.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02056/1.302, allocations: 10.57 MB / 0.7119 GB, free: 76.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.302, allocations: 73.88 kB / 0.712 GB, free: 76.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/1.302, allocations: 155.9 kB / 0.7122 GB, free: 76.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003061/1.305, allocations: 1.246 MB / 0.7134 GB, free: 75.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005774/1.311, allocations: 1.726 MB / 0.7151 GB, free: 74.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008078/1.319, allocations: 7.921 MB / 0.7228 GB, free: 67.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00737/1.327, allocations: 405.8 kB / 0.7232 GB, free: 66.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.328, allocations: 455.6 kB / 0.7236 GB, free: 66.43 MB / 494.1 MB 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.006214/1.335, allocations: 2.691 MB / 0.7262 GB, free: 63.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001917/1.337, allocations: 489.6 kB / 0.7267 GB, free: 63.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008078/1.345, allocations: 4.033 MB / 0.7306 GB, free: 59.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/1.345, allocations: 21.72 kB / 0.7307 GB, free: 59.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/1.345, allocations: 4.656 kB / 0.7307 GB, free: 59.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/1.345, allocations: 15.91 kB / 0.7307 GB, free: 59.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/1.362, allocations: 9.566 MB / 0.74 GB, free: 49.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.362, allocations: 12.27 kB / 0.74 GB, free: 49.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/1.364, allocations: 323.5 kB / 0.7403 GB, free: 49.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/1.366, allocations: 1.007 MB / 0.7413 GB, free: 48.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/1.366, allocations: 35.98 kB / 0.7414 GB, free: 48.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/1.373, allocations: 7.228 MB / 0.7484 GB, free: 40.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.373, allocations: 7.938 kB / 0.7484 GB, free: 40.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009158/1.382, allocations: 6.896 MB / 0.7552 GB, free: 33.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002635/1.385, allocations: 0.8344 MB / 0.756 GB, free: 32.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009878/1.386, allocations: 32 kB / 0.756 GB, free: 32.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.388, allocations: 119.8 kB / 0.7561 GB, free: 32.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/1.388, allocations: 117 kB / 0.7562 GB, free: 32.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.388, allocations: 52 kB / 0.7563 GB, free: 32.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005909/1.394, allocations: 3.782 MB / 0.76 GB, free: 28.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.394, allocations: 0 / 0.76 GB, free: 28.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01084/1.405, allocations: 1.299 MB / 0.7612 GB, free: 27.48 MB / 494.1 MB 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.0006934/1.406, allocations: 167.4 kB / 0.7614 GB, free: 27.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01/1.416, allocations: 6.323 MB / 0.7676 GB, free: 21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.416, allocations: 4 kB / 0.7676 GB, free: 21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/1.418, allocations: 1.901 MB / 0.7694 GB, free: 19.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004518/1.423, allocations: 0.5932 MB / 0.77 GB, free: 18.49 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/1.447, allocations: 14.69 MB / 0.7844 GB, free: 3.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005753/1.453, allocations: 4.127 MB / 0.7884 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007216/1.46, allocations: 2.315 MB / 0.7907 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.461, allocations: 319.4 kB / 0.791 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of SimCode: time 1.432e-06/1.461, allocations: 4 kB / 0.791 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.3623/1.824, allocations: 47.4 MB / 0.8373 GB, free: 175.4 MB / 0.5294 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)