Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007815/0.007815, allocations: 101.8 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.001544/0.001544, 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.3518/0.3518, allocations: 37.98 MB / 307.9 MB, free: 9.984 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.001486/0.001486, allocations: 67.91 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3942, allocations: 56.47 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01646/0.4107, allocations: 17.11 MB / 0.4947 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.425, allocations: 5.262 MB / 0.4999 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004756/0.4299, allocations: 107.2 kB / 0.5 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008975/0.4389, allocations: 4.852 MB / 0.5047 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.4492, allocations: 2.855 MB / 0.5075 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003559/0.4528, allocations: 1.142 MB / 0.5086 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.4666, allocations: 6.996 MB / 0.5155 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009286/0.4759, allocations: 6.087 MB / 0.5214 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005928/0.4819, allocations: 2.624 MB / 0.524 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005937/0.4878, allocations: 3.563 MB / 0.5274 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002023/0.4899, allocations: 0.5781 MB / 0.528 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004293/0.4942, allocations: 1.604 MB / 0.5296 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004396/0.4986, allocations: 3.328 MB / 0.5328 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00669/0.5053, allocations: 3.787 MB / 0.5365 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.5214, allocations: 11.95 MB / 0.5482 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5214, allocations: 0 / 0.5482 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5214, allocations: 3.938 kB / 0.5482 GB, free: 11.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004045/0.5219, allocations: 0 / 0.5482 GB, free: 11.45 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02071/0.5426, allocations: 8.069 MB / 0.5561 GB, free: 3.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5426, allocations: 11.89 kB / 0.5561 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/0.5556, allocations: 2.857 MB / 0.5589 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.5667, allocations: 4.646 MB / 0.5634 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000445/0.5672, allocations: 398.1 kB / 0.5638 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/0.5698, allocations: 0.523 MB / 0.5643 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03561/0.6055, allocations: 16.91 MB / 0.5808 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003232/0.6058, allocations: 59.47 kB / 0.5809 GB, free: 8.816 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001769/0.6076, allocations: 251.8 kB / 0.5811 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005619/0.6132, allocations: 3.252 MB / 0.5843 GB, free: 5.309 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03253/0.6458, allocations: 14.5 MB / 0.5984 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6343/1.28, allocations: 62.42 MB / 0.6594 GB, free: 83.64 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/1.298, allocations: 6.89 MB / 0.6661 GB, free: 82.39 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005713/1.303, allocations: 4.259 MB / 0.6703 GB, free: 80.68 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01856/1.322, allocations: 9.666 MB / 0.6797 GB, free: 76.32 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/1.322, allocations: 69.97 kB / 0.6798 GB, free: 76.27 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=297): time 1.569e-05/1.322, allocations: 0 / 0.6798 GB, free: 76.27 MB / 0.4982 GB Notification: Performance of matching and sorting (n=339): time 0.08789/1.41, allocations: 34.78 MB / 0.7138 GB, free: 58.47 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/1.41, allocations: 251.8 kB / 0.714 GB, free: 58.18 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/1.422, allocations: 6.744 MB / 0.7206 GB, free: 51.44 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001137/1.423, allocations: 73.7 kB / 0.7207 GB, free: 51.36 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00252/1.426, allocations: 4.752 MB / 0.7253 GB, free: 46.61 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001506/1.427, allocations: 1.272 MB / 0.7265 GB, free: 45.35 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/1.429, allocations: 1.883 MB / 0.7284 GB, free: 43.46 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.23e-05/1.43, allocations: 305.1 kB / 0.7287 GB, free: 43.16 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004852/1.434, allocations: 4.067 MB / 0.7326 GB, free: 39.08 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00657/1.441, allocations: 9.14 MB / 0.7416 GB, free: 27.53 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/1.454, allocations: 14.17 MB / 0.7554 GB, free: 10.95 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/1.454, allocations: 48 kB / 0.7555 GB, free: 10.9 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.02806/1.482, allocations: 15.11 MB / 0.7702 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002772/1.483, allocations: 80 kB / 0.7703 GB, free: 11.69 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003699/1.483, allocations: 176 kB / 0.7705 GB, free: 11.52 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006333/1.49, allocations: 2.286 MB / 0.7727 GB, free: 9.223 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008344/1.498, allocations: 2.152 MB / 0.7748 GB, free: 7.066 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01975/1.518, allocations: 14.45 MB / 0.7889 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008537/1.526, allocations: 0.5462 MB / 0.7894 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002205/1.529, allocations: 0.5277 MB / 0.79 GB, free: 7.277 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1125): * Single equations (assignments): 1118 * 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 {(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.009042/1.538, allocations: 3.296 MB / 0.7932 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002178/1.54, allocations: 0.5823 MB / 0.7937 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01902/1.559, allocations: 8.443 MB / 0.802 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.501e-05/1.559, allocations: 36 kB / 0.802 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.313e-05/1.559, allocations: 11.94 kB / 0.802 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.703e-05/1.559, allocations: 15.94 kB / 0.802 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04409/1.603, allocations: 16.91 MB / 0.8186 GB, free: 9.891 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.486e-05/1.603, allocations: 7.938 kB / 0.8186 GB, free: 9.883 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003341/1.607, allocations: 0.5816 MB / 0.8191 GB, free: 9.301 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005722/1.612, allocations: 2.042 MB / 0.8211 GB, free: 7.25 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008642/1.613, allocations: 63.98 kB / 0.8212 GB, free: 7.188 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/1.632, allocations: 13.76 MB / 0.8346 GB, free: 9.16 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/1.632, allocations: 7.938 kB / 0.8346 GB, free: 9.152 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02435/1.656, allocations: 13.12 MB / 0.8474 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004679/1.661, allocations: 1.235 MB / 0.8486 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003169/1.664, allocations: 56 kB / 0.8487 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005409/1.67, allocations: 247.6 kB / 0.8489 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/1.671, allocations: 205.9 kB / 0.8491 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007431/1.672, allocations: 86.11 kB / 0.8492 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009391/1.681, allocations: 4.35 MB / 0.8535 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.51e-07/1.681, allocations: 0 / 0.8535 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01072/1.692, allocations: 1.78 MB / 0.8552 GB, free: 3.938 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.001205/1.693, allocations: 207.8 kB / 0.8554 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.292/1.985, allocations: 9.833 MB / 0.865 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/1.985, allocations: 0.875 kB / 0.865 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007651/1.993, allocations: 3.994 MB / 0.8689 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006054/1.999, allocations: 0.7698 MB / 0.8697 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/2.03, allocations: 16.6 MB / 0.8859 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006361/2.037, allocations: 5.04 MB / 0.8908 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00688/2.043, allocations: 2.982 MB / 0.8937 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/2.045, allocations: 410.9 kB / 0.8941 GB, free: 192 MB / 0.5919 GB Notification: Performance of SimCode: time 2.174e-06/2.045, allocations: 0 / 0.8941 GB, free: 192 MB / 0.5919 GB Notification: Performance of Templates: time 0.09983/2.145, allocations: 67.75 MB / 0.9602 GB, free: 135 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)