Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.436/1.436, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.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: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2754, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01868/0.2941, allocations: 17.34 MB / 342.7 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.307, allocations: 5.488 MB / 348.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005467/0.3126, allocations: 115.6 kB / 348.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009352/0.322, allocations: 4.368 MB / 352.6 MB, free: 8.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008307/0.3303, allocations: 2.758 MB / 355.4 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.3338, allocations: 1.459 MB / 356.8 MB, free: 4.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.346, allocations: 8.164 MB / 365 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008096/0.3541, allocations: 5.387 MB / 370.4 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005507/0.3596, allocations: 2.687 MB / 373.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006169/0.3658, allocations: 3.848 MB / 376.9 MB, free: 92 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001934/0.3678, allocations: 0.5391 MB / 377.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.3717, allocations: 1.619 MB / 379.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004003/0.3757, allocations: 3.355 MB / 382.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006227/0.382, allocations: 3.659 MB / 386.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01767/0.3997, allocations: 10.89 MB / 397 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3997, allocations: 0 / 397 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3998, allocations: 0 / 397 MB, free: 11.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004578/0.4002, allocations: 0 / 397 MB, free: 11.96 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02181/0.422, allocations: 8.245 MB / 405.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4221, allocations: 8.031 kB / 405.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02993/0.452, allocations: 3.673 MB / 408.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.4656, allocations: 5.501 MB / 414.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.466, allocations: 373.4 kB / 414.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/0.4676, allocations: 0.5112 MB / 415.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/0.4963, allocations: 16.24 MB / 431.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002205/0.4966, allocations: 83.2 kB / 431.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006669/0.4973, allocations: 235.8 kB / 431.8 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004773/0.502, allocations: 2.927 MB / 434.8 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03219/0.5343, allocations: 13.71 MB / 448.5 MB, free: 7.18 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2438/0.778, allocations: 64.84 MB / 0.5013 GB, free: 56.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02055/0.7986, allocations: 7.862 MB / 0.509 GB, free: 48.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004811/0.8035, allocations: 4.349 MB / 0.5132 GB, free: 43.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02354/0.8271, allocations: 19.37 MB / 0.5321 GB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.8271, allocations: 76.44 kB / 0.5322 GB, free: 24.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=290): time 5.07e-06/0.8272, allocations: 0 / 0.5322 GB, free: 24.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=372): time 0.1627/0.9899, allocations: 49.9 MB / 0.5809 GB, free: 6.035 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/0.9901, allocations: 273.8 kB / 0.5812 GB, free: 5.711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009072/0.9991, allocations: 6.095 MB / 0.5871 GB, free: 15.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009276/1, allocations: 81.7 kB / 0.5872 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004151/1.004, allocations: 4.681 MB / 0.5918 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00216/1.006, allocations: 1.376 MB / 0.5931 GB, free: 9.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00309/1.01, allocations: 1.901 MB / 0.595 GB, free: 7.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/1.01, allocations: 305.1 kB / 0.5953 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006602/1.016, allocations: 4.227 MB / 0.5994 GB, free: 2.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1869/1.203, allocations: 9.449 MB / 0.6086 GB, free: 136.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.017/1.22, allocations: 14.63 MB / 0.6229 GB, free: 125.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003385/1.221, allocations: 52.09 kB / 0.623 GB, free: 125.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03568/1.256, allocations: 17.56 MB / 0.6401 GB, free: 119.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.256, allocations: 84 kB / 0.6402 GB, free: 119.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001586/1.257, allocations: 180 kB / 0.6404 GB, free: 119 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01314/1.27, allocations: 4.56 MB / 0.6448 GB, free: 115.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007151/1.277, allocations: 2.129 MB / 0.6469 GB, free: 112.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02958/1.307, allocations: 25.37 MB / 0.6717 GB, free: 87.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007199/1.314, allocations: 0.5222 MB / 0.6722 GB, free: 86.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.315, allocations: 0.5407 MB / 0.6727 GB, free: 86.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1136): * Single equations (assignments): 1131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004883/1.32, allocations: 3.122 MB / 0.6758 GB, free: 83.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009539/1.321, allocations: 0.5722 MB / 0.6763 GB, free: 83.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/1.341, allocations: 10.71 MB / 0.6868 GB, free: 72.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.066e-05/1.341, allocations: 36 kB / 0.6868 GB, free: 72.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-05/1.341, allocations: 20 kB / 0.6868 GB, free: 72.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.486e-05/1.341, allocations: 19.92 kB / 0.6869 GB, free: 72.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03524/1.376, allocations: 20.52 MB / 0.7069 GB, free: 51.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/1.376, allocations: 4 kB / 0.7069 GB, free: 51.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/1.379, allocations: 0.5382 MB / 0.7074 GB, free: 51.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01265/1.392, allocations: 4.206 MB / 0.7115 GB, free: 47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006687/1.392, allocations: 63.98 kB / 0.7116 GB, free: 46.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02713/1.419, allocations: 23.14 MB / 0.7342 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.419, allocations: 4 kB / 0.7342 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02481/1.444, allocations: 15.62 MB / 0.7495 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003144/1.447, allocations: 1.181 MB / 0.7506 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009993/1.448, allocations: 56 kB / 0.7507 GB, free: 6.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.451, allocations: 215.7 kB / 0.7509 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007353/1.452, allocations: 226.2 kB / 0.7511 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/1.452, allocations: 95.98 kB / 0.7512 GB, free: 6.023 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004643/1.457, allocations: 3.816 MB / 0.7549 GB, free: 2.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.457, allocations: 0 / 0.7549 GB, free: 2.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007131/1.464, allocations: 1.928 MB / 0.7568 GB, free: 292 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (272): * Single equations (assignments): 267 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,43,100.0%), (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.0005639/1.465, allocations: 232.8 kB / 0.757 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1769/1.641, allocations: 15.43 MB / 0.7721 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.642, allocations: 0 / 0.7721 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005323/1.647, allocations: 4.111 MB / 0.7761 GB, free: 148.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/1.651, allocations: 0.7804 MB / 0.7769 GB, free: 148.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/1.677, allocations: 16.47 MB / 0.7929 GB, free: 135.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005462/1.682, allocations: 4.875 MB / 0.7977 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00649/1.689, allocations: 2.792 MB / 0.8004 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.69, allocations: 379.4 kB / 0.8008 GB, free: 129.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/1.69, allocations: 0.9844 kB / 0.8008 GB, free: 129.1 MB / 446.1 MB Notification: Performance of Templates: time 0.1135/1.803, allocations: 84.89 MB / 0.8837 GB, free: 44.19 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)