Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001411/0.001411, 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.002136/0.002136, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.465/1.465, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2806/0.2806, allocations: 37.97 MB / 307.4 MB, free: 10.07 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.1. 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.001479/0.00148, allocations: 82.45 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 56.46 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2291/0.3417, allocations: 34.84 MB / 466 MB, free: 34.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.3543, allocations: 7.852 MB / 473.9 MB, free: 32.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004451/0.3589, allocations: 149.9 kB / 474 MB, free: 32.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.3618, allocations: 1.99 MB / 476 MB, free: 31.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.3647, allocations: 1.584 MB / 477.6 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3659, allocations: 0.6576 MB / 478.3 MB, free: 30.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003221/0.3691, allocations: 3.944 MB / 482.2 MB, free: 28.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.3712, allocations: 2.77 MB / 485 MB, free: 27.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.3724, allocations: 1.345 MB / 486.3 MB, free: 27.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.3741, allocations: 2.068 MB / 488.4 MB, free: 26.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003314/0.3744, allocations: 269.4 kB / 488.7 MB, free: 26.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.3759, allocations: 1.195 MB / 489.9 MB, free: 26.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009902/0.3769, allocations: 1.694 MB / 491.6 MB, free: 25.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.3783, allocations: 1.924 MB / 493.5 MB, free: 24.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007123/0.3854, allocations: 6.045 MB / 499.5 MB, free: 22.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3854, allocations: 1.766 kB / 499.5 MB, free: 22.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3854, allocations: 0 / 499.5 MB, free: 22.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002338/0.3857, allocations: 0 / 499.5 MB, free: 22.02 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01204/0.3977, allocations: 4.226 MB / 0.4919 GB, free: 19.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.3978, allocations: 12.45 kB / 0.492 GB, free: 19.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01594/0.4138, allocations: 2.435 MB / 0.4943 GB, free: 19.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005787/0.4196, allocations: 2.446 MB / 0.4967 GB, free: 18.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.4197, allocations: 198.2 kB / 0.4969 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006306/0.4204, allocations: 274.7 kB / 0.4972 GB, free: 17.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.4319, allocations: 8.578 MB / 0.5056 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.929e-05/0.432, allocations: 45.02 kB / 0.5056 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003138/0.4324, allocations: 126.5 kB / 0.5057 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002436/0.4348, allocations: 1.74 MB / 0.5074 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.4452, allocations: 7.288 MB / 0.5145 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03265/0.4779, allocations: 34.17 MB / 0.5479 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008145/0.4861, allocations: 3.48 MB / 0.5513 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.4883, allocations: 1.715 MB / 0.553 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.4988, allocations: 7.435 MB / 0.5602 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.4988, allocations: 51.5 kB / 0.5603 GB, free: 6.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=151): time 4.478e-06/0.4988, allocations: 4 kB / 0.5603 GB, free: 6.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.06205/0.5609, allocations: 19.62 MB / 0.5795 GB, free: 2.992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.561, allocations: 205.2 kB / 0.5796 GB, free: 2.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/0.5656, allocations: 3.746 MB / 0.5833 GB, free: 15.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003313/0.5659, allocations: 53.98 kB / 0.5834 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.5676, allocations: 2.806 MB / 0.5861 GB, free: 12.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007572/0.5684, allocations: 0.7213 MB / 0.5868 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.5699, allocations: 1.198 MB / 0.588 GB, free: 10.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.57, allocations: 313.1 kB / 0.5883 GB, free: 9.855 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.5729, allocations: 2.194 MB / 0.5904 GB, free: 7.656 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004858/0.5778, allocations: 5.762 MB / 0.596 GB, free: 124 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009766/0.5876, allocations: 8.591 MB / 0.6044 GB, free: 5.773 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-05/0.5877, allocations: 36 kB / 0.6045 GB, free: 5.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01804/0.6058, allocations: 9.17 MB / 0.6134 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.6059, allocations: 60 kB / 0.6135 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/0.6061, allocations: 132.1 kB / 0.6136 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005919/0.612, allocations: 1.668 MB / 0.6152 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004652/0.6167, allocations: 1.314 MB / 0.6165 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2555/0.8723, allocations: 9.926 MB / 0.6262 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004798/0.8771, allocations: 309.9 kB / 0.6265 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/0.8784, allocations: 364.9 kB / 0.6269 GB, free: 145.6 MB / 494.1 MB 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.004678/0.8831, allocations: 1.895 MB / 0.6287 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007933/0.8839, allocations: 329.7 kB / 0.629 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008259/0.8922, allocations: 4.134 MB / 0.6331 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/0.8923, allocations: 22.09 kB / 0.6331 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.8923, allocations: 9.656 kB / 0.6331 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/0.8923, allocations: 12.02 kB / 0.6331 GB, free: 144.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.9077, allocations: 8.537 MB / 0.6414 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.9077, allocations: 0 / 0.6414 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.9089, allocations: 247.7 kB / 0.6417 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004787/0.9137, allocations: 1.44 MB / 0.6431 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/0.9141, allocations: 34.53 kB / 0.6431 GB, free: 141.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/0.9251, allocations: 9.222 MB / 0.6521 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9251, allocations: 5.078 kB / 0.6521 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.937, allocations: 6.719 MB / 0.6587 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/0.9388, allocations: 0.6222 MB / 0.6593 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/0.9393, allocations: 28.73 kB / 0.6593 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.9407, allocations: 89.39 kB / 0.6594 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/0.9412, allocations: 121.7 kB / 0.6595 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.9414, allocations: 52.14 kB / 0.6596 GB, free: 134.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004467/0.9458, allocations: 2.33 MB / 0.6618 GB, free: 133.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.9459, allocations: 1.312 kB / 0.6618 GB, free: 133.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00574/0.9516, allocations: 0.9962 MB / 0.6628 GB, free: 133.7 MB / 494.1 MB 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.0005337/0.9522, allocations: 164.3 kB / 0.663 GB, free: 133.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/0.9629, allocations: 6.337 MB / 0.6692 GB, free: 131.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.963, allocations: 3.891 kB / 0.6692 GB, free: 131.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/0.9653, allocations: 1.803 MB / 0.6709 GB, free: 131 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.9681, allocations: 384.6 kB / 0.6713 GB, free: 130.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.9827, allocations: 10.37 MB / 0.6814 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/0.9856, allocations: 2.967 MB / 0.6843 GB, free: 124.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00418/0.9898, allocations: 1.82 MB / 0.6861 GB, free: 123.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007047/0.9905, allocations: 221.4 kB / 0.6863 GB, free: 123.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.404e-05/0.9905, allocations: 0 / 0.6863 GB, free: 123.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05957/1.05, allocations: 39.1 MB / 0.7245 GB, free: 85.09 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1)