Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008519/0.008519, allocations: 103.7 kB / 15.74 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.001571/0.001571, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.612/1.612, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3464/0.3464, allocations: 39.95 MB / 309.8 MB, free: 9.359 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.2. 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.001472/0.001472, allocations: 64.33 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3741, allocations: 56.88 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01852/0.3926, allocations: 16.63 MB / 0.4974 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.4069, allocations: 5.046 MB / 0.5023 GB, free: 4.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005726/0.4127, allocations: 105.9 kB / 0.5024 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009988/0.4228, allocations: 5.055 MB / 0.5074 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.4331, allocations: 2.665 MB / 0.51 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.4369, allocations: 1.11 MB / 0.511 GB, free: 13.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01352/0.4504, allocations: 6.776 MB / 0.5177 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008856/0.4593, allocations: 5.919 MB / 0.5234 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006192/0.4656, allocations: 2.531 MB / 0.5259 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006636/0.4722, allocations: 3.435 MB / 0.5293 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002182/0.4745, allocations: 0.5391 MB / 0.5298 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.4791, allocations: 1.432 MB / 0.5312 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004772/0.4839, allocations: 3.176 MB / 0.5343 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007765/0.4917, allocations: 3.581 MB / 0.5378 GB, free: 6.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01941/0.5111, allocations: 11.14 MB / 0.5487 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.26e-05/0.5112, allocations: 3.984 kB / 0.5487 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.5112, allocations: 0 / 0.5487 GB, free: 10.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005163/0.5117, allocations: 3.938 kB / 0.5487 GB, free: 10.96 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02455/0.5363, allocations: 7.781 MB / 0.5563 GB, free: 3.098 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5364, allocations: 11.89 kB / 0.5563 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/0.5506, allocations: 2.807 MB / 0.559 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/0.5637, allocations: 4.558 MB / 0.5635 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.5641, allocations: 374 kB / 0.5638 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002148/0.5662, allocations: 0.4918 MB / 0.5643 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03099/0.5972, allocations: 15.69 MB / 0.5796 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002278/0.5975, allocations: 63.47 kB / 0.5797 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009285/0.5984, allocations: 235.8 kB / 0.5799 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005279/0.6037, allocations: 3.008 MB / 0.5829 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02722/0.631, allocations: 13.43 MB / 0.596 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.389/1.02, allocations: 60.8 MB / 0.6553 GB, free: 85.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/1.039, allocations: 7.617 MB / 0.6628 GB, free: 84.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004914/1.044, allocations: 4.157 MB / 0.6668 GB, free: 82.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01542/1.06, allocations: 9.846 MB / 0.6765 GB, free: 78.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.06, allocations: 63.28 kB / 0.6765 GB, free: 78.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=273): time 5.029e-06/1.06, allocations: 3.281 kB / 0.6765 GB, free: 78.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=315): time 0.07821/1.138, allocations: 34.32 MB / 0.71 GB, free: 57.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/1.138, allocations: 239.4 kB / 0.7103 GB, free: 57.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007343/1.146, allocations: 6.893 MB / 0.717 GB, free: 50.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005989/1.146, allocations: 74.41 kB / 0.7171 GB, free: 50.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001926/1.148, allocations: 4.631 MB / 0.7216 GB, free: 45.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.149, allocations: 1.189 MB / 0.7228 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/1.151, allocations: 1.876 MB / 0.7246 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.845e-05/1.151, allocations: 309.1 kB / 0.7249 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004507/1.156, allocations: 3.902 MB / 0.7287 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00724/1.163, allocations: 9.082 MB / 0.7376 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01248/1.176, allocations: 13.91 MB / 0.7512 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/1.176, allocations: 55.94 kB / 0.7512 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02543/1.201, allocations: 14.82 MB / 0.7657 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/1.201, allocations: 87.94 kB / 0.7658 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002137/1.202, allocations: 180 kB / 0.7659 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00588/1.207, allocations: 2.269 MB / 0.7681 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007503/1.215, allocations: 2.16 MB / 0.7703 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01916/1.234, allocations: 14.24 MB / 0.7842 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006937/1.241, allocations: 0.5418 MB / 0.7847 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.242, allocations: 0.539 MB / 0.7852 GB, free: 7.188 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1120): * Single equations (assignments): 1113 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004907/1.247, allocations: 3.147 MB / 0.7883 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.248, allocations: 0.5746 MB / 0.7888 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/1.263, allocations: 7.762 MB / 0.7964 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.885e-05/1.263, allocations: 32 kB / 0.7965 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.36e-05/1.263, allocations: 8 kB / 0.7965 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.937e-05/1.263, allocations: 23.88 kB / 0.7965 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03275/1.296, allocations: 16.08 MB / 0.8122 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/1.296, allocations: 4 kB / 0.8122 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/1.299, allocations: 0.5582 MB / 0.8127 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005471/1.304, allocations: 2.019 MB / 0.8147 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004618/1.305, allocations: 56 kB / 0.8148 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/1.323, allocations: 13.59 MB / 0.828 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.323, allocations: 7.938 kB / 0.828 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02137/1.345, allocations: 12.36 MB / 0.8401 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004108/1.349, allocations: 1.184 MB / 0.8413 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/1.35, allocations: 59.94 kB / 0.8413 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003782/1.354, allocations: 225.6 kB / 0.8415 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008239/1.355, allocations: 193.9 kB / 0.8417 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002722/1.355, allocations: 87.98 kB / 0.8418 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008358/1.364, allocations: 4.41 MB / 0.8461 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.11e-07/1.364, allocations: 0 / 0.8461 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008351/1.372, allocations: 1.702 MB / 0.8478 GB, free: 6.605 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 (260): * Single equations (assignments): 255 * 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,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005984/1.373, allocations: 207.9 kB / 0.848 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.386, allocations: 9.448 MB / 0.8572 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/1.386, allocations: 4.125 kB / 0.8572 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006277/1.393, allocations: 3.74 MB / 0.8609 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005195/1.398, allocations: 0.7423 MB / 0.8616 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2703/1.668, allocations: 15.88 MB / 0.8771 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007762/1.676, allocations: 4.793 MB / 0.8818 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008295/1.684, allocations: 2.943 MB / 0.8846 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/1.687, allocations: 410.5 kB / 0.885 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of SimCode: time 2.004e-06/1.687, allocations: 0 / 0.885 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.1043/1.791, allocations: 65.83 MB / 0.9493 GB, free: 167.1 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)