Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces2",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.009735/0.009735, allocations: 166.3 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.702/1.702, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001998/0.001998, allocations: 115.3 kB / 226.2 MB, free: 10.09 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.4579/0.4579, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004883, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1147, allocations: 48.7 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4735/0.5882, allocations: 92.64 MB / 0.4925 GB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5885, allocations: 74.72 kB / 0.4926 GB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.999/1.588, allocations: 162.3 MB / 0.6511 GB, free: 68.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.506e-06/1.588, allocations: 0 / 0.6511 GB, free: 68.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006045/1.588, allocations: 169.5 kB / 0.6513 GB, free: 68.28 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: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.03809/1.626, allocations: 8.772 MB / 0.6599 GB, free: 64.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.626, allocations: 15.41 kB / 0.6599 GB, free: 64.82 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007246/1.634, allocations: 1.404 MB / 0.6612 GB, free: 64.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0863/1.72, allocations: 12.02 MB / 0.673 GB, free: 62.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03741/1.757, allocations: 10.85 MB / 0.6836 GB, free: 56.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007979/1.758, allocations: 0.5981 MB / 0.6841 GB, free: 56.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005114/1.763, allocations: 0.8182 MB / 0.6849 GB, free: 56.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06221/1.826, allocations: 19.25 MB / 0.7037 GB, free: 39.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006441/1.826, allocations: 107.1 kB / 0.7038 GB, free: 39.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004021/1.83, allocations: 381.7 kB / 0.7042 GB, free: 39.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003853/1.834, allocations: 1.728 MB / 0.7059 GB, free: 37.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0508/1.885, allocations: 15.7 MB / 0.7212 GB, free: 21.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4871/2.372, allocations: 79.6 MB / 0.799 GB, free: 40.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03546/2.408, allocations: 8.256 MB / 0.807 GB, free: 39.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/2.409, allocations: 0.6672 MB / 0.8077 GB, free: 39.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/2.409, allocations: 70.61 kB / 0.8077 GB, free: 39.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=307): time 7.424e-06/2.409, allocations: 2.938 kB / 0.8078 GB, free: 39.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=331): time 0.1354/2.545, allocations: 30.25 MB / 0.8373 GB, free: 32.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/2.545, allocations: 294.2 kB / 0.8376 GB, free: 32.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01807/2.563, allocations: 6.725 MB / 0.8441 GB, free: 31.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008868/2.564, allocations: 81 kB / 0.8442 GB, free: 31.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005684/2.569, allocations: 5.604 MB / 0.8497 GB, free: 28.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002094/2.572, allocations: 1.246 MB / 0.8509 GB, free: 27.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001511/2.573, allocations: 188.8 kB / 0.8511 GB, free: 27.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000852/2.574, allocations: 0.703 MB / 0.8518 GB, free: 27.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009342/2.583, allocations: 3.454 MB / 0.8551 GB, free: 26.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01331/2.597, allocations: 8.937 MB / 0.8639 GB, free: 17.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/2.61, allocations: 5.428 MB / 0.8692 GB, free: 15.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000215/2.61, allocations: 59.22 kB / 0.8692 GB, free: 15.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.03608/2.646, allocations: 13.02 MB / 0.8819 GB, free: 11.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/2.646, allocations: 89.05 kB / 0.882 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003692/2.647, allocations: 195.1 kB / 0.8822 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004281/2.651, allocations: 1.012 MB / 0.8832 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0137/2.665, allocations: 2.152 MB / 0.8853 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/2.684, allocations: 11.21 MB / 0.8963 GB, free: 18.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/2.697, allocations: 0.5144 MB / 0.8968 GB, free: 18.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002461/2.699, allocations: 0.5474 MB / 0.8973 GB, free: 18.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 882 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1149): * Single equations (assignments): 1142 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01155/2.711, allocations: 3.735 MB / 0.9009 GB, free: 16.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002279/2.713, allocations: 0.6581 MB / 0.9016 GB, free: 16.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02004/2.733, allocations: 5.938 MB / 0.9074 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.38e-05/2.733, allocations: 39.19 kB / 0.9074 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.876e-05/2.733, allocations: 8 kB / 0.9074 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.36e-05/2.733, allocations: 13.64 kB / 0.9074 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04823/2.782, allocations: 14.73 MB / 0.9218 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-05/2.782, allocations: 4.094 kB / 0.9218 GB, free: 1.207 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005492/2.787, allocations: 0.5256 MB / 0.9223 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003596/2.791, allocations: 0.6712 MB / 0.923 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007764/2.792, allocations: 66.97 kB / 0.9231 GB, free: 220 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/2.81, allocations: 10.06 MB / 0.9329 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/2.81, allocations: 0 / 0.9329 GB, free: 6.543 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3853/3.195, allocations: 10.93 MB / 0.9436 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005084/3.2, allocations: 1.167 MB / 0.9447 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002495/3.203, allocations: 57.16 kB / 0.9448 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00742/3.21, allocations: 194 kB / 0.9449 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001396/3.212, allocations: 191.6 kB / 0.9451 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006049/3.212, allocations: 84.77 kB / 0.9452 GB, free: 111.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01585/3.228, allocations: 4.818 MB / 0.9499 GB, free: 111.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.112e-06/3.228, allocations: 1.094 kB / 0.9499 GB, free: 111.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01354/3.242, allocations: 1.815 MB / 0.9517 GB, free: 111.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(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.02698/3.269, allocations: 11.01 MB / 0.9624 GB, free: 109.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02201/3.291, allocations: 8.782 MB / 0.971 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/3.291, allocations: 0.7031 kB / 0.971 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007094/3.298, allocations: 3.199 MB / 0.9741 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008854/3.307, allocations: 0.9052 MB / 0.975 GB, free: 108.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6211/3.928, allocations: 206.1 MB / 1.176 GB, free: 144.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01773/3.946, allocations: 5.897 MB / 1.182 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01646/3.963, allocations: 3.038 MB / 1.185 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01126/3.974, allocations: 3.912 MB / 1.189 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.663e-06/3.974, allocations: 0 / 1.189 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7299/4.704, allocations: 146.5 MB / 1.332 GB, free: 159.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/4.704, allocations: 205.5 kB / 1.332 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.056/13.76, allocations: 0.875 kB / 1.332 GB, free: 159.1 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat