Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01015/0.01015, allocations: 166.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.697/1.697, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001967/0.001966, allocations: 118.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4288/0.4288, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006566/0.0006565, allocations: 16 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1096, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.546, allocations: 98.09 MB / 0.4978 GB, free: 5.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5464, allocations: 78.45 kB / 0.4979 GB, free: 5.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7714/1.318, allocations: 110.6 MB / 0.6059 GB, free: 74.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/1.318, allocations: 0 / 0.6059 GB, free: 74.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004435/1.318, allocations: 107.9 kB / 0.606 GB, free: 74.89 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.03022/1.349, allocations: 6.354 MB / 0.6122 GB, free: 72.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.349, allocations: 9.75 kB / 0.6123 GB, free: 72.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005159/1.354, allocations: 0.969 MB / 0.6132 GB, free: 72.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05126/1.405, allocations: 6.89 MB / 0.6199 GB, free: 71.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02826/1.433, allocations: 7.098 MB / 0.6269 GB, free: 71.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007004/1.434, allocations: 410.3 kB / 0.6273 GB, free: 71.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003696/1.438, allocations: 0.5349 MB / 0.6278 GB, free: 71.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04815/1.486, allocations: 14.1 MB / 0.6415 GB, free: 68.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005023/1.487, allocations: 79.25 kB / 0.6416 GB, free: 68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003154/1.49, allocations: 260.2 kB / 0.6419 GB, free: 68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003062/1.493, allocations: 1.357 MB / 0.6432 GB, free: 67.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03849/1.531, allocations: 11.73 MB / 0.6547 GB, free: 64.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09378/1.625, allocations: 60.62 MB / 0.7139 GB, free: 21.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02785/1.653, allocations: 5.799 MB / 0.7195 GB, free: 17.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03284/1.686, allocations: 14.75 MB / 0.7339 GB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/1.686, allocations: 64.5 kB / 0.734 GB, free: 4.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 5.921e-06/1.686, allocations: 0 / 0.734 GB, free: 4.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.4613/2.148, allocations: 25.39 MB / 0.7588 GB, free: 85.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/2.148, allocations: 268 kB / 0.759 GB, free: 85.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/2.161, allocations: 4.442 MB / 0.7634 GB, free: 85.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00067/2.161, allocations: 63.09 kB / 0.7634 GB, free: 85.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003919/2.165, allocations: 3.961 MB / 0.7673 GB, free: 83.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001773/2.167, allocations: 0.9861 MB / 0.7683 GB, free: 82.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/2.168, allocations: 147.2 kB / 0.7684 GB, free: 82.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000458/2.169, allocations: 0.6156 MB / 0.769 GB, free: 82.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00703/2.176, allocations: 2.569 MB / 0.7715 GB, free: 82.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0104/2.186, allocations: 6.893 MB / 0.7783 GB, free: 77.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01024/2.196, allocations: 4.112 MB / 0.7823 GB, free: 77.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001972/2.197, allocations: 45.91 kB / 0.7823 GB, free: 77.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02827/2.225, allocations: 9.693 MB / 0.7918 GB, free: 76.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/2.225, allocations: 70.53 kB / 0.7918 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003618/2.225, allocations: 152.1 kB / 0.792 GB, free: 76.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002504/2.228, allocations: 0.5959 MB / 0.7926 GB, free: 76.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01204/2.24, allocations: 1.73 MB / 0.7943 GB, free: 76.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/2.251, allocations: 5.718 MB / 0.7998 GB, free: 72.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009277/2.26, allocations: 396.9 kB / 0.8002 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002245/2.263, allocations: 442.3 kB / 0.8006 GB, free: 72.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 54 (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.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 (912): * Single equations (assignments): 907 * 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.008858/2.271, allocations: 2.634 MB / 0.8032 GB, free: 71.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/2.273, allocations: 474.6 kB / 0.8037 GB, free: 71.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/2.285, allocations: 4.012 MB / 0.8076 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.018e-05/2.285, allocations: 29.42 kB / 0.8076 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/2.285, allocations: 7.156 kB / 0.8076 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.771e-05/2.285, allocations: 18.23 kB / 0.8076 GB, free: 69.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04004/2.325, allocations: 10.27 MB / 0.8177 GB, free: 65.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.444e-05/2.326, allocations: 2.062 kB / 0.8177 GB, free: 65.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007178/2.333, allocations: 478.5 kB / 0.8181 GB, free: 65.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/2.336, allocations: 345.3 kB / 0.8185 GB, free: 65.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000778/2.336, allocations: 42.3 kB / 0.8185 GB, free: 65.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/2.348, allocations: 5.062 MB / 0.8234 GB, free: 61.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/2.348, allocations: 0 / 0.8234 GB, free: 61.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02467/2.373, allocations: 7.142 MB / 0.8304 GB, free: 58.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005041/2.378, allocations: 0.8246 MB / 0.8312 GB, free: 58.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0027/2.38, allocations: 38.5 kB / 0.8313 GB, free: 58.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006408/2.387, allocations: 164.7 kB / 0.8314 GB, free: 58.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000921/2.388, allocations: 144 kB / 0.8315 GB, free: 58.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002794/2.388, allocations: 68.42 kB / 0.8316 GB, free: 58.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008942/2.397, allocations: 3.125 MB / 0.8347 GB, free: 57.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.202e-06/2.397, allocations: 0 / 0.8347 GB, free: 57.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01012/2.407, allocations: 1.292 MB / 0.8359 GB, free: 56.86 MB / 442.7 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.01886/2.426, allocations: 7.971 MB / 0.8437 GB, free: 52.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01634/2.443, allocations: 6.437 MB / 0.85 GB, free: 50.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/2.443, allocations: 0 / 0.85 GB, free: 50.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005555/2.448, allocations: 2.221 MB / 0.8522 GB, free: 49.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005557/2.454, allocations: 0.5606 MB / 0.8527 GB, free: 49.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4736/2.927, allocations: 150.9 MB / 1 GB, free: 20.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/2.94, allocations: 4.217 MB / 1.004 GB, free: 35.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01379/2.953, allocations: 2.38 MB / 1.006 GB, free: 35.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007841/2.961, allocations: 2.627 MB / 1.009 GB, free: 35.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.873e-06/2.961, allocations: 0 / 1.009 GB, free: 35.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5907/3.552, allocations: 99.09 MB / 1.106 GB, free: 87.96 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/3.552, allocations: 198 kB / 1.106 GB, free: 87.72 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/10.41, allocations: 3.938 kB / 1.106 GB, free: 87.72 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat