Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007835/0.007835, allocations: 103.3 kB / 15.73 MB, free: 5.996 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.001474/0.001474, allocations: 187.6 kB / 16.67 MB, free: 5.926 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.75/1.75, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.3484/0.3484, allocations: 39.94 MB / 309.8 MB, free: 9.453 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.001671/0.001671, allocations: 75.88 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3091, allocations: 56.88 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.009354/0.3185, allocations: 10.4 MB / 0.4913 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007992/0.3265, allocations: 3.876 MB / 0.4951 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.3291, allocations: 61.31 kB / 0.4951 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004973/0.3342, allocations: 2.069 MB / 0.4971 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004534/0.3387, allocations: 1.706 MB / 0.4988 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.3406, allocations: 0.6998 MB / 0.4995 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006053/0.3467, allocations: 3.794 MB / 0.5032 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.3502, allocations: 2.612 MB / 0.5057 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.3531, allocations: 1.312 MB / 0.507 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003304/0.3564, allocations: 1.862 MB / 0.5088 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001163/0.3576, allocations: 265 kB / 0.5091 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.3608, allocations: 1.182 MB / 0.5102 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.3629, allocations: 1.689 MB / 0.5119 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00343/0.3664, allocations: 1.908 MB / 0.5138 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008567/0.3749, allocations: 6.215 MB / 0.5198 GB, free: 8.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.375, allocations: 0 / 0.5198 GB, free: 8.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.375, allocations: 0 / 0.5198 GB, free: 8.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001969/0.3752, allocations: 4 kB / 0.5198 GB, free: 8.586 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01111/0.3863, allocations: 4.225 MB / 0.524 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.3864, allocations: 15.89 kB / 0.524 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.4037, allocations: 2.429 MB / 0.5263 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006822/0.4106, allocations: 2.48 MB / 0.5288 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.4108, allocations: 197.3 kB / 0.529 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007964/0.4116, allocations: 275.9 kB / 0.5292 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/0.4306, allocations: 8.572 MB / 0.5376 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002721/0.4309, allocations: 43.59 kB / 0.5376 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/0.4321, allocations: 131.8 kB / 0.5378 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003123/0.4352, allocations: 1.743 MB / 0.5395 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.4504, allocations: 7.28 MB / 0.5466 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05127/0.5017, allocations: 34.03 MB / 0.5798 GB, free: 9.312 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009109/0.5108, allocations: 3.49 MB / 0.5832 GB, free: 5.676 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.5133, allocations: 1.717 MB / 0.5849 GB, free: 3.949 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01414/0.5275, allocations: 7.435 MB / 0.5921 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.983e-05/0.5276, allocations: 47.55 kB / 0.5922 GB, free: 12.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 4.559e-06/0.5276, allocations: 0 / 0.5922 GB, free: 12.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.06848/0.5961, allocations: 19.63 MB / 0.6114 GB, free: 8.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.5962, allocations: 197.5 kB / 0.6116 GB, free: 8.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007463/0.6037, allocations: 3.75 MB / 0.6152 GB, free: 4.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004532/0.6042, allocations: 57.69 kB / 0.6153 GB, free: 4.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002642/0.6069, allocations: 2.806 MB / 0.618 GB, free: 1.496 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001362/0.6083, allocations: 0.7212 MB / 0.6187 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004206/0.6125, allocations: 1.194 MB / 0.6199 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6127, allocations: 305.1 kB / 0.6202 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004502/0.6172, allocations: 2.202 MB / 0.6223 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007275/0.6245, allocations: 5.758 MB / 0.6279 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2772/0.9018, allocations: 8.588 MB / 0.6363 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/0.9019, allocations: 35.03 kB / 0.6364 GB, free: 118.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02253/0.9244, allocations: 9.18 MB / 0.6453 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.9246, allocations: 59.69 kB / 0.6454 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002876/0.9249, allocations: 125.8 kB / 0.6455 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00694/0.9319, allocations: 1.664 MB / 0.6471 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/0.9371, allocations: 1.323 MB / 0.6484 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.9526, allocations: 9.913 MB / 0.6581 GB, free: 110.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/0.9577, allocations: 310.3 kB / 0.6584 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008359/0.9585, allocations: 360.2 kB / 0.6587 GB, free: 110.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002665/0.9612, allocations: 1.904 MB / 0.6606 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005492/0.9618, allocations: 335.8 kB / 0.6609 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008264/0.97, allocations: 4.131 MB / 0.665 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/0.9701, allocations: 19.66 kB / 0.665 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.9701, allocations: 8.75 kB / 0.665 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.9701, allocations: 8.312 kB / 0.665 GB, free: 108.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.9849, allocations: 8.499 MB / 0.6733 GB, free: 104 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.9849, allocations: 0 / 0.6733 GB, free: 104 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.986, allocations: 247.5 kB / 0.6735 GB, free: 104 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004716/0.9908, allocations: 1.437 MB / 0.6749 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.991, allocations: 36.55 kB / 0.675 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/1.002, allocations: 9.228 MB / 0.684 GB, free: 96.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.002, allocations: 0 / 0.684 GB, free: 96.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.012, allocations: 6.73 MB / 0.6906 GB, free: 89.47 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.014, allocations: 0.6217 MB / 0.6912 GB, free: 88.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/1.014, allocations: 32 kB / 0.6912 GB, free: 88.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.015, allocations: 83.89 kB / 0.6913 GB, free: 88.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/1.016, allocations: 113.2 kB / 0.6914 GB, free: 88.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.016, allocations: 51.98 kB / 0.6914 GB, free: 88.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002984/1.019, allocations: 2.336 MB / 0.6937 GB, free: 86.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.019, allocations: 0 / 0.6937 GB, free: 86.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004381/1.023, allocations: 1.002 MB / 0.6947 GB, free: 85.24 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0004249/1.024, allocations: 163 kB / 0.6948 GB, free: 85.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006226/1.03, allocations: 5.418 MB / 0.7001 GB, free: 79.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.03, allocations: 0 / 0.7001 GB, free: 79.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/1.032, allocations: 1.809 MB / 0.7019 GB, free: 77.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.034, allocations: 389.5 kB / 0.7023 GB, free: 77.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.045, allocations: 8.54 MB / 0.7106 GB, free: 68.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.047, allocations: 2.973 MB / 0.7135 GB, free: 65.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003178/1.051, allocations: 1.815 MB / 0.7153 GB, free: 64.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/1.051, allocations: 219.4 kB / 0.7155 GB, free: 63.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.193e-06/1.051, allocations: 7.938 kB / 0.7155 GB, free: 63.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.05988/1.111, allocations: 36.22 MB / 0.7509 GB, free: 27.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)