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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001898/0.001898, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.449/1.449, allocations: 205.1 MB / 222 MB, free: 5 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.3128/0.3128, allocations: 37.98 MB / 307.3 MB, free: 9.867 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.001426/0.001426, allocations: 59.92 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1269, allocations: 56.48 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2433/0.3702, allocations: 34.84 MB / 465.9 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02049/0.3907, allocations: 7.962 MB / 473.8 MB, free: 31.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01059/0.4014, allocations: 147.5 kB / 474 MB, free: 31.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004509/0.406, allocations: 2.049 MB / 476 MB, free: 30.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005575/0.4116, allocations: 1.591 MB / 477.6 MB, free: 29.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.4135, allocations: 0.6313 MB / 478.2 MB, free: 29.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007456/0.4209, allocations: 5.451 MB / 483.7 MB, free: 28.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/0.4245, allocations: 2.586 MB / 486.3 MB, free: 27.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.4264, allocations: 1.18 MB / 487.5 MB, free: 26.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.429, allocations: 1.989 MB / 489.4 MB, free: 26.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005693/0.4296, allocations: 191 kB / 489.6 MB, free: 26.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.4319, allocations: 1.165 MB / 490.8 MB, free: 25.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.4333, allocations: 1.615 MB / 492.4 MB, free: 25.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.4355, allocations: 1.851 MB / 494.3 MB, free: 24.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009535/0.4451, allocations: 5.927 MB / 0.4885 GB, free: 21.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4451, allocations: 0 / 0.4885 GB, free: 21.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4452, allocations: 0.8125 kB / 0.4885 GB, free: 21.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002422/0.4454, allocations: 0 / 0.4885 GB, free: 21.96 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.01432/0.4597, allocations: 4.233 MB / 0.4926 GB, free: 19.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.4598, allocations: 10.16 kB / 0.4926 GB, free: 19.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.4755, allocations: 2.429 MB / 0.495 GB, free: 19.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008028/0.4836, allocations: 2.448 MB / 0.4974 GB, free: 17.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/0.4839, allocations: 198.5 kB / 0.4976 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002278/0.4862, allocations: 271.2 kB / 0.4978 GB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02429/0.5105, allocations: 8.581 MB / 0.5062 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.5107, allocations: 42.12 kB / 0.5062 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004442/0.5112, allocations: 126.1 kB / 0.5064 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002952/0.5142, allocations: 1.739 MB / 0.5081 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01371/0.5279, allocations: 7.278 MB / 0.5152 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04776/0.5757, allocations: 34.18 MB / 0.5486 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008826/0.5846, allocations: 3.48 MB / 0.5519 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002483/0.5871, allocations: 1.726 MB / 0.5536 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.5998, allocations: 7.423 MB / 0.5609 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.5999, allocations: 51.5 kB / 0.5609 GB, free: 6.027 MB / 430.1 MB Notification: Performance of pre-optimization done (n=151): time 5.651e-06/0.5999, allocations: 0 / 0.5609 GB, free: 6.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.06342/0.6633, allocations: 19.62 MB / 0.5801 GB, free: 2.242 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.6634, allocations: 205.2 kB / 0.5803 GB, free: 2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005468/0.6689, allocations: 3.746 MB / 0.5839 GB, free: 14.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004479/0.6694, allocations: 53.7 kB / 0.584 GB, free: 14.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002055/0.6715, allocations: 2.806 MB / 0.5867 GB, free: 11.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009101/0.6724, allocations: 0.7173 MB / 0.5874 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.674, allocations: 1.206 MB / 0.5886 GB, free: 9.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.6741, allocations: 301.1 kB / 0.5889 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003128/0.6772, allocations: 2.198 MB / 0.5911 GB, free: 6.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005775/0.683, allocations: 5.762 MB / 0.5967 GB, free: 15.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.6931, allocations: 8.591 MB / 0.6051 GB, free: 5.027 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/0.6932, allocations: 36 kB / 0.6051 GB, free: 4.992 MB / 478.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02105/0.7143, allocations: 9.181 MB / 0.6141 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.7145, allocations: 60 kB / 0.6141 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/0.7147, allocations: 124 kB / 0.6142 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005764/0.7204, allocations: 1.66 MB / 0.6159 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004508/0.725, allocations: 1.322 MB / 0.6172 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2517/0.9767, allocations: 9.251 MB / 0.6262 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005087/0.9818, allocations: 310.3 kB / 0.6265 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008288/0.9827, allocations: 358.1 kB / 0.6268 GB, free: 145.1 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.003302/0.986, allocations: 1.908 MB / 0.6287 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000678/0.9867, allocations: 329.9 kB / 0.629 GB, free: 145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008169/0.9948, allocations: 4.136 MB / 0.633 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.121e-05/0.9949, allocations: 19.75 kB / 0.6331 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/0.9949, allocations: 9.781 kB / 0.6331 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/0.995, allocations: 6.656 kB / 0.6331 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.01, allocations: 8.547 MB / 0.6414 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/1.01, allocations: 0 / 0.6414 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.011, allocations: 248 kB / 0.6417 GB, free: 141.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004587/1.016, allocations: 1.429 MB / 0.6431 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/1.016, allocations: 31.95 kB / 0.6431 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009891/1.026, allocations: 8.553 MB / 0.6514 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.026, allocations: 3.062 kB / 0.6514 GB, free: 137.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.038, allocations: 6.72 MB / 0.658 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001839/1.04, allocations: 0.6239 MB / 0.6586 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000659/1.04, allocations: 31.31 kB / 0.6586 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.042, allocations: 90.53 kB / 0.6587 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004218/1.042, allocations: 108.4 kB / 0.6588 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.042, allocations: 53.5 kB / 0.6589 GB, free: 134.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004482/1.047, allocations: 2.33 MB / 0.6612 GB, free: 133.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.047, allocations: 0 / 0.6612 GB, free: 133.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007515/1.054, allocations: 0.9946 MB / 0.6621 GB, free: 133.5 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.0008571/1.055, allocations: 175.3 kB / 0.6623 GB, free: 133.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01077/1.066, allocations: 5.403 MB / 0.6676 GB, free: 131.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/1.066, allocations: 1.188 kB / 0.6676 GB, free: 131.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002672/1.069, allocations: 1.8 MB / 0.6693 GB, free: 130.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.071, allocations: 364.9 kB / 0.6697 GB, free: 130.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.086, allocations: 10.38 MB / 0.6798 GB, free: 125.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002846/1.089, allocations: 2.971 MB / 0.6827 GB, free: 124.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004158/1.093, allocations: 1.81 MB / 0.6845 GB, free: 124 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/1.094, allocations: 226 kB / 0.6847 GB, free: 124 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/1.094, allocations: 0 / 0.6847 GB, free: 124 MB / 494.1 MB Notification: Performance of Templates: time 0.0604/1.154, allocations: 37.69 MB / 0.7215 GB, free: 88.06 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)