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.001249/0.001249, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001358/0.001358, allocations: 177.3 kB / 15.95 MB, free: 216 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.744/1.744, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3969/0.3969, allocations: 38.02 MB / 308.4 MB, free: 10.38 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.0005604/0.0005607, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1371, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.32/0.4572, allocations: 54.73 MB / 488.7 MB, free: 22.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03309/0.4903, allocations: 13 MB / 0.4899 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01575/0.5061, allocations: 282 kB / 0.4902 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.5167, allocations: 2.695 MB / 0.4928 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02925/0.546, allocations: 7.832 MB / 0.5004 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.5514, allocations: 0.9916 MB / 0.5014 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04482/0.5962, allocations: 27.01 MB / 0.5278 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009699/0.606, allocations: 5.533 MB / 0.5332 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/0.61, allocations: 1.503 MB / 0.5347 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/0.6134, allocations: 2.013 MB / 0.5366 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008071/0.6142, allocations: 204 kB / 0.5368 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.6169, allocations: 1.124 MB / 0.5379 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002136/0.619, allocations: 2.213 MB / 0.5401 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.6205, allocations: 1.104 MB / 0.5412 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009033/0.6296, allocations: 7.537 MB / 0.5485 GB, free: 6.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.6296, allocations: 4 kB / 0.5485 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6296, allocations: 0 / 0.5485 GB, free: 6.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003876/0.63, allocations: 0 / 0.5485 GB, free: 6.629 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.01829/0.6483, allocations: 6.11 MB / 0.5545 GB, free: 448 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.6484, allocations: 12.03 kB / 0.5545 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1604/0.8088, allocations: 14.68 MB / 0.5688 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/0.8227, allocations: 4.531 MB / 0.5733 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004059/0.8232, allocations: 308 kB / 0.5736 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/0.8258, allocations: 427.6 kB / 0.574 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03446/0.8602, allocations: 13.89 MB / 0.5875 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003168/0.8606, allocations: 59.5 kB / 0.5876 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001856/0.8625, allocations: 199.8 kB / 0.5878 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004629/0.8671, allocations: 2.527 MB / 0.5902 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03045/0.8976, allocations: 11.76 MB / 0.6017 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3503/1.248, allocations: 53.36 MB / 0.6538 GB, free: 112.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/1.264, allocations: 5.832 MB / 0.6595 GB, free: 112.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02185/1.286, allocations: 14.95 MB / 0.6741 GB, free: 104.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/1.286, allocations: 64.28 kB / 0.6742 GB, free: 104.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 4.618e-06/1.286, allocations: 3.969 kB / 0.6742 GB, free: 104.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=264): time 0.08597/1.372, allocations: 26.7 MB / 0.7003 GB, free: 95.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/1.372, allocations: 259.7 kB / 0.7005 GB, free: 95.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007502/1.379, allocations: 5.32 MB / 0.7057 GB, free: 93.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007869/1.38, allocations: 68.89 kB / 0.7058 GB, free: 93.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002566/1.383, allocations: 3.969 MB / 0.7096 GB, free: 90.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.384, allocations: 0.9885 MB / 0.7106 GB, free: 89.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/1.384, allocations: 144.8 kB / 0.7108 GB, free: 89.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003992/1.385, allocations: 0.619 MB / 0.7114 GB, free: 89.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003675/1.388, allocations: 2.699 MB / 0.714 GB, free: 88.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00751/1.396, allocations: 7.018 MB / 0.7208 GB, free: 81.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/1.402, allocations: 4.243 MB / 0.725 GB, free: 78.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.053e-05/1.402, allocations: 44 kB / 0.725 GB, free: 78.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01628/1.418, allocations: 10.05 MB / 0.7348 GB, free: 68.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.765e-05/1.418, allocations: 72 kB / 0.7349 GB, free: 68.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/1.418, allocations: 152 kB / 0.7351 GB, free: 68.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/1.42, allocations: 0.7226 MB / 0.7358 GB, free: 67.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/1.426, allocations: 1.774 MB / 0.7375 GB, free: 65.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006267/1.432, allocations: 6.462 MB / 0.7438 GB, free: 59.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007353/1.44, allocations: 407.5 kB / 0.7442 GB, free: 58.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.441, allocations: 440 kB / 0.7446 GB, free: 58.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 (913): * Single equations (assignments): 908 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005513/1.447, allocations: 2.64 MB / 0.7472 GB, free: 55.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/1.448, allocations: 473.9 kB / 0.7476 GB, free: 55.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007023/1.455, allocations: 4.364 MB / 0.7519 GB, free: 50.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/1.455, allocations: 30.25 kB / 0.7519 GB, free: 50.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.455, allocations: 7.953 kB / 0.7519 GB, free: 50.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/1.455, allocations: 19.89 kB / 0.752 GB, free: 50.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/1.473, allocations: 10.86 MB / 0.7626 GB, free: 39.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/1.473, allocations: 7.953 kB / 0.7626 GB, free: 39.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002299/1.475, allocations: 0.4953 MB / 0.7631 GB, free: 39.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/1.476, allocations: 493.2 kB / 0.7635 GB, free: 38.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/1.477, allocations: 47.98 kB / 0.7636 GB, free: 38.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005043/1.482, allocations: 5.809 MB / 0.7692 GB, free: 32.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.482, allocations: 0 / 0.7692 GB, free: 32.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008771/1.491, allocations: 7.686 MB / 0.7768 GB, free: 25.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002715/1.493, allocations: 0.8526 MB / 0.7776 GB, free: 24.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005883/1.494, allocations: 47.98 kB / 0.7776 GB, free: 24.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/1.496, allocations: 163.8 kB / 0.7778 GB, free: 24.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/1.496, allocations: 145.8 kB / 0.7779 GB, free: 23.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.496, allocations: 71.98 kB / 0.778 GB, free: 23.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00419/1.5, allocations: 3.376 MB / 0.7813 GB, free: 20.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.5, allocations: 0 / 0.7813 GB, free: 20.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006742/1.507, allocations: 1.324 MB / 0.7826 GB, free: 19.12 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 (224): * Single equations (assignments): 219 * 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.0006053/1.508, allocations: 199.1 kB / 0.7828 GB, free: 18.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009739/1.518, allocations: 6.751 MB / 0.7894 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.518, allocations: 0 / 0.7894 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/1.521, allocations: 2.359 MB / 0.7917 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/1.524, allocations: 0.558 MB / 0.7922 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.546, allocations: 14.61 MB / 0.8065 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004677/1.551, allocations: 4.23 MB / 0.8106 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006636/1.557, allocations: 2.385 MB / 0.8129 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.558, allocations: 323.3 kB / 0.8133 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/1.558, allocations: 4 kB / 0.8133 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.3696/1.928, allocations: 46.83 MB / 0.859 GB, free: 153.2 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: