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.007597/0.007597, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.001337/0.001336, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.627/1.627, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.3583/0.3583, allocations: 38 MB / 307.9 MB, free: 10.03 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.002346/0.002346, allocations: 75.88 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.424, allocations: 56.46 MB / 489.5 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01521/0.4392, allocations: 15.03 MB / 0.4927 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.4541, allocations: 5.016 MB / 0.4976 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006064/0.4603, allocations: 101.7 kB / 0.4977 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008941/0.4692, allocations: 4.024 MB / 0.5016 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.4793, allocations: 2.351 MB / 0.5039 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004252/0.4836, allocations: 1.156 MB / 0.505 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01294/0.4966, allocations: 6.177 MB / 0.5111 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007574/0.5042, allocations: 4.707 MB / 0.5157 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.5089, allocations: 2.21 MB / 0.5178 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005811/0.5148, allocations: 3.043 MB / 0.5208 GB, free: 7.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.5163, allocations: 460 kB / 0.5212 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004437/0.5207, allocations: 1.537 MB / 0.5227 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00444/0.5252, allocations: 2.774 MB / 0.5254 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006127/0.5314, allocations: 3.022 MB / 0.5284 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.5446, allocations: 9.452 MB / 0.5376 GB, free: 6.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.5447, allocations: 4 kB / 0.5376 GB, free: 6.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5447, allocations: 0 / 0.5376 GB, free: 6.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000362/0.5451, allocations: 4 kB / 0.5376 GB, free: 6.277 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.02159/0.5667, allocations: 6.76 MB / 0.5442 GB, free: 15.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5667, allocations: 15.89 kB / 0.5442 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02911/0.5959, allocations: 3.285 MB / 0.5475 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/0.6108, allocations: 4.297 MB / 0.5517 GB, free: 7.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005708/0.6114, allocations: 308.3 kB / 0.5519 GB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/0.614, allocations: 431.6 kB / 0.5524 GB, free: 7.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03304/0.647, allocations: 13.81 MB / 0.5658 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/0.6473, allocations: 63.47 kB / 0.5659 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001357/0.6487, allocations: 195.8 kB / 0.5661 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004292/0.653, allocations: 2.523 MB / 0.5686 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.026/0.679, allocations: 11.81 MB / 0.5801 GB, free: 9.758 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08683/0.7659, allocations: 53.48 MB / 0.6323 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3222/1.088, allocations: 5.915 MB / 0.6381 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007555/1.096, allocations: 3.601 MB / 0.6416 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02632/1.122, allocations: 15.43 MB / 0.6567 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/1.122, allocations: 59.34 kB / 0.6567 GB, free: 115 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 5.931e-06/1.122, allocations: 1.125 kB / 0.6567 GB, free: 115 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.08224/1.205, allocations: 28.65 MB / 0.6847 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.205, allocations: 260.5 kB / 0.685 GB, free: 104.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006447/1.211, allocations: 5.086 MB / 0.6899 GB, free: 99.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005325/1.212, allocations: 61.7 kB / 0.69 GB, free: 99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00225/1.214, allocations: 3.886 MB / 0.6938 GB, free: 95.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001199/1.215, allocations: 1.012 MB / 0.6948 GB, free: 94.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/1.217, allocations: 1.547 MB / 0.6963 GB, free: 92.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/1.217, allocations: 301.1 kB / 0.6966 GB, free: 92.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/1.22, allocations: 3.017 MB / 0.6995 GB, free: 89.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005129/1.226, allocations: 7.339 MB / 0.7067 GB, free: 79.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/1.236, allocations: 11.1 MB / 0.7175 GB, free: 66.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/1.236, allocations: 44 kB / 0.7176 GB, free: 66.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01962/1.256, allocations: 11.2 MB / 0.7285 GB, free: 55.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.521e-05/1.256, allocations: 72 kB / 0.7286 GB, free: 55.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.256, allocations: 148 kB / 0.7287 GB, free: 55.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/1.259, allocations: 1.233 MB / 0.7299 GB, free: 53.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005853/1.264, allocations: 1.825 MB / 0.7317 GB, free: 52.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007816/1.272, allocations: 8.363 MB / 0.7399 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007102/1.279, allocations: 431.4 kB / 0.7403 GB, free: 43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001545/1.281, allocations: 452 kB / 0.7407 GB, free: 42.56 MB / 0.4981 GB 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.006259/1.287, allocations: 2.631 MB / 0.7433 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/1.288, allocations: 466 kB / 0.7437 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007989/1.296, allocations: 5.234 MB / 0.7488 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/1.297, allocations: 33.88 kB / 0.7489 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/1.297, allocations: 4 kB / 0.7489 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/1.297, allocations: 15.95 kB / 0.7489 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/1.316, allocations: 11.64 MB / 0.7603 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/1.316, allocations: 4 kB / 0.7603 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/1.319, allocations: 0.4915 MB / 0.7607 GB, free: 22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002378/1.321, allocations: 0.9886 MB / 0.7617 GB, free: 21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000232/1.321, allocations: 43.94 kB / 0.7617 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006811/1.328, allocations: 7.7 MB / 0.7693 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.328, allocations: 0 / 0.7693 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.339, allocations: 8.746 MB / 0.7778 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003351/1.342, allocations: 0.8855 MB / 0.7787 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001581/1.344, allocations: 36 kB / 0.7787 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.347, allocations: 175.9 kB / 0.7789 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000489/1.347, allocations: 157.6 kB / 0.779 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/1.348, allocations: 67.98 kB / 0.7791 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00674/1.354, allocations: 3.182 MB / 0.7822 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.71e-07/1.354, allocations: 0 / 0.7822 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009769/1.364, allocations: 1.37 MB / 0.7835 GB, free: 14.29 MB / 0.5137 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.0009935/1.365, allocations: 193.5 kB / 0.7837 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.378, allocations: 7.33 MB / 0.7909 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.378, allocations: 4.812 kB / 0.7909 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004153/1.382, allocations: 2.554 MB / 0.7934 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/1.388, allocations: 0.5981 MB / 0.794 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/1.413, allocations: 12.77 MB / 0.8064 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007674/1.421, allocations: 4.113 MB / 0.8104 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008094/1.429, allocations: 2.369 MB / 0.8128 GB, free: 296 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/1.431, allocations: 323.4 kB / 0.8131 GB, free: 15.97 MB / 0.545 GB Notification: Performance of SimCode: time 2.866e-06/1.431, allocations: 0 / 0.8131 GB, free: 15.97 MB / 0.545 GB Notification: Performance of Templates: time 0.3822/1.813, allocations: 48.05 MB / 0.86 GB, free: 185.9 MB / 0.5762 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)