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.001243/0.001243, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001581/0.00158, allocations: 194.6 kB / 16.25 MB, free: 6.617 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.723/1.723, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.4179/0.4179, allocations: 39.93 MB / 309.4 MB, free: 9.336 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.00155/0.00155, allocations: 63.89 kB / 377.1 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.134, allocations: 56.88 MB / 434 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.2976/0.4317, allocations: 90.05 MB / 0.5118 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04834/0.4801, allocations: 17.1 MB / 0.5285 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02124/0.5014, allocations: 390.3 kB / 0.5288 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.5123, allocations: 4.867 MB / 0.5336 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.5239, allocations: 2.481 MB / 0.536 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003557/0.5275, allocations: 1.049 MB / 0.537 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0135/0.541, allocations: 7.026 MB / 0.5439 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00976/0.5508, allocations: 6.218 MB / 0.55 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005556/0.5564, allocations: 2.578 MB / 0.5525 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00597/0.5624, allocations: 3.825 MB / 0.5562 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.5643, allocations: 0.5391 MB / 0.5567 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004037/0.5684, allocations: 1.444 MB / 0.5582 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004771/0.5732, allocations: 3.226 MB / 0.5613 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006257/0.5795, allocations: 3.624 MB / 0.5648 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.5921, allocations: 10.86 MB / 0.5755 GB, free: 7.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5922, allocations: 0 / 0.5755 GB, free: 7.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5922, allocations: 3.938 kB / 0.5755 GB, free: 7.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003559/0.5925, allocations: 0 / 0.5755 GB, free: 7.828 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.01991/0.6125, allocations: 7.781 MB / 0.5831 GB, free: 15.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/0.6126, allocations: 15.89 kB / 0.5831 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/0.6265, allocations: 2.807 MB / 0.5858 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01026/0.6368, allocations: 4.472 MB / 0.5902 GB, free: 8.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006901/0.6376, allocations: 382.2 kB / 0.5905 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003345/0.6409, allocations: 0.4956 MB / 0.591 GB, free: 7.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03344/0.6744, allocations: 15.69 MB / 0.6063 GB, free: 7.008 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/0.6746, allocations: 63.38 kB / 0.6064 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008112/0.6755, allocations: 239.8 kB / 0.6066 GB, free: 6.711 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004995/0.6805, allocations: 3.016 MB / 0.6096 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/0.7088, allocations: 13.42 MB / 0.6227 GB, free: 6.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3001/1.009, allocations: 61.07 MB / 0.6823 GB, free: 103.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01838/1.027, allocations: 7.618 MB / 0.6898 GB, free: 100.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005572/1.033, allocations: 4.163 MB / 0.6938 GB, free: 99.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01698/1.05, allocations: 9.843 MB / 0.7034 GB, free: 94.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.05, allocations: 70.33 kB / 0.7035 GB, free: 94.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 4.839e-06/1.05, allocations: 0 / 0.7035 GB, free: 94.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.07822/1.128, allocations: 34.33 MB / 0.737 GB, free: 69.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/1.128, allocations: 243.9 kB / 0.7373 GB, free: 69.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008315/1.137, allocations: 6.889 MB / 0.744 GB, free: 62.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009124/1.138, allocations: 73.7 kB / 0.7441 GB, free: 62.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002333/1.14, allocations: 4.633 MB / 0.7486 GB, free: 57.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001378/1.141, allocations: 1.194 MB / 0.7498 GB, free: 56.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00225/1.144, allocations: 1.88 MB / 0.7516 GB, free: 54.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.627e-05/1.144, allocations: 305.1 kB / 0.7519 GB, free: 54.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004543/1.148, allocations: 3.902 MB / 0.7557 GB, free: 50.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006473/1.155, allocations: 9.075 MB / 0.7646 GB, free: 38.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.167, allocations: 13.92 MB / 0.7782 GB, free: 22.44 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/1.167, allocations: 52 kB / 0.7782 GB, free: 22.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02524/1.192, allocations: 14.81 MB / 0.7927 GB, free: 7.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.192, allocations: 83.94 kB / 0.7928 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000165/1.193, allocations: 184.1 kB / 0.7929 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/1.198, allocations: 2.272 MB / 0.7951 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006735/1.204, allocations: 2.168 MB / 0.7973 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/1.221, allocations: 14.25 MB / 0.8112 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007657/1.229, allocations: 0.5383 MB / 0.8117 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.231, allocations: 0.5351 MB / 0.8122 GB, free: 3.25 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.006262/1.237, allocations: 3.144 MB / 0.8153 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1896/1.427, allocations: 0.5847 MB / 0.8159 GB, free: 147.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.44, allocations: 7.763 MB / 0.8234 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.251e-05/1.44, allocations: 37.66 kB / 0.8235 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-05/1.44, allocations: 6.438 kB / 0.8235 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.263e-05/1.44, allocations: 16.14 kB / 0.8235 GB, free: 147 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02785/1.468, allocations: 16.25 MB / 0.8394 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/1.468, allocations: 6.156 kB / 0.8394 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/1.47, allocations: 0.5582 MB / 0.8399 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004921/1.475, allocations: 2.029 MB / 0.8419 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000615/1.476, allocations: 54.84 kB / 0.842 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/1.495, allocations: 13.54 MB / 0.8552 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.495, allocations: 5.875 kB / 0.8552 GB, free: 134.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01966/1.515, allocations: 12.34 MB / 0.8672 GB, free: 129.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003142/1.518, allocations: 1.185 MB / 0.8684 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/1.519, allocations: 62.97 kB / 0.8685 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003719/1.523, allocations: 227.5 kB / 0.8687 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009743/1.524, allocations: 201.9 kB / 0.8689 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/1.524, allocations: 78.56 kB / 0.8689 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.01043/1.535, allocations: 4.418 MB / 0.8733 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.202e-06/1.535, allocations: 0 / 0.8733 GB, free: 127.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01164/1.547, allocations: 1.7 MB / 0.8749 GB, free: 127.6 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.001165/1.548, allocations: 207.8 kB / 0.8751 GB, free: 127.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01692/1.565, allocations: 11.55 MB / 0.8864 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.565, allocations: 3.812 kB / 0.8864 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005904/1.571, allocations: 3.855 MB / 0.8902 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006711/1.577, allocations: 0.7578 MB / 0.8909 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/1.609, allocations: 19.05 MB / 0.9095 GB, free: 94.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007258/1.616, allocations: 4.796 MB / 0.9142 GB, free: 89.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007946/1.624, allocations: 2.938 MB / 0.9171 GB, free: 86.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00208/1.626, allocations: 415.3 kB / 0.9174 GB, free: 86.59 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/1.626, allocations: 0 / 0.9174 GB, free: 86.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.1062/1.732, allocations: 70.99 MB / 0.9868 GB, free: 15.7 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)