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.007176/0.007175, allocations: 101.4 kB / 15.73 MB, free: 6.469 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.001352/0.001352, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.703/1.703, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.94 MB / 309.8 MB, free: 9.391 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.001725/0.001725, allocations: 63.91 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2934, allocations: 56.88 MB / 492.7 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01412/0.3076, allocations: 16.62 MB / 0.4974 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.3215, allocations: 5.057 MB / 0.5023 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005079/0.3266, allocations: 110.1 kB / 0.5024 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008885/0.3356, allocations: 5.055 MB / 0.5074 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00946/0.3451, allocations: 2.658 MB / 0.51 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.3485, allocations: 1.112 MB / 0.511 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.3613, allocations: 6.777 MB / 0.5177 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009605/0.3709, allocations: 5.917 MB / 0.5234 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00531/0.3763, allocations: 2.531 MB / 0.5259 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005774/0.3821, allocations: 3.446 MB / 0.5293 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00203/0.3841, allocations: 0.5391 MB / 0.5298 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004134/0.3883, allocations: 1.424 MB / 0.5312 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005103/0.3934, allocations: 3.195 MB / 0.5343 GB, free: 9.738 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007822/0.4013, allocations: 3.581 MB / 0.5378 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01737/0.4187, allocations: 11.14 MB / 0.5487 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4187, allocations: 0 / 0.5487 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4188, allocations: 4 kB / 0.5487 GB, free: 10.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004854/0.4192, allocations: 0 / 0.5487 GB, free: 10.95 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.02161/0.4409, allocations: 7.789 MB / 0.5563 GB, free: 3.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4409, allocations: 11.89 kB / 0.5563 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/0.4552, allocations: 2.807 MB / 0.5591 GB, free: 252 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/0.468, allocations: 4.558 MB / 0.5635 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004439/0.4685, allocations: 374 kB / 0.5639 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002581/0.4711, allocations: 0.4918 MB / 0.5643 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03728/0.5084, allocations: 15.69 MB / 0.5797 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003227/0.5088, allocations: 67.45 kB / 0.5797 GB, free: 9.984 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/0.5105, allocations: 235.8 kB / 0.58 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005549/0.5161, allocations: 3.001 MB / 0.5829 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0303/0.5464, allocations: 13.42 MB / 0.596 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3498/0.8963, allocations: 60.81 MB / 0.6554 GB, free: 85.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02012/0.9164, allocations: 7.611 MB / 0.6628 GB, free: 84.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006615/0.9231, allocations: 4.161 MB / 0.6669 GB, free: 82.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02012/0.9433, allocations: 9.838 MB / 0.6765 GB, free: 78.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.9434, allocations: 68.47 kB / 0.6765 GB, free: 78.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=273): time 5.851e-06/0.9434, allocations: 224 / 0.6765 GB, free: 78.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=315): time 0.0814/1.025, allocations: 34.33 MB / 0.7101 GB, free: 57.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/1.025, allocations: 247.5 kB / 0.7103 GB, free: 57.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00834/1.033, allocations: 6.889 MB / 0.717 GB, free: 50.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008/1.034, allocations: 69.7 kB / 0.7171 GB, free: 50.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.036, allocations: 4.63 MB / 0.7216 GB, free: 45.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.038, allocations: 1.193 MB / 0.7228 GB, free: 44.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00232/1.04, allocations: 1.88 MB / 0.7246 GB, free: 42.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.184e-05/1.04, allocations: 305.1 kB / 0.7249 GB, free: 42.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004894/1.045, allocations: 3.902 MB / 0.7287 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007334/1.052, allocations: 9.074 MB / 0.7376 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/1.068, allocations: 13.93 MB / 0.7512 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002235/1.068, allocations: 51.94 kB / 0.7512 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03138/1.1, allocations: 14.82 MB / 0.7657 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002682/1.1, allocations: 80 kB / 0.7658 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003264/1.101, allocations: 180 kB / 0.766 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006462/1.107, allocations: 2.269 MB / 0.7682 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00837/1.115, allocations: 2.172 MB / 0.7703 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02293/1.138, allocations: 14.23 MB / 0.7842 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01021/1.149, allocations: 0.5422 MB / 0.7847 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/1.151, allocations: 0.5273 MB / 0.7852 GB, free: 7.227 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.007903/1.159, allocations: 3.163 MB / 0.7883 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00218/1.161, allocations: 0.5707 MB / 0.7889 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/1.179, allocations: 7.759 MB / 0.7965 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.57e-05/1.179, allocations: 32 kB / 0.7965 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.167e-05/1.18, allocations: 15.98 kB / 0.7965 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.577e-05/1.18, allocations: 15.89 kB / 0.7965 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0433/1.223, allocations: 16.07 MB / 0.8122 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-05/1.223, allocations: 4 kB / 0.8122 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003155/1.226, allocations: 0.5582 MB / 0.8128 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005775/1.232, allocations: 2.018 MB / 0.8147 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007893/1.233, allocations: 67.98 kB / 0.8148 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0198/1.253, allocations: 13.58 MB / 0.8281 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.253, allocations: 7.938 kB / 0.8281 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02509/1.278, allocations: 12.35 MB / 0.8401 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004948/1.283, allocations: 1.184 MB / 0.8413 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002286/1.285, allocations: 67.75 kB / 0.8413 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004319/1.289, allocations: 223.7 kB / 0.8416 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/1.291, allocations: 197.9 kB / 0.8417 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007637/1.291, allocations: 84 kB / 0.8418 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00989/1.301, allocations: 4.414 MB / 0.8461 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.72e-07/1.301, allocations: 0 / 0.8461 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01051/1.312, allocations: 1.702 MB / 0.8478 GB, free: 6.637 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.001433/1.313, allocations: 204 kB / 0.848 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01681/1.33, allocations: 9.449 MB / 0.8572 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.33, allocations: 0 / 0.8572 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008458/1.339, allocations: 3.739 MB / 0.8609 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007797/1.347, allocations: 0.7515 MB / 0.8616 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.293/1.64, 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.009748/1.649, allocations: 4.796 MB / 0.8818 GB, free: 210.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009688/1.659, allocations: 2.942 MB / 0.8847 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002606/1.662, allocations: 411.3 kB / 0.8851 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.573e-06/1.662, allocations: 1.312 kB / 0.8851 GB, free: 210.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.1139/1.776, allocations: 66.05 MB / 0.9496 GB, free: 167 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)