Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001675/0.001675, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.549/1.549, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.3636/0.3636, allocations: 37.98 MB / 307.4 MB, free: 10.1 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.001517/0.001517, allocations: 78.78 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1408, allocations: 56.46 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.291/0.4319, allocations: 63.95 MB / 495.1 MB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03213/0.4641, allocations: 13 MB / 0.4962 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01772/0.482, allocations: 284.7 kB / 0.4965 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008224/0.4902, allocations: 3.864 MB / 0.5003 GB, free: 6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00783/0.4981, allocations: 2.2 MB / 0.5024 GB, free: 5.004 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.5017, allocations: 1.099 MB / 0.5035 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.5133, allocations: 6.411 MB / 0.5098 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.5238, allocations: 4.937 MB / 0.5146 GB, free: 244 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006595/0.5305, allocations: 2.299 MB / 0.5168 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006401/0.5369, allocations: 3.356 MB / 0.5201 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002045/0.539, allocations: 457.5 kB / 0.5205 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00537/0.5444, allocations: 1.554 MB / 0.5221 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005141/0.5495, allocations: 2.753 MB / 0.5247 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008483/0.5581, allocations: 3.049 MB / 0.5277 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0182/0.5763, allocations: 9.242 MB / 0.5368 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.5764, allocations: 0 / 0.5368 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.5764, allocations: 0 / 0.5368 GB, free: 1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005424/0.577, allocations: 0 / 0.5368 GB, free: 1 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02263/0.5996, allocations: 6.763 MB / 0.5434 GB, free: 10.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/0.5997, allocations: 15.83 kB / 0.5434 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02637/0.6261, allocations: 3.304 MB / 0.5466 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.6376, allocations: 4.199 MB / 0.5507 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/0.6381, allocations: 312.5 kB / 0.551 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/0.6407, allocations: 427.5 kB / 0.5514 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03228/0.673, allocations: 13.81 MB / 0.5649 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003339/0.6734, allocations: 67.41 kB / 0.565 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001851/0.6753, allocations: 203.8 kB / 0.5652 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004448/0.6798, allocations: 2.527 MB / 0.5676 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0288/0.7086, allocations: 11.8 MB / 0.5791 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3455/1.054, allocations: 53.73 MB / 0.6316 GB, free: 134.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/1.07, allocations: 5.906 MB / 0.6374 GB, free: 133.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005058/1.075, allocations: 3.591 MB / 0.6409 GB, free: 133.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02001/1.095, allocations: 15.45 MB / 0.656 GB, free: 126.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/1.095, allocations: 58.38 kB / 0.656 GB, free: 126.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 6.522e-06/1.095, allocations: 0.7188 kB / 0.656 GB, free: 126.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.09295/1.188, allocations: 28.64 MB / 0.684 GB, free: 117.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.188, allocations: 255.4 kB / 0.6842 GB, free: 117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008713/1.197, allocations: 5.087 MB / 0.6892 GB, free: 115.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007001/1.197, allocations: 64.83 kB / 0.6893 GB, free: 115.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.2, allocations: 3.896 MB / 0.6931 GB, free: 112.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/1.201, allocations: 1.004 MB / 0.6941 GB, free: 111.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002608/1.203, allocations: 1.546 MB / 0.6956 GB, free: 110.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.528e-05/1.204, allocations: 305.1 kB / 0.6959 GB, free: 110.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003503/1.207, allocations: 3.01 MB / 0.6988 GB, free: 109.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006416/1.213, allocations: 7.343 MB / 0.706 GB, free: 102.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/1.226, allocations: 11.1 MB / 0.7168 GB, free: 90.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002425/1.226, allocations: 40 kB / 0.7168 GB, free: 90.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.0208/1.247, allocations: 11.2 MB / 0.7278 GB, free: 79.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/1.247, allocations: 68 kB / 0.7278 GB, free: 79.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002294/1.248, allocations: 152.9 kB / 0.728 GB, free: 79.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/1.25, allocations: 1.226 MB / 0.7292 GB, free: 78.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005805/1.256, allocations: 1.833 MB / 0.731 GB, free: 76.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007624/1.264, allocations: 8.375 MB / 0.7392 GB, free: 67.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006648/1.27, allocations: 427.4 kB / 0.7396 GB, free: 67.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/1.272, allocations: 456.8 kB / 0.74 GB, free: 66.89 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (954): * Single equations (assignments): 949 * 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,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005377/1.277, allocations: 2.629 MB / 0.7426 GB, free: 64.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001313/1.279, allocations: 469.9 kB / 0.743 GB, free: 63.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/1.287, allocations: 5.232 MB / 0.7481 GB, free: 58.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/1.287, allocations: 28 kB / 0.7481 GB, free: 58.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/1.287, allocations: 11.94 kB / 0.7482 GB, free: 58.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/1.287, allocations: 15.89 kB / 0.7482 GB, free: 58.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/1.31, allocations: 11.76 MB / 0.7597 GB, free: 46.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.31, allocations: 0 / 0.7597 GB, free: 46.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/1.313, allocations: 0.4953 MB / 0.7601 GB, free: 46.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/1.315, allocations: 0.9848 MB / 0.7611 GB, free: 45.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004191/1.316, allocations: 47.98 kB / 0.7612 GB, free: 45.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007339/1.323, allocations: 7.713 MB / 0.7687 GB, free: 37.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.323, allocations: 3.984 kB / 0.7687 GB, free: 37.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.335, allocations: 8.727 MB / 0.7772 GB, free: 28.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002403/1.337, allocations: 0.8777 MB / 0.7781 GB, free: 27.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.338, allocations: 43.94 kB / 0.7781 GB, free: 27.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/1.341, allocations: 171.8 kB / 0.7783 GB, free: 27.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004795/1.342, allocations: 149.8 kB / 0.7784 GB, free: 27.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/1.342, allocations: 71.98 kB / 0.7785 GB, free: 27.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005645/1.348, allocations: 3.178 MB / 0.7816 GB, free: 23.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.092e-06/1.348, allocations: 0 / 0.7816 GB, free: 23.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007327/1.355, allocations: 1.372 MB / 0.7829 GB, free: 22.54 MB / 494.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 (227): * Single equations (assignments): 222 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007458/1.356, allocations: 189.2 kB / 0.7831 GB, free: 22.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01464/1.37, allocations: 10.12 MB / 0.793 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.37, allocations: 1.812 kB / 0.793 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003012/1.373, allocations: 2.565 MB / 0.7955 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/1.378, allocations: 0.5955 MB / 0.7961 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/1.403, allocations: 15.57 MB / 0.8113 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2173/1.62, allocations: 4.117 MB / 0.8153 GB, free: 147 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005755/1.626, allocations: 2.369 MB / 0.8176 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.627, allocations: 320 kB / 0.8179 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/1.627, allocations: 3.219 kB / 0.8179 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.09964/1.727, allocations: 52.2 MB / 0.8689 GB, free: 132.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)