Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.395/1.395, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.3085/0.3085, allocations: 39.95 MB / 309.7 MB, free: 9.277 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.001618/0.001618, allocations: 67.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.01733/0.1221, allocations: 17.36 MB / 451.9 MB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.196/0.3182, allocations: 5.479 MB / 457.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004413/0.3227, allocations: 116.5 kB / 457.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006917/0.3297, allocations: 4.368 MB / 461.8 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005496/0.3352, allocations: 2.753 MB / 464.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.3375, allocations: 1.471 MB / 466 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006626/0.3441, allocations: 8.129 MB / 474.2 MB, free: 32.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004517/0.3486, allocations: 5.387 MB / 479.6 MB, free: 30.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.352, allocations: 2.685 MB / 482.2 MB, free: 29.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00481/0.3568, allocations: 3.829 MB / 486.1 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.3583, allocations: 0.5346 MB / 486.6 MB, free: 28.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/0.3617, allocations: 1.625 MB / 488.2 MB, free: 28.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003417/0.3651, allocations: 3.34 MB / 491.6 MB, free: 27.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004831/0.37, allocations: 3.654 MB / 495.2 MB, free: 24.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.3871, allocations: 10.88 MB / 0.4942 GB, free: 19.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3872, allocations: 1.188 kB / 0.4942 GB, free: 19.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3872, allocations: 0 / 0.4942 GB, free: 19.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000461/0.3877, allocations: 0 / 0.4942 GB, free: 19.39 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.0239/0.4116, allocations: 8.228 MB / 0.5023 GB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4116, allocations: 13.08 kB / 0.5023 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02918/0.4408, allocations: 3.672 MB / 0.5059 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.4549, allocations: 5.491 MB / 0.5112 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.4553, allocations: 369.9 kB / 0.5116 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003548/0.4588, allocations: 0.5155 MB / 0.5121 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03729/0.4961, allocations: 16.24 MB / 0.5279 GB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/0.4964, allocations: 79.27 kB / 0.528 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009291/0.4974, allocations: 234.5 kB / 0.5282 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00496/0.5023, allocations: 2.926 MB / 0.5311 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03405/0.5364, allocations: 13.68 MB / 0.5445 GB, free: 4.457 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/0.6397, allocations: 64.75 MB / 0.6077 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02395/0.6637, allocations: 7.84 MB / 0.6154 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00615/0.6698, allocations: 4.28 MB / 0.6195 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2514/0.9213, allocations: 19.28 MB / 0.6384 GB, free: 139.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.9214, allocations: 72.41 kB / 0.6384 GB, free: 139.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=284): time 5.991e-06/0.9214, allocations: 0 / 0.6384 GB, free: 139.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=366): time 0.1793/1.101, allocations: 51.93 MB / 0.6891 GB, free: 120 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/1.101, allocations: 269.8 kB / 0.6894 GB, free: 119.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009134/1.11, allocations: 6.102 MB / 0.6953 GB, free: 113.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001388/1.111, allocations: 81.7 kB / 0.6954 GB, free: 113.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002663/1.114, allocations: 4.672 MB / 0.7 GB, free: 108.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002132/1.116, allocations: 1.355 MB / 0.7013 GB, free: 107.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002676/1.119, allocations: 1.904 MB / 0.7032 GB, free: 105.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/1.119, allocations: 305.1 kB / 0.7035 GB, free: 105.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005112/1.124, allocations: 4.196 MB / 0.7076 GB, free: 101.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007305/1.132, allocations: 9.426 MB / 0.7168 GB, free: 89.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0145/1.146, allocations: 14.57 MB / 0.731 GB, free: 72.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/1.146, allocations: 52 kB / 0.731 GB, free: 71.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.0366/1.183, allocations: 17.55 MB / 0.7482 GB, free: 54.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.183, allocations: 87.94 kB / 0.7483 GB, free: 54.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/1.183, allocations: 180 kB / 0.7484 GB, free: 54.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01453/1.198, allocations: 4.591 MB / 0.7529 GB, free: 49.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007968/1.206, allocations: 2.117 MB / 0.755 GB, free: 47.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03215/1.238, allocations: 25.46 MB / 0.7799 GB, free: 21.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009696/1.248, allocations: 0.5227 MB / 0.7804 GB, free: 21.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002796/1.25, allocations: 0.5391 MB / 0.7809 GB, free: 20.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1130): * Single equations (assignments): 1125 * 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 {(1,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009669/1.26, allocations: 3.117 MB / 0.7839 GB, free: 17.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001963/1.262, allocations: 0.5682 MB / 0.7845 GB, free: 16.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02304/1.285, allocations: 10.71 MB / 0.795 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.497e-05/1.285, allocations: 36 kB / 0.795 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.366e-05/1.285, allocations: 16 kB / 0.795 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.292e-05/1.285, allocations: 19.94 kB / 0.795 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3611/1.647, allocations: 20.47 MB / 0.815 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.129e-05/1.647, allocations: 3.188 kB / 0.815 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/1.65, allocations: 0.53 MB / 0.8155 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01454/1.665, allocations: 4.245 MB / 0.8197 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001331/1.666, allocations: 64.78 kB / 0.8197 GB, free: 139.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03553/1.702, allocations: 23.12 MB / 0.8423 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.702, allocations: 9.375 kB / 0.8423 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0329/1.735, allocations: 15.59 MB / 0.8575 GB, free: 125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004716/1.739, allocations: 1.174 MB / 0.8587 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001526/1.741, allocations: 63.45 kB / 0.8588 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003376/1.744, allocations: 216.6 kB / 0.859 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009121/1.745, allocations: 220.4 kB / 0.8592 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002776/1.745, allocations: 104.4 kB / 0.8593 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005892/1.751, allocations: 3.809 MB / 0.863 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.11e-07/1.751, allocations: 0 / 0.863 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01115/1.763, allocations: 1.928 MB / 0.8649 GB, free: 123.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (266): * Single equations (assignments): 261 * 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 {(2,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008108/1.763, allocations: 214.4 kB / 0.8651 GB, free: 122.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02491/1.788, allocations: 15.15 MB / 0.8799 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.788, allocations: 4 kB / 0.8799 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00585/1.794, allocations: 4.076 MB / 0.8839 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005809/1.8, allocations: 0.7713 MB / 0.8846 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03411/1.834, allocations: 16.41 MB / 0.9006 GB, free: 95.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006198/1.84, allocations: 4.867 MB / 0.9054 GB, free: 90.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00753/1.848, allocations: 2.781 MB / 0.9081 GB, free: 87.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/1.85, allocations: 379.4 kB / 0.9085 GB, free: 87.52 MB / 0.4981 GB Notification: Performance of SimCode: time 1.733e-06/1.85, allocations: 0 / 0.9085 GB, free: 87.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.151/2.001, allocations: 84.94 MB / 0.9914 GB, free: 2.656 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1)