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.001216/0.001215, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001626/0.001627, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.4279/0.4279, allocations: 39.99 MB / 310.4 MB, free: 9.906 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.0005389/0.0005389, allocations: 15.94 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1501, allocations: 57.95 MB / 436.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2968/0.447, allocations: 57.99 MB / 494.8 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03001/0.477, allocations: 12.45 MB / 0.4953 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01379/0.4909, allocations: 279.8 kB / 0.4956 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01257/0.5035, allocations: 2.97 MB / 0.4985 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03971/0.5432, allocations: 8.86 MB / 0.5072 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007212/0.5504, allocations: 1.018 MB / 0.5082 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.06885/0.6193, allocations: 35.25 MB / 0.5426 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/0.632, allocations: 5.569 MB / 0.548 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/0.6377, allocations: 1.837 MB / 0.5498 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006098/0.6438, allocations: 2.851 MB / 0.5526 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.6451, allocations: 200 kB / 0.5528 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.6484, allocations: 1.159 MB / 0.5539 GB, free: 68 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003058/0.6515, allocations: 2.404 MB / 0.5563 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.6533, allocations: 1.096 MB / 0.5573 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009102/0.6624, allocations: 7.217 MB / 0.5644 GB, free: 5.316 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.6624, allocations: 4 kB / 0.5644 GB, free: 5.312 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6625, allocations: 0 / 0.5644 GB, free: 5.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003629/0.6628, allocations: 0 / 0.5644 GB, free: 5.312 MB / 430.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.01474/0.6776, allocations: 5.67 MB / 0.5699 GB, free: 15.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6776, allocations: 8.031 kB / 0.5699 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02306/0.7007, allocations: 3.382 MB / 0.5732 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.7114, allocations: 4.12 MB / 0.5773 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/0.7118, allocations: 311.9 kB / 0.5776 GB, free: 7.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.7136, allocations: 427.7 kB / 0.578 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03062/0.7443, allocations: 13.81 MB / 0.5915 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002063/0.7446, allocations: 59.44 kB / 0.5915 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006849/0.7452, allocations: 199.8 kB / 0.5917 GB, free: 8.328 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00436/0.7496, allocations: 2.527 MB / 0.5942 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/0.7776, allocations: 11.77 MB / 0.6057 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3688/1.147, allocations: 53.76 MB / 0.6582 GB, free: 112.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/1.161, allocations: 5.906 MB / 0.6639 GB, free: 111.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004357/1.166, allocations: 3.588 MB / 0.6674 GB, free: 110 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02021/1.186, allocations: 15.45 MB / 0.6825 GB, free: 101.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/1.186, allocations: 66.12 kB / 0.6826 GB, free: 101.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 6.312e-06/1.186, allocations: 0 / 0.6826 GB, free: 101.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.08498/1.271, allocations: 28.69 MB / 0.7106 GB, free: 92.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/1.271, allocations: 256.7 kB / 0.7108 GB, free: 92.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007186/1.278, allocations: 5.052 MB / 0.7158 GB, free: 90.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007484/1.279, allocations: 68.11 kB / 0.7158 GB, free: 89.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002381/1.281, allocations: 3.891 MB / 0.7196 GB, free: 86.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.283, allocations: 1 MB / 0.7206 GB, free: 85.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/1.283, allocations: 152 kB / 0.7208 GB, free: 85.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003564/1.284, allocations: 0.632 MB / 0.7214 GB, free: 84.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/1.288, allocations: 2.982 MB / 0.7243 GB, free: 81.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006131/1.294, allocations: 7.314 MB / 0.7314 GB, free: 72.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/1.3, allocations: 4.528 MB / 0.7359 GB, free: 67.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.758e-05/1.3, allocations: 47.95 kB / 0.7359 GB, free: 67.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01837/1.318, allocations: 11.13 MB / 0.7468 GB, free: 56.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.451e-05/1.318, allocations: 68 kB / 0.7468 GB, free: 56.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000162/1.318, allocations: 152 kB / 0.747 GB, free: 56.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/1.321, allocations: 1.238 MB / 0.7482 GB, free: 55.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005953/1.327, allocations: 1.829 MB / 0.75 GB, free: 53.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/1.335, allocations: 7.786 MB / 0.7576 GB, free: 45.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005431/1.34, allocations: 427.3 kB / 0.758 GB, free: 44.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009846/1.341, allocations: 454.5 kB / 0.7584 GB, free: 44.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004516/1.346, allocations: 2.634 MB / 0.761 GB, free: 41.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009625/1.346, allocations: 466 kB / 0.7614 GB, free: 41.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007497/1.354, allocations: 5.225 MB / 0.7665 GB, free: 36.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.4e-05/1.354, allocations: 28 kB / 0.7666 GB, free: 36.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.354, allocations: 8 kB / 0.7666 GB, free: 36.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/1.354, allocations: 11.95 kB / 0.7666 GB, free: 36.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.372, allocations: 11.75 MB / 0.7781 GB, free: 24.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.372, allocations: 0 / 0.7781 GB, free: 24.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/1.374, allocations: 0.4954 MB / 0.7785 GB, free: 23.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/1.376, allocations: 0.9868 MB / 0.7795 GB, free: 22.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002655/1.377, allocations: 47.92 kB / 0.7796 GB, free: 22.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006569/1.383, allocations: 7.116 MB / 0.7865 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.383, allocations: 0.6562 kB / 0.7865 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/1.396, allocations: 8.702 MB / 0.795 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/1.398, allocations: 0.8816 MB / 0.7959 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009217/1.399, allocations: 44 kB / 0.7959 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.402, allocations: 191.7 kB / 0.7961 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/1.402, allocations: 137.8 kB / 0.7962 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.402, allocations: 71.98 kB / 0.7963 GB, free: 5.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00415/1.406, allocations: 3.154 MB / 0.7994 GB, free: 2.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.406, allocations: 0 / 0.7994 GB, free: 2.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006266/1.412, allocations: 1.376 MB / 0.8007 GB, free: 0.7578 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005511/1.413, allocations: 184.1 kB / 0.8009 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01154/1.425, allocations: 7.278 MB / 0.808 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.425, allocations: 0 / 0.808 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003784/1.428, allocations: 2.554 MB / 0.8105 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.432, allocations: 0.5659 MB / 0.811 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.274/1.706, allocations: 15.02 MB / 0.8257 GB, free: 142.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004841/1.711, allocations: 4.12 MB / 0.8297 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006281/1.717, allocations: 2.369 MB / 0.832 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.719, allocations: 318.5 kB / 0.8323 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.233e-06/1.719, allocations: 0 / 0.8323 GB, free: 141.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.1102/1.829, allocations: 48.44 MB / 0.8797 GB, free: 125.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: