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.001439/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00167/0.00167, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.718/1.718, allocations: 205.1 MB / 222 MB, free: 4.75 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.394/0.394, allocations: 37.98 MB / 307.3 MB, free: 10.14 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.001456/0.001457, allocations: 66.41 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 56.48 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3354/0.4712, allocations: 63.95 MB / 495 MB, free: 16.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03573/0.5069, allocations: 13.1 MB / 0.4962 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01931/0.5263, allocations: 282.7 kB / 0.4964 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007804/0.5342, allocations: 4.015 MB / 0.5004 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007521/0.5418, allocations: 2.22 MB / 0.5025 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003338/0.5451, allocations: 1.06 MB / 0.5036 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01711/0.5623, allocations: 8.879 MB / 0.5122 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008855/0.5712, allocations: 4.633 MB / 0.5168 GB, free: 104 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/0.5775, allocations: 2 MB / 0.5187 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007046/0.5846, allocations: 3.239 MB / 0.5219 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002073/0.5867, allocations: 326.8 kB / 0.5222 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004565/0.5913, allocations: 1.491 MB / 0.5236 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004654/0.596, allocations: 2.624 MB / 0.5262 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006513/0.6025, allocations: 2.901 MB / 0.529 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.6137, allocations: 9.065 MB / 0.5379 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.6137, allocations: 0 / 0.5379 GB, free: 15.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6138, allocations: 0 / 0.5379 GB, free: 15.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003523/0.6141, allocations: 0 / 0.5379 GB, free: 15.76 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.01579/0.6299, allocations: 6.776 MB / 0.5445 GB, free: 8.902 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.63, allocations: 12.03 kB / 0.5445 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02452/0.6545, allocations: 3.297 MB / 0.5477 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.6659, allocations: 4.195 MB / 0.5518 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.6663, allocations: 316.5 kB / 0.5521 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.668, allocations: 427.6 kB / 0.5525 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.027/0.695, allocations: 13.82 MB / 0.566 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001875/0.6952, allocations: 59.44 kB / 0.5661 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000659/0.6959, allocations: 199.8 kB / 0.5663 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004028/0.6999, allocations: 2.523 MB / 0.5687 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02654/0.7265, allocations: 11.81 MB / 0.5803 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3411/1.068, allocations: 53.73 MB / 0.6327 GB, free: 134.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01586/1.084, allocations: 5.899 MB / 0.6385 GB, free: 134.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005257/1.089, allocations: 3.598 MB / 0.642 GB, free: 134.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/1.109, allocations: 15.44 MB / 0.6571 GB, free: 126.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/1.109, allocations: 59.34 kB / 0.6572 GB, free: 126.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=230): time 4.849e-06/1.109, allocations: 0 / 0.6572 GB, free: 126.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=267): time 0.08845/1.198, allocations: 28.62 MB / 0.6851 GB, free: 117.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.198, allocations: 269 kB / 0.6854 GB, free: 116.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006906/1.205, allocations: 5.082 MB / 0.6903 GB, free: 115 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004769/1.205, allocations: 68.14 kB / 0.6904 GB, free: 114.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/1.208, allocations: 3.894 MB / 0.6942 GB, free: 111.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009677/1.209, allocations: 1.007 MB / 0.6952 GB, free: 111.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001764/1.21, allocations: 1.539 MB / 0.6967 GB, free: 110.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.563e-05/1.21, allocations: 304.7 kB / 0.697 GB, free: 110.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/1.214, allocations: 3.008 MB / 0.6999 GB, free: 109.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006506/1.221, allocations: 7.35 MB / 0.7071 GB, free: 102.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/1.231, allocations: 11.1 MB / 0.7179 GB, free: 89.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.231, allocations: 44 kB / 0.718 GB, free: 89.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02149/1.253, allocations: 11.2 MB / 0.7289 GB, free: 78.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/1.253, allocations: 68 kB / 0.729 GB, free: 78.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.253, allocations: 156.8 kB / 0.7291 GB, free: 78.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/1.256, allocations: 1.222 MB / 0.7303 GB, free: 77.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006526/1.263, allocations: 1.833 MB / 0.7321 GB, free: 75.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008093/1.271, allocations: 7.773 MB / 0.7397 GB, free: 67.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006575/1.278, allocations: 427.4 kB / 0.7401 GB, free: 66.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/1.279, allocations: 456 kB / 0.7405 GB, free: 66.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.005092/1.284, allocations: 2.637 MB / 0.7431 GB, free: 63.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/1.286, allocations: 466 kB / 0.7436 GB, free: 63.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008926/1.294, allocations: 5.234 MB / 0.7487 GB, free: 57.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-05/1.295, allocations: 28 kB / 0.7487 GB, free: 57.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/1.295, allocations: 8 kB / 0.7487 GB, free: 57.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/1.295, allocations: 11.95 kB / 0.7487 GB, free: 57.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/1.317, allocations: 11.77 MB / 0.7602 GB, free: 46.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/1.317, allocations: 0 / 0.7602 GB, free: 46.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002605/1.32, allocations: 0.4953 MB / 0.7607 GB, free: 45.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/1.323, allocations: 0.9848 MB / 0.7617 GB, free: 44.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004231/1.323, allocations: 43.98 kB / 0.7617 GB, free: 44.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007109/1.33, allocations: 7.114 MB / 0.7686 GB, free: 37.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.33, allocations: 4.562 kB / 0.7687 GB, free: 37.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/1.345, allocations: 8.734 MB / 0.7772 GB, free: 28.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002933/1.348, allocations: 0.8777 MB / 0.778 GB, free: 27.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001661/1.35, allocations: 44 kB / 0.7781 GB, free: 27.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003283/1.353, allocations: 175.8 kB / 0.7782 GB, free: 27.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006684/1.354, allocations: 148.4 kB / 0.7784 GB, free: 27.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003339/1.354, allocations: 74.98 kB / 0.7785 GB, free: 27.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006313/1.36, allocations: 3.178 MB / 0.7816 GB, free: 23.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.9e-07/1.36, allocations: 0 / 0.7816 GB, free: 23.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009392/1.37, allocations: 1.37 MB / 0.7829 GB, free: 22.55 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.0009684/1.371, allocations: 191.8 kB / 0.7831 GB, free: 22.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01115/1.382, allocations: 7.31 MB / 0.7902 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/1.382, allocations: 3.938 kB / 0.7902 GB, free: 15.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003391/1.385, allocations: 2.558 MB / 0.7927 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005338/1.391, allocations: 0.5638 MB / 0.7933 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/1.415, allocations: 15.57 MB / 0.8085 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2384/1.653, allocations: 4.11 MB / 0.8125 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006552/1.66, allocations: 2.368 MB / 0.8148 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.661, allocations: 326.7 kB / 0.8151 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/1.661, allocations: 0 / 0.8151 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.1086/1.77, allocations: 50.27 MB / 0.8642 GB, free: 132.6 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)