Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01028/0.01028, allocations: 175.5 kB / 15.12 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.832/1.832, allocations: 194.5 MB / 210.3 MB, free: 11.39 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002034/0.002034, allocations: 112.7 kB / 255.6 MB, free: 14.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4288/0.4288, allocations: 40 MB / 340.8 MB, free: 15 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004582, allocations: 12 kB / 406.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 54.87 MB / 461.1 MB, free: 24.51 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2337/0.5859, allocations: 104.9 MB / 0.5528 GB, free: 2.074 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.5863, allocations: 75.97 kB / 0.5529 GB, free: 2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.733/1.319, allocations: 110.7 MB / 0.661 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.319, allocations: 0 / 0.661 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004049/1.32, allocations: 116 kB / 0.6611 GB, free: 0.7773 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.029/1.349, allocations: 6.348 MB / 0.6673 GB, free: 10.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.349, allocations: 8.031 kB / 0.6673 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005263/1.354, allocations: 0.9762 MB / 0.6683 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05315/1.407, allocations: 6.888 MB / 0.675 GB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02948/1.437, allocations: 7.109 MB / 0.6819 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006223/1.438, allocations: 418.8 kB / 0.6823 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003409/1.441, allocations: 0.5426 MB / 0.6829 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05166/1.493, allocations: 14.1 MB / 0.6966 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005335/1.493, allocations: 83.23 kB / 0.6967 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003743/1.497, allocations: 263.9 kB / 0.697 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003845/1.501, allocations: 1.356 MB / 0.6983 GB, free: 9.355 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04375/1.545, allocations: 11.73 MB / 0.7098 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4707/2.016, allocations: 60.63 MB / 0.769 GB, free: 41.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03546/2.051, allocations: 5.811 MB / 0.7746 GB, free: 40.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04995/2.101, allocations: 14.75 MB / 0.789 GB, free: 36.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.614e-05/2.101, allocations: 65.34 kB / 0.7891 GB, free: 36.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=226): time 9.207e-06/2.101, allocations: 0 / 0.7891 GB, free: 36.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=263): time 0.1398/2.241, allocations: 25.39 MB / 0.8139 GB, free: 29.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/2.241, allocations: 263.2 kB / 0.8142 GB, free: 29.31 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/2.253, allocations: 4.434 MB / 0.8185 GB, free: 27.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007618/2.254, allocations: 75.52 kB / 0.8186 GB, free: 27.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004227/2.258, allocations: 3.965 MB / 0.8224 GB, free: 25.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001735/2.26, allocations: 0.982 MB / 0.8234 GB, free: 24.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/2.261, allocations: 146.8 kB / 0.8235 GB, free: 24.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009557/2.262, allocations: 0.6187 MB / 0.8241 GB, free: 23.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007178/2.27, allocations: 2.573 MB / 0.8266 GB, free: 22.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/2.28, allocations: 6.891 MB / 0.8334 GB, free: 16.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/2.291, allocations: 4.113 MB / 0.8374 GB, free: 14.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001773/2.292, allocations: 44.81 kB / 0.8374 GB, free: 14.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02789/2.319, allocations: 9.698 MB / 0.8469 GB, free: 9.238 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/2.32, allocations: 72 kB / 0.847 GB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002748/2.32, allocations: 152 kB / 0.8471 GB, free: 9.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/2.322, allocations: 0.5862 MB / 0.8477 GB, free: 8.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/2.334, allocations: 1.731 MB / 0.8494 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009691/2.344, allocations: 5.725 MB / 0.855 GB, free: 1.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009036/2.353, allocations: 397.8 kB / 0.8554 GB, free: 1.242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002092/2.355, allocations: 441.9 kB / 0.8558 GB, free: 0.8203 MB / 458.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.01425/2.369, allocations: 2.967 MB / 0.8587 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/2.371, allocations: 469.9 kB / 0.8591 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/2.385, allocations: 4.018 MB / 0.863 GB, free: 11.51 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-05/2.385, allocations: 28 kB / 0.8631 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/2.385, allocations: 8 kB / 0.8631 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.131e-05/2.385, allocations: 10.69 kB / 0.8631 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0357/2.421, allocations: 10.27 MB / 0.8731 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/2.421, allocations: 0 / 0.8731 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004819/2.426, allocations: 470.1 kB / 0.8736 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/2.428, allocations: 346.9 kB / 0.8739 GB, free: 2.457 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007705/2.429, allocations: 49.92 kB / 0.8739 GB, free: 2.414 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009431/2.438, allocations: 5.069 MB / 0.8789 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.438, allocations: 0 / 0.8789 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/2.457, allocations: 7.148 MB / 0.8859 GB, free: 7.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003534/2.461, allocations: 0.8252 MB / 0.8867 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001753/2.463, allocations: 36 kB / 0.8867 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00499/2.468, allocations: 168.1 kB / 0.8869 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009794/2.469, allocations: 146.8 kB / 0.887 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003757/2.469, allocations: 67.42 kB / 0.8871 GB, free: 6.082 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01037/2.479, allocations: 3.118 MB / 0.8901 GB, free: 3.535 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.48, allocations: 0 / 0.8901 GB, free: 3.535 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0103/2.49, allocations: 1.293 MB / 0.8914 GB, free: 2.25 MB / 490.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.02155/2.511, allocations: 7.987 MB / 0.8992 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01766/2.529, allocations: 6.44 MB / 0.9055 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/2.529, allocations: 0 / 0.9055 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005983/2.535, allocations: 2.214 MB / 0.9076 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005463/2.541, allocations: 0.5615 MB / 0.9082 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6708/3.212, allocations: 150.9 MB / 1.056 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01738/3.229, allocations: 4.222 MB / 1.06 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01962/3.249, allocations: 2.376 MB / 1.062 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01097/3.26, allocations: 2.634 MB / 1.065 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of SimCode: time 2.425e-06/3.26, allocations: 0.75 kB / 1.065 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6589/3.919, allocations: 99.11 MB / 1.161 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/3.919, allocations: 205.1 kB / 1.162 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/11.16, allocations: 0 / 1.162 GB, free: 130.8 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat