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.0008957/0.0008958, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.00598/0.005981, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.863/1.863, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.3833/0.3833, allocations: 40 MB / 310.7 MB, free: 9.594 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.0005865/0.0005865, allocations: 20 kB / 379.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1741, allocations: 57.96 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4563/0.6304, allocations: 87.94 MB / 0.513 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05944/0.6899, allocations: 17.13 MB / 0.5298 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02188/0.7119, allocations: 389.2 kB / 0.5301 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.7153, allocations: 0.6245 MB / 0.5308 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008678/0.724, allocations: 2.516 MB / 0.5332 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.7265, allocations: 0.9145 MB / 0.5341 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01393/0.7404, allocations: 9.943 MB / 0.5438 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01156/0.752, allocations: 8.197 MB / 0.5518 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004258/0.7563, allocations: 1.859 MB / 0.5536 GB, free: 388 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005295/0.7616, allocations: 3.184 MB / 0.5567 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.7627, allocations: 232 kB / 0.557 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.7658, allocations: 1.186 MB / 0.5581 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003048/0.7689, allocations: 2.82 MB / 0.5609 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004361/0.7732, allocations: 3.165 MB / 0.564 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.7866, allocations: 10.34 MB / 0.5741 GB, free: 11.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.7866, allocations: 3.938 kB / 0.5741 GB, free: 11.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.7867, allocations: 4 kB / 0.5741 GB, free: 11.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004142/0.7871, allocations: 3.938 kB / 0.5741 GB, free: 11.36 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.01479/0.8019, allocations: 6.386 MB / 0.5803 GB, free: 4.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.8019, allocations: 12.03 kB / 0.5803 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01428/0.8162, allocations: 2.874 MB / 0.5831 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009952/0.8262, allocations: 4.48 MB / 0.5875 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00034/0.8266, allocations: 382.2 kB / 0.5879 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/0.8283, allocations: 0.4957 MB / 0.5883 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03187/0.8602, allocations: 15.71 MB / 0.6037 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002204/0.8604, allocations: 59.47 kB / 0.6037 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009623/0.8614, allocations: 239.8 kB / 0.604 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005593/0.867, allocations: 3.008 MB / 0.6069 GB, free: 8.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02937/0.8964, allocations: 13.44 MB / 0.62 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2942/1.191, allocations: 61.12 MB / 0.6797 GB, free: 100.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01959/1.21, allocations: 7.633 MB / 0.6872 GB, free: 98.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005845/1.216, allocations: 4.167 MB / 0.6912 GB, free: 96.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0228/1.239, allocations: 9.85 MB / 0.7009 GB, free: 92.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/1.239, allocations: 63.05 kB / 0.7009 GB, free: 92.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 1.536e-05/1.239, allocations: 0 / 0.7009 GB, free: 92.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.094/1.333, allocations: 34.33 MB / 0.7344 GB, free: 72.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.333, allocations: 243.9 kB / 0.7347 GB, free: 72.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/1.344, allocations: 6.885 MB / 0.7414 GB, free: 65.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009487/1.345, allocations: 73.7 kB / 0.7415 GB, free: 65.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002838/1.348, allocations: 4.634 MB / 0.746 GB, free: 60.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.349, allocations: 1.197 MB / 0.7472 GB, free: 59.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009293/1.35, allocations: 0.788 MB / 0.7479 GB, free: 58.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.861e-05/1.35, allocations: 309 kB / 0.7482 GB, free: 58.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004731/1.355, allocations: 3.902 MB / 0.752 GB, free: 54.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006434/1.361, allocations: 9.075 MB / 0.7609 GB, free: 42.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/1.375, allocations: 13.92 MB / 0.7745 GB, free: 26.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.375, allocations: 52 kB / 0.7746 GB, free: 26.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02806/1.403, allocations: 14.81 MB / 0.789 GB, free: 11.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002469/1.403, allocations: 80 kB / 0.7891 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000334/1.403, allocations: 180.8 kB / 0.7893 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005777/1.409, allocations: 2.276 MB / 0.7915 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007745/1.417, allocations: 2.164 MB / 0.7936 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.434, allocations: 13.31 MB / 0.8066 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008306/1.442, allocations: 0.546 MB / 0.8071 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/1.444, allocations: 0.5273 MB / 0.8076 GB, free: 7.984 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.00921/1.453, allocations: 3.16 MB / 0.8107 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001822/1.455, allocations: 0.5746 MB / 0.8113 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/1.472, allocations: 7.764 MB / 0.8189 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.506e-05/1.472, allocations: 36 kB / 0.8189 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.874e-05/1.472, allocations: 12 kB / 0.8189 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.917e-05/1.473, allocations: 16.59 kB / 0.8189 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2767/1.749, allocations: 16.26 MB / 0.8348 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/1.749, allocations: 3.656 kB / 0.8348 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00306/1.752, allocations: 0.5599 MB / 0.8354 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005493/1.758, allocations: 2.011 MB / 0.8373 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/1.759, allocations: 63.33 kB / 0.8374 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/1.776, allocations: 12.59 MB / 0.8497 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.776, allocations: 10.72 kB / 0.8497 GB, free: 151.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02061/1.797, allocations: 12.33 MB / 0.8617 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003514/1.801, allocations: 1.203 MB / 0.8629 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002011/1.803, allocations: 62.31 kB / 0.863 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004211/1.807, allocations: 227.1 kB / 0.8632 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/1.808, allocations: 192.6 kB / 0.8634 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005376/1.808, allocations: 87.47 kB / 0.8635 GB, free: 146.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.01118/1.82, allocations: 4.411 MB / 0.8678 GB, free: 145.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.51e-07/1.82, allocations: 0 / 0.8678 GB, free: 145.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01265/1.832, allocations: 1.701 MB / 0.8694 GB, free: 145.1 MB / 0.5137 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.001633/1.834, allocations: 210.2 kB / 0.8696 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02012/1.854, allocations: 9.394 MB / 0.8788 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.854, allocations: 1.938 kB / 0.8788 GB, free: 141.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007318/1.861, allocations: 3.853 MB / 0.8826 GB, free: 140.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01093/1.872, allocations: 0.7098 MB / 0.8833 GB, free: 139.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03565/1.908, allocations: 19.2 MB / 0.902 GB, free: 129.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009371/1.918, allocations: 4.802 MB / 0.9067 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008551/1.926, allocations: 2.95 MB / 0.9096 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002371/1.929, allocations: 413 kB / 0.91 GB, free: 123.1 MB / 0.5137 GB Notification: Performance of SimCode: time 6.92e-07/1.929, allocations: 0 / 0.91 GB, free: 123.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.104/2.033, allocations: 66.97 MB / 0.9754 GB, free: 56.68 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: