Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.005449/0.005449, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001136/0.001136, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.551/1.551, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.3349/0.3349, allocations: 37.99 MB / 307.9 MB, free: 10.35 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.001459/0.001459, allocations: 71.89 kB / 433 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2763, allocations: 56.48 MB / 489.5 MB, free: 20.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.0156/0.292, allocations: 16.61 MB / 0.4943 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.3054, allocations: 5.05 MB / 0.4992 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004837/0.3103, allocations: 108.9 kB / 0.4993 GB, free: 4.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009054/0.3195, allocations: 5.061 MB / 0.5042 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006981/0.3265, allocations: 2.659 MB / 0.5068 GB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.3293, allocations: 1.109 MB / 0.5079 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01073/0.34, allocations: 6.785 MB / 0.5145 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007602/0.3476, allocations: 5.911 MB / 0.5203 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/0.3521, allocations: 2.527 MB / 0.5228 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004573/0.3567, allocations: 3.438 MB / 0.5261 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001261/0.3579, allocations: 0.5391 MB / 0.5267 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/0.3607, allocations: 1.428 MB / 0.5281 GB, free: 292 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003002/0.3638, allocations: 3.172 MB / 0.5312 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005125/0.3689, allocations: 3.585 MB / 0.5347 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.3835, allocations: 11.14 MB / 0.5455 GB, free: 14.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.3835, allocations: 4 kB / 0.5455 GB, free: 14.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3835, allocations: 0 / 0.5455 GB, free: 14.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004804/0.384, allocations: 3.984 kB / 0.5455 GB, free: 14.32 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.02022/0.4043, allocations: 7.785 MB / 0.5531 GB, free: 6.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4043, allocations: 15.89 kB / 0.5532 GB, free: 6.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.4187, allocations: 2.803 MB / 0.5559 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.4304, allocations: 4.55 MB / 0.5603 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005326/0.431, allocations: 382 kB / 0.5607 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002532/0.4336, allocations: 0.4917 MB / 0.5612 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03127/0.4648, allocations: 15.7 MB / 0.5765 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/0.4651, allocations: 67.38 kB / 0.5766 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007642/0.4659, allocations: 235.7 kB / 0.5768 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005228/0.4711, allocations: 3.005 MB / 0.5797 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02679/0.4979, allocations: 13.42 MB / 0.5928 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3472/0.8452, allocations: 60.79 MB / 0.6522 GB, free: 85.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02382/0.869, allocations: 7.616 MB / 0.6597 GB, free: 85.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005508/0.8746, allocations: 4.163 MB / 0.6637 GB, free: 83.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02/0.8946, allocations: 9.836 MB / 0.6733 GB, free: 79.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.8948, allocations: 64.44 kB / 0.6734 GB, free: 79.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=273): time 7.064e-06/0.8948, allocations: 0 / 0.6734 GB, free: 79.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=315): time 0.08745/0.9822, allocations: 34.33 MB / 0.7069 GB, free: 61.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.9823, allocations: 242.9 kB / 0.7071 GB, free: 61.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009117/0.9915, allocations: 6.891 MB / 0.7139 GB, free: 54.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001305/0.9928, allocations: 73.7 kB / 0.7139 GB, free: 54.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/0.9955, allocations: 4.633 MB / 0.7185 GB, free: 49.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.9969, allocations: 1.192 MB / 0.7196 GB, free: 48.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002224/0.9991, allocations: 1.879 MB / 0.7215 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.9992, allocations: 309.1 kB / 0.7218 GB, free: 46.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004581/1.004, allocations: 3.905 MB / 0.7256 GB, free: 42.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006537/1.01, allocations: 9.081 MB / 0.7344 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/1.024, allocations: 13.92 MB / 0.748 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002182/1.024, allocations: 52 kB / 0.7481 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02798/1.052, allocations: 14.8 MB / 0.7625 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/1.052, allocations: 84 kB / 0.7626 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/1.052, allocations: 180.9 kB / 0.7628 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/1.058, allocations: 2.268 MB / 0.765 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00806/1.067, allocations: 2.164 MB / 0.7671 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/1.085, allocations: 14.23 MB / 0.781 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007665/1.092, allocations: 0.5466 MB / 0.7816 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001772/1.094, allocations: 0.5273 MB / 0.7821 GB, free: 11.34 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.006791/1.101, allocations: 3.155 MB / 0.7852 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.102, allocations: 0.5823 MB / 0.7857 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.117, allocations: 7.764 MB / 0.7933 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.944e-05/1.117, allocations: 35.94 kB / 0.7933 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.41e-05/1.117, allocations: 8 kB / 0.7933 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-05/1.117, allocations: 19.94 kB / 0.7934 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03391/1.151, allocations: 16.07 MB / 0.8091 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/1.151, allocations: 4 kB / 0.8091 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/1.154, allocations: 0.5621 MB / 0.8096 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005387/1.16, allocations: 2.015 MB / 0.8116 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006398/1.16, allocations: 63.94 kB / 0.8116 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/1.178, allocations: 13.57 MB / 0.8249 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/1.178, allocations: 7.938 kB / 0.8249 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/1.197, allocations: 12.36 MB / 0.837 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004129/1.202, allocations: 1.188 MB / 0.8381 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002123/1.204, allocations: 60 kB / 0.8382 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004254/1.208, allocations: 227.7 kB / 0.8384 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009684/1.209, allocations: 189.9 kB / 0.8386 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.209, allocations: 87.98 kB / 0.8387 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007412/1.217, allocations: 4.409 MB / 0.843 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.22e-07/1.217, allocations: 0 / 0.843 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008621/1.225, allocations: 1.713 MB / 0.8447 GB, free: 10.74 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.0009438/1.226, allocations: 200 kB / 0.8448 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01456/1.241, allocations: 9.44 MB / 0.8541 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.241, allocations: 0 / 0.8541 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006602/1.248, allocations: 3.752 MB / 0.8577 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005081/1.253, allocations: 0.7444 MB / 0.8585 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2572/1.51, allocations: 15.88 MB / 0.874 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/1.521, allocations: 4.792 MB / 0.8786 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009922/1.531, allocations: 2.95 MB / 0.8815 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002459/1.534, allocations: 409.6 kB / 0.8819 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.232e-06/1.534, allocations: 0 / 0.8819 GB, free: 211.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.1206/1.654, allocations: 65.83 MB / 0.9462 GB, free: 174.1 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)