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.001228/0.001227, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001342/0.001342, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.734/1.734, allocations: 205.1 MB / 222 MB, free: 4.773 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.3739/0.3739, allocations: 39.93 MB / 309.3 MB, free: 9.645 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.001366/0.001367, allocations: 68.47 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1553, allocations: 56.89 MB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4124/0.5677, allocations: 90.05 MB / 0.5116 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.06971/0.6375, allocations: 17.2 MB / 0.5284 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0309/0.6684, allocations: 387.7 kB / 0.5287 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01149/0.68, allocations: 5.064 MB / 0.5337 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009214/0.6893, allocations: 2.508 MB / 0.5361 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004654/0.694, allocations: 1.03 MB / 0.5371 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01426/0.7083, allocations: 9.937 MB / 0.5468 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/0.7186, allocations: 5.821 MB / 0.5525 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005515/0.7242, allocations: 2.25 MB / 0.5547 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00633/0.7305, allocations: 3.688 MB / 0.5583 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002219/0.7328, allocations: 392 kB / 0.5587 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005649/0.7385, allocations: 1.334 MB / 0.56 GB, free: 7.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005677/0.7442, allocations: 3.062 MB / 0.563 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007986/0.7522, allocations: 3.448 MB / 0.5664 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.7673, allocations: 10.66 MB / 0.5768 GB, free: 6.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.7673, allocations: 4 kB / 0.5768 GB, free: 6.586 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.7673, allocations: 3.938 kB / 0.5768 GB, free: 6.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004759/0.7678, allocations: 0 / 0.5768 GB, free: 6.582 MB / 446.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.02097/0.7888, allocations: 7.781 MB / 0.5844 GB, free: 14.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.7889, allocations: 8.031 kB / 0.5844 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.8024, allocations: 2.803 MB / 0.5871 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.8136, allocations: 4.476 MB / 0.5915 GB, free: 7.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00039/0.814, allocations: 378.2 kB / 0.5919 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002017/0.8161, allocations: 0.4956 MB / 0.5923 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03468/0.8508, allocations: 15.69 MB / 0.6077 GB, free: 5.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004085/0.8512, allocations: 71.31 kB / 0.6077 GB, free: 5.699 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002215/0.8535, allocations: 231.8 kB / 0.608 GB, free: 5.473 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005706/0.8592, allocations: 3.008 MB / 0.6109 GB, free: 2.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02842/0.8877, allocations: 13.42 MB / 0.624 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2874/1.175, allocations: 61.07 MB / 0.6836 GB, free: 103.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/1.195, allocations: 7.616 MB / 0.6911 GB, free: 101.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006464/1.201, allocations: 4.158 MB / 0.6951 GB, free: 99.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01995/1.221, allocations: 9.84 MB / 0.7048 GB, free: 94.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.49e-05/1.222, allocations: 65.38 kB / 0.7048 GB, free: 94.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 6.031e-06/1.222, allocations: 0 / 0.7048 GB, free: 94.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.07886/1.3, allocations: 34.33 MB / 0.7383 GB, free: 68.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/1.301, allocations: 243.9 kB / 0.7386 GB, free: 68.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008175/1.309, allocations: 6.893 MB / 0.7453 GB, free: 61.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007767/1.31, allocations: 75.73 kB / 0.7454 GB, free: 61.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002203/1.312, allocations: 4.632 MB / 0.7499 GB, free: 56.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.313, allocations: 1.195 MB / 0.7511 GB, free: 55.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002401/1.316, allocations: 1.872 MB / 0.7529 GB, free: 53.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/1.316, allocations: 305.1 kB / 0.7532 GB, free: 53.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004769/1.321, allocations: 3.906 MB / 0.757 GB, free: 49.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006923/1.327, allocations: 9.076 MB / 0.7659 GB, free: 37.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.34, allocations: 13.92 MB / 0.7795 GB, free: 21.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001219/1.34, allocations: 52 kB / 0.7795 GB, free: 21.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02356/1.364, allocations: 14.81 MB / 0.794 GB, free: 6.594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/1.364, allocations: 83.94 kB / 0.7941 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001815/1.364, allocations: 180 kB / 0.7942 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005143/1.369, allocations: 2.277 MB / 0.7964 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007316/1.377, allocations: 2.16 MB / 0.7986 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/1.394, allocations: 13.31 MB / 0.8116 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007253/1.401, allocations: 0.5422 MB / 0.8121 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001558/1.403, allocations: 0.5351 MB / 0.8126 GB, free: 3.227 MB / 0.4981 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.005759/1.408, allocations: 3.152 MB / 0.8157 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2263/1.635, allocations: 0.5748 MB / 0.8162 GB, free: 148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/1.648, allocations: 7.756 MB / 0.8238 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-05/1.648, allocations: 35.47 kB / 0.8239 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.742e-05/1.648, allocations: 9.688 kB / 0.8239 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.403e-05/1.648, allocations: 22.97 kB / 0.8239 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02755/1.676, allocations: 16.26 MB / 0.8398 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/1.676, allocations: 5.969 kB / 0.8398 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/1.679, allocations: 0.5643 MB / 0.8403 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005183/1.684, allocations: 2.014 MB / 0.8423 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006384/1.684, allocations: 59.45 kB / 0.8423 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/1.705, allocations: 12.59 MB / 0.8546 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/1.705, allocations: 5.625 kB / 0.8546 GB, free: 135.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01981/1.724, allocations: 12.34 MB / 0.8667 GB, free: 130.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003195/1.728, allocations: 1.188 MB / 0.8679 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001437/1.729, allocations: 54.84 kB / 0.8679 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/1.732, allocations: 228.3 kB / 0.8681 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006679/1.733, allocations: 194.4 kB / 0.8683 GB, free: 130 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.733, allocations: 84.61 kB / 0.8684 GB, free: 130 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006378/1.74, allocations: 4.413 MB / 0.8727 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.74, allocations: 0 / 0.8727 GB, free: 128.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0079/1.747, allocations: 1.7 MB / 0.8744 GB, free: 128.3 MB / 0.4981 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 {(5,16,72.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.0007866/1.748, allocations: 207.8 kB / 0.8746 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.762, allocations: 9.398 MB / 0.8837 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-05/1.763, allocations: 3.938 kB / 0.8837 GB, free: 121.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007394/1.77, allocations: 3.857 MB / 0.8875 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007199/1.777, allocations: 0.7161 MB / 0.8882 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/1.803, allocations: 19.05 MB / 0.9068 GB, free: 97.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005744/1.808, allocations: 4.797 MB / 0.9115 GB, free: 93.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007217/1.816, allocations: 2.945 MB / 0.9144 GB, free: 90.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001849/1.817, allocations: 411.3 kB / 0.9148 GB, free: 89.69 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/1.817, allocations: 0 / 0.9148 GB, free: 89.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.102/1.919, allocations: 68.31 MB / 0.9815 GB, free: 21.48 MB / 0.4981 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)