Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001197/0.001197, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001236/0.001236, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.681/1.681, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.4111/0.4111, allocations: 39.93 MB / 309.4 MB, free: 9.371 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.001422/0.001422, allocations: 67.91 kB / 377.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1498, allocations: 56.88 MB / 434 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3593/0.5091, allocations: 63.95 MB / 497.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03306/0.5422, allocations: 12.99 MB / 0.499 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02004/0.5623, allocations: 281.5 kB / 0.4992 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00852/0.571, allocations: 3.872 MB / 0.503 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007752/0.5788, allocations: 2.201 MB / 0.5052 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.5819, allocations: 1.101 MB / 0.5062 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0117/0.5937, allocations: 6.391 MB / 0.5125 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/0.6038, allocations: 4.955 MB / 0.5173 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00575/0.6096, allocations: 2.291 MB / 0.5195 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005932/0.6156, allocations: 3.359 MB / 0.5228 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002031/0.6176, allocations: 458.6 kB / 0.5233 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.6218, allocations: 1.552 MB / 0.5248 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004122/0.626, allocations: 2.757 MB / 0.5275 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005642/0.6316, allocations: 3.049 MB / 0.5305 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.6428, allocations: 9.237 MB / 0.5395 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.6428, allocations: 4 kB / 0.5395 GB, free: 12.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6429, allocations: 3.938 kB / 0.5395 GB, free: 12.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002729/0.6431, allocations: 0 / 0.5395 GB, free: 12.85 MB / 414.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.01831/0.6615, allocations: 6.757 MB / 0.5461 GB, free: 6.012 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.6615, allocations: 11.89 kB / 0.5461 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02573/0.6873, allocations: 3.3 MB / 0.5493 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.6978, allocations: 4.203 MB / 0.5534 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.6982, allocations: 312.5 kB / 0.5537 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001854/0.7, allocations: 419.7 kB / 0.5541 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02981/0.7298, allocations: 13.82 MB / 0.5676 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003456/0.7302, allocations: 67.45 kB / 0.5677 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002035/0.7323, allocations: 195.8 kB / 0.5679 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00471/0.737, allocations: 2.523 MB / 0.5703 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/0.7646, allocations: 11.81 MB / 0.5819 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3665/1.131, allocations: 53.73 MB / 0.6343 GB, free: 113.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01527/1.147, allocations: 5.915 MB / 0.6401 GB, free: 112.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004942/1.151, allocations: 3.591 MB / 0.6436 GB, free: 112.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02189/1.173, allocations: 15.44 MB / 0.6587 GB, free: 104.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/1.174, allocations: 61.05 kB / 0.6587 GB, free: 104.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 6.052e-06/1.174, allocations: 0 / 0.6587 GB, free: 104.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.09065/1.264, allocations: 28.63 MB / 0.6867 GB, free: 95.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.264, allocations: 270.6 kB / 0.687 GB, free: 95.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006687/1.271, allocations: 5.081 MB / 0.6919 GB, free: 93.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006553/1.272, allocations: 72.12 kB / 0.692 GB, free: 93.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002115/1.274, allocations: 3.884 MB / 0.6958 GB, free: 90.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/1.275, allocations: 1.005 MB / 0.6968 GB, free: 89.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001868/1.277, allocations: 1.54 MB / 0.6983 GB, free: 89.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.012e-05/1.277, allocations: 305.1 kB / 0.6986 GB, free: 88.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003506/1.281, allocations: 3.012 MB / 0.7015 GB, free: 87.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005483/1.286, allocations: 7.35 MB / 0.7087 GB, free: 80.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009902/1.296, allocations: 11.09 MB / 0.7195 GB, free: 67.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001088/1.296, allocations: 47.12 kB / 0.7196 GB, free: 67.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01535/1.311, allocations: 11.2 MB / 0.7305 GB, free: 56.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-05/1.312, allocations: 72.91 kB / 0.7306 GB, free: 56.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/1.312, allocations: 156 kB / 0.7307 GB, free: 55.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002485/1.314, allocations: 1.223 MB / 0.7319 GB, free: 54.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/1.32, allocations: 1.833 MB / 0.7337 GB, free: 52.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007273/1.327, allocations: 8.376 MB / 0.7419 GB, free: 44.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006019/1.333, allocations: 432.6 kB / 0.7423 GB, free: 43.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.334, allocations: 448 kB / 0.7427 GB, free: 43.31 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.004335/1.339, allocations: 2.635 MB / 0.7453 GB, free: 40.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009061/1.34, allocations: 462 kB / 0.7457 GB, free: 40.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006926/1.347, allocations: 5.24 MB / 0.7509 GB, free: 34.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/1.347, allocations: 28 kB / 0.7509 GB, free: 34.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.347, allocations: 4 kB / 0.7509 GB, free: 34.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/1.347, allocations: 15.95 kB / 0.7509 GB, free: 34.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/1.363, allocations: 11.76 MB / 0.7624 GB, free: 23.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.363, allocations: 4 kB / 0.7624 GB, free: 23.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/1.365, allocations: 0.4992 MB / 0.7629 GB, free: 22.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/1.367, allocations: 0.9881 MB / 0.7638 GB, free: 21.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/1.367, allocations: 51.98 kB / 0.7639 GB, free: 21.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/1.374, allocations: 7.7 MB / 0.7714 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.374, allocations: 0 / 0.7714 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.385, allocations: 8.723 MB / 0.7799 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002914/1.388, allocations: 0.8777 MB / 0.7808 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001348/1.389, allocations: 44 kB / 0.7808 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002633/1.392, allocations: 175.7 kB / 0.781 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/1.392, allocations: 145.8 kB / 0.7811 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/1.392, allocations: 71.98 kB / 0.7812 GB, free: 3.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004602/1.397, allocations: 3.178 MB / 0.7843 GB, free: 352 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/1.397, allocations: 0 / 0.7843 GB, free: 352 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.007292/1.404, allocations: 1.37 MB / 0.7856 GB, free: 14.97 MB / 0.4981 GB 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.000638/1.405, allocations: 198.5 kB / 0.7858 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01649/1.421, allocations: 10.12 MB / 0.7957 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.422, allocations: 8.625 kB / 0.7957 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003236/1.425, allocations: 2.56 MB / 0.7982 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/1.428, allocations: 0.5952 MB / 0.7988 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02647/1.455, allocations: 15.57 MB / 0.814 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00655/1.461, allocations: 4.117 MB / 0.818 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006787/1.468, allocations: 2.373 MB / 0.8203 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.469, allocations: 319.4 kB / 0.8206 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.543e-06/1.469, allocations: 0 / 0.8206 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of Templates: time 0.3319/1.801, allocations: 52.19 MB / 0.8716 GB, free: 167.3 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)