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.0007521/0.0007524, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005227/0.005227, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.357/1.357, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.2951/0.2951, allocations: 38.03 MB / 308.8 MB, free: 10.28 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.0005406/0.0005405, allocations: 16 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.118, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2442/0.3622, allocations: 33.84 MB / 468.4 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.3791, allocations: 7.897 MB / 476.3 MB, free: 31.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007059/0.3862, allocations: 150.5 kB / 476.4 MB, free: 31.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.3875, allocations: 380 kB / 476.8 MB, free: 31.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.3918, allocations: 1.594 MB / 478.4 MB, free: 31.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.3934, allocations: 0.6357 MB / 479 MB, free: 30.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005629/0.399, allocations: 5.453 MB / 484.5 MB, free: 29.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003926/0.403, allocations: 3.316 MB / 487.8 MB, free: 28.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.4047, allocations: 1.026 MB / 488.8 MB, free: 27.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.4069, allocations: 1.811 MB / 490.7 MB, free: 27.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003431/0.4073, allocations: 125.4 kB / 490.8 MB, free: 27.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.4091, allocations: 1.109 MB / 491.9 MB, free: 26.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.4105, allocations: 1.531 MB / 493.4 MB, free: 26.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.4118, allocations: 1.759 MB / 495.2 MB, free: 25.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008799/0.4206, allocations: 5.782 MB / 0.4892 GB, free: 23.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4207, allocations: 1.219 kB / 0.4892 GB, free: 23.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4207, allocations: 4 kB / 0.4892 GB, free: 23.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002237/0.4209, allocations: 0 / 0.4892 GB, free: 23.54 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.0115/0.4324, allocations: 3.491 MB / 0.4926 GB, free: 21.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4325, allocations: 10.36 kB / 0.4926 GB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.4495, allocations: 2.493 MB / 0.4951 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007501/0.4571, allocations: 2.448 MB / 0.4975 GB, free: 19.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.4573, allocations: 197.7 kB / 0.4977 GB, free: 19.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008743/0.4582, allocations: 275.6 kB / 0.4979 GB, free: 19.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.4732, allocations: 8.605 MB / 0.5063 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.4734, allocations: 36 kB / 0.5064 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.4738, allocations: 126.4 kB / 0.5065 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00272/0.4765, allocations: 1.743 MB / 0.5082 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.4903, allocations: 7.301 MB / 0.5153 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03735/0.5277, allocations: 34.19 MB / 0.5487 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008483/0.5362, allocations: 3.526 MB / 0.5521 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.5384, allocations: 1.732 MB / 0.5538 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/0.5493, allocations: 7.428 MB / 0.5611 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.5494, allocations: 51.5 kB / 0.5611 GB, free: 8.312 MB / 430.1 MB Notification: Performance of pre-optimization done (n=151): time 3.347e-06/0.5494, allocations: 0 / 0.5611 GB, free: 8.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.06252/0.6119, allocations: 19.98 MB / 0.5806 GB, free: 4.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6121, allocations: 201.2 kB / 0.5808 GB, free: 3.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/0.6176, allocations: 3.758 MB / 0.5845 GB, free: 176 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003544/0.618, allocations: 57.64 kB / 0.5846 GB, free: 112 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.6199, allocations: 2.803 MB / 0.5873 GB, free: 13.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008986/0.6208, allocations: 0.7134 MB / 0.588 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006415/0.6215, allocations: 0.511 MB / 0.5885 GB, free: 12.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.6216, allocations: 301.1 kB / 0.5888 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/0.6248, allocations: 2.206 MB / 0.5909 GB, free: 9.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00524/0.6301, allocations: 5.766 MB / 0.5966 GB, free: 1.977 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009396/0.6395, allocations: 8.591 MB / 0.605 GB, free: 7.625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.059e-05/0.6396, allocations: 36 kB / 0.605 GB, free: 7.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02008/0.6597, allocations: 9.211 MB / 0.614 GB, free: 14.37 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.6599, allocations: 56.22 kB / 0.614 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/0.6601, allocations: 132 kB / 0.6142 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006128/0.6662, allocations: 1.687 MB / 0.6158 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00469/0.6709, allocations: 1.326 MB / 0.6171 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/0.6854, allocations: 9.318 MB / 0.6262 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/0.69, allocations: 311.5 kB / 0.6265 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009475/0.691, allocations: 368 kB / 0.6269 GB, free: 1.051 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.2115/0.9025, allocations: 1.897 MB / 0.6287 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007596/0.9033, allocations: 327.3 kB / 0.629 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.9144, allocations: 4.167 MB / 0.6331 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-05/0.9145, allocations: 19.19 kB / 0.6331 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.068e-05/0.9145, allocations: 16.94 kB / 0.6331 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.124e-05/0.9146, allocations: 6.891 kB / 0.6331 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02691/0.9415, allocations: 8.567 MB / 0.6415 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.62e-05/0.9415, allocations: 3.125 kB / 0.6415 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/0.9433, allocations: 244 kB / 0.6417 GB, free: 143.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007341/0.9507, allocations: 1.469 MB / 0.6432 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/0.951, allocations: 33.83 kB / 0.6432 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.9682, allocations: 8.618 MB / 0.6516 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.9682, allocations: 3.938 kB / 0.6516 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/0.9845, allocations: 6.751 MB / 0.6582 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002258/0.9868, allocations: 0.6375 MB / 0.6588 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/0.9879, allocations: 30.84 kB / 0.6589 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/0.9901, allocations: 88.8 kB / 0.659 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004589/0.9906, allocations: 115.7 kB / 0.6591 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/0.9908, allocations: 50.55 kB / 0.6591 GB, free: 136.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004962/0.9957, allocations: 2.329 MB / 0.6614 GB, free: 135.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9957, allocations: 0 / 0.6614 GB, free: 135.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006678/1.002, allocations: 1.005 MB / 0.6624 GB, free: 135.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.0005673/1.003, allocations: 170.2 kB / 0.6625 GB, free: 135.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01089/1.014, allocations: 5.404 MB / 0.6678 GB, free: 133.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.014, allocations: 0 / 0.6678 GB, free: 133.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003047/1.017, allocations: 1.808 MB / 0.6696 GB, free: 132.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004288/1.021, allocations: 368.6 kB / 0.6699 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.04, allocations: 10.45 MB / 0.6801 GB, free: 127.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004403/1.044, allocations: 2.977 MB / 0.683 GB, free: 126.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004129/1.049, allocations: 1.805 MB / 0.6848 GB, free: 126 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/1.049, allocations: 226.8 kB / 0.685 GB, free: 126 MB / 494.1 MB Notification: Performance of SimCode: time 1.423e-06/1.049, allocations: 0 / 0.685 GB, free: 126 MB / 494.1 MB Notification: Performance of Templates: time 0.06413/1.113, allocations: 37.19 MB / 0.7213 GB, free: 89.87 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: