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.001007/0.001012, 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.008797/0.008797, allocations: 170 kB / 16.26 MB, free: 6.613 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.839/1.839, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3736/0.3736, allocations: 39.99 MB / 310.7 MB, free: 9.879 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.0005476/0.0005477, allocations: 20 kB / 379.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 57.96 MB / 437.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.2197/0.3396, allocations: 33.84 MB / 471.3 MB, free: 32.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.357, allocations: 7.89 MB / 479.1 MB, free: 29.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006103/0.3631, allocations: 153.9 kB / 479.3 MB, free: 29.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.3646, allocations: 376.8 kB / 479.7 MB, free: 29.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.3686, allocations: 1.603 MB / 481.3 MB, free: 28.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.37, allocations: 0.6279 MB / 481.9 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005052/0.375, allocations: 5.447 MB / 487.3 MB, free: 26.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.3785, allocations: 3.321 MB / 490.7 MB, free: 25.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.3799, allocations: 1.028 MB / 491.7 MB, free: 24.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.3818, allocations: 1.814 MB / 493.5 MB, free: 24.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003425/0.3822, allocations: 123.3 kB / 493.6 MB, free: 24.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.3837, allocations: 1.104 MB / 494.7 MB, free: 24.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.3855, allocations: 1.533 MB / 496.3 MB, free: 23.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002451/0.3879, allocations: 1.754 MB / 498 MB, free: 22.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009026/0.397, allocations: 5.789 MB / 0.492 GB, free: 20.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.397, allocations: 1.188 kB / 0.492 GB, free: 20.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.397, allocations: 0 / 0.492 GB, free: 20.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001959/0.3972, allocations: 4 kB / 0.492 GB, free: 20.81 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.01049/0.4077, allocations: 3.486 MB / 0.4954 GB, free: 18.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.4078, allocations: 10.75 kB / 0.4954 GB, free: 18.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0178/0.4256, allocations: 2.494 MB / 0.4979 GB, free: 17.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006882/0.4325, allocations: 2.452 MB / 0.5002 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/0.4328, allocations: 194.6 kB / 0.5004 GB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.4342, allocations: 282.1 kB / 0.5007 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.4505, allocations: 8.596 MB / 0.5091 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.4507, allocations: 45.47 kB / 0.5091 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004283/0.4511, allocations: 122.4 kB / 0.5093 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002805/0.454, allocations: 1.732 MB / 0.5109 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.4682, allocations: 7.313 MB / 0.5181 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04532/0.5136, allocations: 34.18 MB / 0.5515 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008845/0.5225, allocations: 3.537 MB / 0.5549 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002679/0.5252, allocations: 1.715 MB / 0.5566 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01311/0.5384, allocations: 7.428 MB / 0.5639 GB, free: 4.051 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.5385, allocations: 59.5 kB / 0.5639 GB, free: 3.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=151): time 6.061e-06/0.5385, allocations: 0 / 0.5639 GB, free: 3.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=188): time 0.06949/0.608, allocations: 19.98 MB / 0.5834 GB, free: 15.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.6081, allocations: 197.2 kB / 0.5836 GB, free: 15.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008077/0.6162, allocations: 3.754 MB / 0.5873 GB, free: 11.85 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004761/0.6167, allocations: 53.7 kB / 0.5873 GB, free: 11.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002722/0.6195, allocations: 2.806 MB / 0.5901 GB, free: 8.945 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.6207, allocations: 0.7134 MB / 0.5908 GB, free: 8.223 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.622, allocations: 0.5149 MB / 0.5913 GB, free: 7.699 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.6222, allocations: 301.1 kB / 0.5916 GB, free: 7.402 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00425/0.6264, allocations: 2.198 MB / 0.5937 GB, free: 5.199 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007566/0.634, allocations: 5.77 MB / 0.5993 GB, free: 13.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/0.6475, allocations: 8.595 MB / 0.6077 GB, free: 3.305 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/0.6477, allocations: 36 kB / 0.6078 GB, free: 3.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.0215/0.6692, allocations: 9.215 MB / 0.6168 GB, free: 10.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.6694, allocations: 60 kB / 0.6168 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/0.6696, allocations: 124 kB / 0.6169 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006304/0.6759, allocations: 1.688 MB / 0.6186 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004743/0.6807, allocations: 1.318 MB / 0.6199 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2542/0.9349, allocations: 9.316 MB / 0.629 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/0.9395, allocations: 314 kB / 0.6293 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/0.9407, allocations: 366.7 kB / 0.6296 GB, free: 140 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.003947/0.9446, allocations: 1.896 MB / 0.6315 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006341/0.9453, allocations: 330.4 kB / 0.6318 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009553/0.9548, allocations: 4.17 MB / 0.6359 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.18e-05/0.9549, allocations: 20.03 kB / 0.6359 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.955, allocations: 9.781 kB / 0.6359 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/0.955, allocations: 12.38 kB / 0.6359 GB, free: 139.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.9726, allocations: 8.579 MB / 0.6443 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/0.9726, allocations: 0 / 0.6443 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.9739, allocations: 249.7 kB / 0.6445 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005323/0.9793, allocations: 1.46 MB / 0.6459 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/0.9795, allocations: 39.08 kB / 0.646 GB, free: 136.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.9911, allocations: 8.607 MB / 0.6544 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9911, allocations: 4.844 kB / 0.6544 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.004, allocations: 6.758 MB / 0.661 GB, free: 130.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.006, allocations: 0.6329 MB / 0.6616 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005027/1.007, allocations: 32.94 kB / 0.6616 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.008, allocations: 90.83 kB / 0.6617 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/1.008, allocations: 112 kB / 0.6618 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.009, allocations: 54.2 kB / 0.6619 GB, free: 130.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004311/1.013, allocations: 2.329 MB / 0.6642 GB, free: 129.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.032e-06/1.013, allocations: 1.5 kB / 0.6642 GB, free: 129.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00574/1.019, allocations: 1.006 MB / 0.6651 GB, free: 129.3 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.000633/1.019, allocations: 161.5 kB / 0.6653 GB, free: 129.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01023/1.03, allocations: 5.404 MB / 0.6706 GB, free: 127.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/1.03, allocations: 1.188 kB / 0.6706 GB, free: 127.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00264/1.032, allocations: 1.806 MB / 0.6723 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/1.035, allocations: 377.1 kB / 0.6727 GB, free: 126.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.051, allocations: 10.44 MB / 0.6829 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/1.055, allocations: 2.978 MB / 0.6858 GB, free: 119.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004787/1.059, allocations: 1.808 MB / 0.6876 GB, free: 119.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/1.06, allocations: 222.5 kB / 0.6878 GB, free: 119.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.442e-06/1.06, allocations: 0 / 0.6878 GB, free: 119.2 MB / 494.1 MB Notification: Performance of Templates: time 0.06276/1.123, allocations: 37.2 MB / 0.7241 GB, free: 82.44 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: