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.000796/0.000796, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000931/0.0009313, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.322/0.322, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0005785/0.0005786, allocations: 16 kB / 376.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 57.51 MB / 434 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2447/0.369, allocations: 31.51 MB / 465.5 MB, free: 33.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01756/0.3866, allocations: 7.486 MB / 473 MB, free: 32.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008413/0.3951, allocations: 148.9 kB / 473.1 MB, free: 32.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.3992, allocations: 1.586 MB / 474.7 MB, free: 32.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.4108, allocations: 4.886 MB / 479.6 MB, free: 31.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.413, allocations: 0.5907 MB / 480.2 MB, free: 30.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02264/0.4357, allocations: 18.41 MB / 498.6 MB, free: 26.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005284/0.441, allocations: 3.002 MB / 0.4898 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.4436, allocations: 1.13 MB / 0.4909 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.4469, allocations: 1.791 MB / 0.4927 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005249/0.4474, allocations: 123.7 kB / 0.4928 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.4494, allocations: 0.9512 MB / 0.4937 GB, free: 24.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.4511, allocations: 1.504 MB / 0.4952 GB, free: 24.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008166/0.4519, allocations: 0.7246 MB / 0.4959 GB, free: 23.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004802/0.4567, allocations: 4.687 MB / 0.5005 GB, free: 20.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.4567, allocations: 0 / 0.5005 GB, free: 20.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4567, allocations: 0 / 0.5005 GB, free: 20.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001645/0.4569, allocations: 0 / 0.5005 GB, free: 20.74 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.007799/0.4647, allocations: 3.548 MB / 0.5039 GB, free: 18.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4648, allocations: 9.625 kB / 0.504 GB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.4773, allocations: 2.494 MB / 0.5064 GB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004724/0.4821, allocations: 2.395 MB / 0.5087 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.4822, allocations: 198.1 kB / 0.5089 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000496/0.4827, allocations: 278.2 kB / 0.5092 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.494, allocations: 8.583 MB / 0.5176 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/0.4941, allocations: 43.59 kB / 0.5176 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.4944, allocations: 123.9 kB / 0.5177 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002045/0.4964, allocations: 1.731 MB / 0.5194 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.508, allocations: 7.272 MB / 0.5265 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04369/0.5518, allocations: 34.19 MB / 0.5599 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008713/0.5605, allocations: 3.523 MB / 0.5633 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002609/0.5632, allocations: 1.713 MB / 0.565 GB, free: 4.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/0.5781, allocations: 7.428 MB / 0.5723 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.407e-05/0.5783, allocations: 59.5 kB / 0.5723 GB, free: 12.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 7.605e-06/0.5783, allocations: 0 / 0.5723 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.0631/0.6414, allocations: 19.96 MB / 0.5918 GB, free: 8.527 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.6416, allocations: 201.2 kB / 0.592 GB, free: 8.289 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007211/0.6488, allocations: 3.731 MB / 0.5957 GB, free: 4.566 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003967/0.6492, allocations: 49.7 kB / 0.5957 GB, free: 4.512 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00264/0.6519, allocations: 2.806 MB / 0.5984 GB, free: 1.664 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001139/0.653, allocations: 0.7212 MB / 0.5991 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005524/0.6536, allocations: 120 kB / 0.5993 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0005123/0.6541, allocations: 0.5581 MB / 0.5998 GB, free: 256 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003918/0.658, allocations: 2.179 MB / 0.6019 GB, free: 14.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007271/0.6653, allocations: 5.747 MB / 0.6075 GB, free: 6.539 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00543/0.6708, allocations: 3.452 MB / 0.6109 GB, free: 3.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.6709, allocations: 36 kB / 0.611 GB, free: 3.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01942/0.6903, allocations: 9.162 MB / 0.6199 GB, free: 9.883 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.6906, allocations: 63.12 kB / 0.62 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002335/0.6908, allocations: 124 kB / 0.6201 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005606/0.6964, allocations: 1.703 MB / 0.6217 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004479/0.7009, allocations: 1.326 MB / 0.623 GB, free: 6.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2457/0.9467, allocations: 9.303 MB / 0.6321 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/0.951, allocations: 314.7 kB / 0.6324 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006118/0.9517, allocations: 360 kB / 0.6328 GB, free: 139.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003065/0.9547, allocations: 1.902 MB / 0.6346 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006482/0.9554, allocations: 335.8 kB / 0.6349 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008145/0.9635, allocations: 4.151 MB / 0.639 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/0.9636, allocations: 22.84 kB / 0.639 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.9636, allocations: 9.344 kB / 0.639 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.9636, allocations: 6.797 kB / 0.639 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.9791, allocations: 8.568 MB / 0.6474 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.9792, allocations: 0 / 0.6474 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.9803, allocations: 251.3 kB / 0.6476 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004642/0.9849, allocations: 1.46 MB / 0.6491 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002698/0.9852, allocations: 33.42 kB / 0.6491 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.9968, allocations: 8.608 MB / 0.6575 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.9969, allocations: 3.969 kB / 0.6575 GB, free: 131.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.009, allocations: 6.737 MB / 0.6641 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002041/1.011, allocations: 0.6301 MB / 0.6647 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009375/1.012, allocations: 30.81 kB / 0.6647 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/1.014, allocations: 90.42 kB / 0.6648 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003275/1.014, allocations: 110.5 kB / 0.6649 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.015, allocations: 49.88 kB / 0.665 GB, free: 128.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004314/1.019, allocations: 2.314 MB / 0.6672 GB, free: 128 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.373e-06/1.019, allocations: 0 / 0.6672 GB, free: 128 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006106/1.025, allocations: 1.006 MB / 0.6682 GB, free: 127.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004839/1.026, allocations: 158.9 kB / 0.6684 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009476/1.035, allocations: 5.387 MB / 0.6736 GB, free: 125.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.035, allocations: 0.7812 kB / 0.6736 GB, free: 125.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/1.038, allocations: 1.794 MB / 0.6754 GB, free: 125.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.041, allocations: 376.7 kB / 0.6757 GB, free: 124.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/1.059, allocations: 10.05 MB / 0.6855 GB, free: 120 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003294/1.062, allocations: 2.968 MB / 0.6884 GB, free: 118.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003992/1.066, allocations: 1.821 MB / 0.6902 GB, free: 118.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/1.067, allocations: 216.8 kB / 0.6904 GB, free: 118.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.683e-06/1.067, allocations: 0 / 0.6904 GB, free: 118.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05352/1.12, allocations: 36.45 MB / 0.726 GB, free: 86.34 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: