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.001381/0.00138, allocations: 108 kB / 15.6 MB, free: 132 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.001699/0.0017, allocations: 194 kB / 16.53 MB, free: 6.391 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.615/1.615, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.3524/0.3524, allocations: 37.99 MB / 307.8 MB, free: 10.11 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.002795/0.002795, allocations: 71.91 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1757, allocations: 56.47 MB / 431.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.0173/0.1931, allocations: 15.05 MB / 446.8 MB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.2053, allocations: 5 MB / 451.8 MB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.2086, allocations: 99.69 kB / 451.9 MB, free: 2.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2711/0.4798, allocations: 4.019 MB / 455.9 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007428/0.4873, allocations: 2.359 MB / 458.2 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.4903, allocations: 1.164 MB / 459.4 MB, free: 36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009208/0.4995, allocations: 6.162 MB / 465.6 MB, free: 35.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00571/0.5052, allocations: 4.707 MB / 470.3 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/0.5095, allocations: 2.228 MB / 472.5 MB, free: 33.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.5138, allocations: 3.034 MB / 475.5 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001465/0.5152, allocations: 457.4 kB / 476 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.5188, allocations: 1.532 MB / 477.5 MB, free: 32.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002908/0.5218, allocations: 2.703 MB / 480.2 MB, free: 31.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004105/0.5259, allocations: 3.028 MB / 483.2 MB, free: 29.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.5424, allocations: 9.174 MB / 492.4 MB, free: 26.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5425, allocations: 1.719 kB / 492.4 MB, free: 26.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5425, allocations: 0 / 492.4 MB, free: 26.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005549/0.543, allocations: 4 kB / 492.4 MB, free: 26.51 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02647/0.5695, allocations: 6.763 MB / 499.2 MB, free: 23.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.5696, allocations: 13.02 kB / 499.2 MB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02957/0.5992, allocations: 3.296 MB / 0.4907 GB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.6131, allocations: 4.204 MB / 0.4948 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006253/0.6137, allocations: 311.3 kB / 0.4951 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003272/0.617, allocations: 427.9 kB / 0.4955 GB, free: 19.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03707/0.6541, allocations: 13.82 MB / 0.509 GB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003759/0.6546, allocations: 63.42 kB / 0.5091 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002297/0.6569, allocations: 197.5 kB / 0.5093 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00398/0.6609, allocations: 2.525 MB / 0.5117 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/0.6878, allocations: 11.81 MB / 0.5233 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08901/0.7768, allocations: 53.73 MB / 0.5757 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01925/0.7961, allocations: 5.919 MB / 0.5815 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007445/0.8036, allocations: 3.592 MB / 0.585 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02879/0.8325, allocations: 15.45 MB / 0.6001 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.8326, allocations: 60.5 kB / 0.6002 GB, free: 10.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=230): time 6.382e-06/0.8326, allocations: 0 / 0.6002 GB, free: 10.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.4171/1.25, allocations: 28.62 MB / 0.6281 GB, free: 151 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.25, allocations: 264.1 kB / 0.6284 GB, free: 150.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/1.26, allocations: 5.082 MB / 0.6333 GB, free: 149.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009343/1.261, allocations: 63.64 kB / 0.6334 GB, free: 149.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002523/1.264, allocations: 3.895 MB / 0.6372 GB, free: 147 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/1.265, allocations: 1.005 MB / 0.6382 GB, free: 146.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/1.267, allocations: 1.548 MB / 0.6397 GB, free: 145.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/1.267, allocations: 305.1 kB / 0.64 GB, free: 145.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004199/1.271, allocations: 3.01 MB / 0.6429 GB, free: 144.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006263/1.278, allocations: 7.351 MB / 0.6501 GB, free: 137.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/1.291, allocations: 11.1 MB / 0.6609 GB, free: 128.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001723/1.291, allocations: 44.78 kB / 0.661 GB, free: 128.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02252/1.314, allocations: 11.2 MB / 0.6719 GB, free: 124.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/1.314, allocations: 73.41 kB / 0.672 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000347/1.314, allocations: 150.8 kB / 0.6721 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/1.318, allocations: 1.229 MB / 0.6733 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007175/1.325, allocations: 1.826 MB / 0.6751 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009306/1.334, allocations: 8.363 MB / 0.6833 GB, free: 119.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008029/1.343, allocations: 425.9 kB / 0.6837 GB, free: 119 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001894/1.344, allocations: 452 kB / 0.6841 GB, free: 118.9 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.008529/1.353, allocations: 2.633 MB / 0.6867 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00215/1.355, allocations: 467.6 kB / 0.6871 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.366, allocations: 5.234 MB / 0.6922 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-05/1.366, allocations: 31.22 kB / 0.6923 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.865e-05/1.366, allocations: 10.75 kB / 0.6923 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-05/1.366, allocations: 19.05 kB / 0.6923 GB, free: 115.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.393, allocations: 11.74 MB / 0.7038 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-05/1.393, allocations: 7.25 kB / 0.7038 GB, free: 105.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/1.395, allocations: 0.4953 MB / 0.7043 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/1.398, allocations: 0.9965 MB / 0.7052 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003906/1.398, allocations: 43.98 kB / 0.7053 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00697/1.405, allocations: 7.701 MB / 0.7128 GB, free: 96.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.405, allocations: 0 / 0.7128 GB, free: 96.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/1.416, allocations: 8.724 MB / 0.7213 GB, free: 87.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002678/1.419, allocations: 0.8816 MB / 0.7222 GB, free: 86.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001656/1.421, allocations: 43.94 kB / 0.7222 GB, free: 86.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003057/1.424, allocations: 187.2 kB / 0.7224 GB, free: 86.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004704/1.424, allocations: 141.8 kB / 0.7225 GB, free: 86.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.425, allocations: 75.98 kB / 0.7226 GB, free: 86.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008248/1.433, allocations: 3.182 MB / 0.7257 GB, free: 82.99 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.433, allocations: 0 / 0.7257 GB, free: 82.99 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01209/1.445, allocations: 1.362 MB / 0.727 GB, free: 81.63 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.001222/1.446, allocations: 200.4 kB / 0.7272 GB, free: 81.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01617/1.462, allocations: 10.12 MB / 0.7371 GB, free: 71.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.463, allocations: 192 / 0.7371 GB, free: 71.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003181/1.466, allocations: 2.566 MB / 0.7396 GB, free: 68.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005681/1.471, allocations: 0.601 MB / 0.7402 GB, free: 68.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/1.494, allocations: 12.92 MB / 0.7528 GB, free: 55.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007468/1.502, allocations: 4.117 MB / 0.7568 GB, free: 51.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008923/1.511, allocations: 2.365 MB / 0.7592 GB, free: 48.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/1.513, allocations: 315.4 kB / 0.7595 GB, free: 48.43 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/1.513, allocations: 4 kB / 0.7595 GB, free: 48.42 MB / 494.1 MB Notification: Performance of Templates: time 0.303/1.816, allocations: 52.2 MB / 0.8104 GB, free: 137.6 MB / 494.1 MB 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)