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.01133/0.01133, allocations: 103.9 kB / 15.73 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.00197/0.00197, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3087/0.3087, allocations: 37.99 MB / 307.9 MB, free: 10 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.001635/0.001635, allocations: 64.38 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2763, allocations: 56.48 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01537/0.2917, allocations: 16.62 MB / 0.4943 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3033, allocations: 5.049 MB / 0.4992 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.3072, allocations: 107 kB / 0.4993 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009396/0.3167, allocations: 5.06 MB / 0.5042 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007445/0.3241, allocations: 2.742 MB / 0.5069 GB, free: 100 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.3272, allocations: 1.117 MB / 0.508 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.3388, allocations: 6.77 MB / 0.5146 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008972/0.3479, allocations: 5.911 MB / 0.5204 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006332/0.3542, allocations: 2.531 MB / 0.5229 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007381/0.3616, allocations: 3.442 MB / 0.5262 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002595/0.3643, allocations: 0.543 MB / 0.5268 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004628/0.3689, allocations: 1.424 MB / 0.5281 GB, free: 48 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004479/0.3734, allocations: 3.195 MB / 0.5313 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006726/0.3802, allocations: 3.585 MB / 0.5348 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.3935, allocations: 11.14 MB / 0.5456 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3935, allocations: 0 / 0.5456 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3935, allocations: 0 / 0.5456 GB, free: 14.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002928/0.3938, allocations: 4 kB / 0.5456 GB, free: 14.06 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.01549/0.4093, allocations: 7.789 MB / 0.5532 GB, free: 6.184 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4094, allocations: 19.88 kB / 0.5533 GB, free: 6.164 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/0.4212, allocations: 2.799 MB / 0.556 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009762/0.431, allocations: 4.554 MB / 0.5605 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/0.4313, allocations: 374 kB / 0.5608 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/0.4332, allocations: 0.4956 MB / 0.5613 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/0.4652, allocations: 15.68 MB / 0.5766 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003179/0.4656, allocations: 75.36 kB / 0.5767 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001744/0.4673, allocations: 239.7 kB / 0.5769 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005295/0.4727, allocations: 3.012 MB / 0.5799 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02849/0.5012, allocations: 13.42 MB / 0.593 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3439/0.8451, allocations: 60.79 MB / 0.6523 GB, free: 85.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01949/0.8647, allocations: 7.621 MB / 0.6598 GB, free: 85.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005879/0.8706, allocations: 4.162 MB / 0.6638 GB, free: 83.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01758/0.8882, allocations: 9.829 MB / 0.6734 GB, free: 79.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.981e-05/0.8883, allocations: 68.8 kB / 0.6735 GB, free: 79.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=273): time 5.45e-06/0.8883, allocations: 0 / 0.6735 GB, free: 79.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=315): time 0.08415/0.9725, allocations: 34.34 MB / 0.707 GB, free: 61.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.9726, allocations: 243.9 kB / 0.7073 GB, free: 61.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008851/0.9815, allocations: 6.885 MB / 0.714 GB, free: 54.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007189/0.9822, allocations: 73.69 kB / 0.7141 GB, free: 54.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002099/0.9843, allocations: 4.631 MB / 0.7186 GB, free: 49.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/0.9855, allocations: 1.202 MB / 0.7197 GB, free: 48.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/0.9876, allocations: 1.875 MB / 0.7216 GB, free: 46.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.199e-05/0.9877, allocations: 301.1 kB / 0.7219 GB, free: 46.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004672/0.9924, allocations: 3.906 MB / 0.7257 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007034/0.9994, allocations: 9.084 MB / 0.7346 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/1.012, allocations: 13.92 MB / 0.7481 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/1.013, allocations: 52 kB / 0.7482 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02507/1.038, allocations: 14.81 MB / 0.7627 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/1.038, allocations: 80 kB / 0.7627 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/1.038, allocations: 180 kB / 0.7629 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00649/1.045, allocations: 2.273 MB / 0.7651 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008364/1.053, allocations: 2.16 MB / 0.7672 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/1.074, allocations: 14.23 MB / 0.7811 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00855/1.083, allocations: 0.5427 MB / 0.7817 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/1.085, allocations: 0.5349 MB / 0.7822 GB, free: 11.16 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.007434/1.092, allocations: 3.156 MB / 0.7853 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00214/1.094, allocations: 0.5745 MB / 0.7858 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0166/1.111, allocations: 7.764 MB / 0.7934 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.861e-05/1.111, allocations: 35.94 kB / 0.7934 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.315e-05/1.111, allocations: 12 kB / 0.7935 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-05/1.111, allocations: 15.94 kB / 0.7935 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03321/1.144, allocations: 16.06 MB / 0.8092 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.919e-05/1.144, allocations: 4 kB / 0.8092 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002935/1.147, allocations: 0.5659 MB / 0.8097 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005514/1.153, allocations: 2.019 MB / 0.8117 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000559/1.153, allocations: 56 kB / 0.8117 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/1.172, allocations: 13.58 MB / 0.825 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/1.172, allocations: 11.88 kB / 0.825 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/1.193, allocations: 12.36 MB / 0.8371 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/1.197, allocations: 1.188 MB / 0.8382 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001799/1.198, allocations: 56 kB / 0.8383 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003441/1.202, allocations: 231.1 kB / 0.8385 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000743/1.203, allocations: 197.9 kB / 0.8387 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003874/1.203, allocations: 80 kB / 0.8388 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.008824/1.212, allocations: 4.414 MB / 0.8431 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/1.212, allocations: 0 / 0.8431 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009701/1.222, allocations: 1.708 MB / 0.8448 GB, free: 10.56 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.0009132/1.223, allocations: 204.6 kB / 0.8449 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01641/1.239, allocations: 9.445 MB / 0.8542 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.239, allocations: 0 / 0.8542 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006818/1.246, allocations: 3.748 MB / 0.8578 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/1.251, allocations: 0.7529 MB / 0.8586 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2496/1.501, allocations: 15.88 MB / 0.8741 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007112/1.508, allocations: 4.798 MB / 0.8788 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007002/1.515, allocations: 2.949 MB / 0.8816 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/1.517, allocations: 402.3 kB / 0.882 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/1.517, allocations: 1.25 kB / 0.882 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.1107/1.627, allocations: 65.83 MB / 0.9463 GB, free: 173.6 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)