Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01084/0.01084, allocations: 176.1 kB / 15.12 MB, free: 5.984 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 2.082/2.082, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.002284/0.002284, allocations: 124.7 kB / 255.6 MB, free: 10.24 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.3294/0.3294, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004701, allocations: 11.41 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1206, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6097/0.7303, allocations: 99.45 MB / 0.5474 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.7307, allocations: 82.67 kB / 0.5475 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6508/1.382, allocations: 162.5 MB / 0.7062 GB, free: 15.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.697e-06/1.382, allocations: 0 / 0.7062 GB, free: 15.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007491/1.382, allocations: 168 kB / 0.7064 GB, free: 15.13 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.04246/1.425, allocations: 8.776 MB / 0.715 GB, free: 6.262 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/1.425, allocations: 8.031 kB / 0.715 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007511/1.432, allocations: 1.408 MB / 0.7163 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4524/1.885, allocations: 12.01 MB / 0.7281 GB, free: 71.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04159/1.927, allocations: 10.85 MB / 0.7387 GB, free: 71.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008609/1.928, allocations: 0.61 MB / 0.7393 GB, free: 71.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004816/1.932, allocations: 0.8138 MB / 0.7401 GB, free: 71.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06145/1.994, allocations: 19.26 MB / 0.7589 GB, free: 67.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007504/1.995, allocations: 104.9 kB / 0.759 GB, free: 67.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004283/1.999, allocations: 384.9 kB / 0.7593 GB, free: 67.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004019/2.003, allocations: 1.738 MB / 0.761 GB, free: 67.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05086/2.054, allocations: 15.71 MB / 0.7764 GB, free: 67.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1324/2.186, allocations: 79.63 MB / 0.8541 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03514/2.222, allocations: 8.275 MB / 0.8622 GB, free: 28.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/2.223, allocations: 0.669 MB / 0.8629 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.443e-05/2.223, allocations: 71.66 kB / 0.863 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 7.384e-06/2.223, allocations: 0 / 0.863 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=331): time 0.1286/2.351, allocations: 30.24 MB / 0.8925 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/2.352, allocations: 294.5 kB / 0.8928 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02083/2.373, allocations: 6.792 MB / 0.8994 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000887/2.373, allocations: 77.53 kB / 0.8995 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007023/2.381, allocations: 5.606 MB / 0.9049 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002478/2.383, allocations: 1.244 MB / 0.9062 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/2.385, allocations: 192 kB / 0.9063 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008844/2.386, allocations: 0.7051 MB / 0.907 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/2.396, allocations: 3.453 MB / 0.9104 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.394/2.79, allocations: 8.942 MB / 0.9191 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0147/2.805, allocations: 5.427 MB / 0.9244 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003306/2.805, allocations: 55.94 kB / 0.9245 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.03979/2.845, allocations: 13.02 MB / 0.9372 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001818/2.845, allocations: 88.41 kB / 0.9373 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003535/2.846, allocations: 193.3 kB / 0.9375 GB, free: 89.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004281/2.85, allocations: 1.008 MB / 0.9385 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/2.864, allocations: 2.154 MB / 0.9406 GB, free: 89.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/2.883, allocations: 11.2 MB / 0.9515 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/2.895, allocations: 0.5118 MB / 0.952 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002495/2.898, allocations: 0.5531 MB / 0.9525 GB, free: 84.1 MB / 0.5105 GB 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.01161/2.91, allocations: 3.73 MB / 0.9562 GB, free: 83.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00214/2.912, allocations: 0.6596 MB / 0.9568 GB, free: 83.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01904/2.931, allocations: 5.942 MB / 0.9626 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.833e-05/2.931, allocations: 32.94 kB / 0.9627 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-05/2.931, allocations: 7.594 kB / 0.9627 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.196e-05/2.931, allocations: 19.34 kB / 0.9627 GB, free: 83.53 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04741/2.978, allocations: 14.72 MB / 0.9771 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/2.979, allocations: 2.938 kB / 0.9771 GB, free: 82.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005245/2.984, allocations: 0.5279 MB / 0.9776 GB, free: 82.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003361/2.987, allocations: 0.6625 MB / 0.9782 GB, free: 82.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008011/2.988, allocations: 63.17 kB / 0.9783 GB, free: 82.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/3.004, allocations: 10.07 MB / 0.9881 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/3.004, allocations: 0 / 0.9881 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02531/3.029, allocations: 10.05 MB / 0.9979 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005054/3.034, allocations: 1.169 MB / 0.9991 GB, free: 71.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003003/3.037, allocations: 55.22 kB / 0.9991 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006641/3.044, allocations: 196.5 kB / 0.9993 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/3.045, allocations: 195.1 kB / 0.9995 GB, free: 71.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007183/3.046, allocations: 85.5 kB / 0.9996 GB, free: 71.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0145/3.061, allocations: 4.813 MB / 1.004 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.21e-07/3.061, allocations: 0 / 1.004 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01358/3.074, allocations: 1.809 MB / 1.006 GB, free: 70 MB / 0.5105 GB 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.02714/3.102, allocations: 11.01 MB / 1.017 GB, free: 64.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02185/3.123, allocations: 8.785 MB / 1.025 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/3.123, allocations: 4.922 kB / 1.025 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008154/3.132, allocations: 3.195 MB / 1.029 GB, free: 59.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008252/3.14, allocations: 0.9099 MB / 1.029 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5888/3.729, allocations: 206.1 MB / 1.231 GB, free: 25.63 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01589/3.745, allocations: 5.897 MB / 1.236 GB, free: 24.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01522/3.76, allocations: 3.036 MB / 1.239 GB, free: 24.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01045/3.771, allocations: 3.912 MB / 1.243 GB, free: 24.66 MB / 0.5573 GB Notification: Performance of SimCode: time 1.783e-06/3.771, allocations: 0 / 1.243 GB, free: 24.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.752/4.523, allocations: 146.5 MB / 1.386 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/4.523, allocations: 194.5 kB / 1.386 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.259/13.78, allocations: 0 / 1.386 GB, free: 115.8 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat