Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForces2",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.01075/0.01075, allocations: 175.8 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.095/2.095, allocations: 194.5 MB / 210.3 MB, free: 8.777 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.002175/0.002174, allocations: 116.6 kB / 255.6 MB, free: 11.4 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.2735/0.2735, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004733, allocations: 12.09 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 54.88 MB / 461.1 MB, free: 3.293 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5437/0.6473, allocations: 99.58 MB / 0.5476 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.6477, allocations: 77.89 kB / 0.5476 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5891/1.237, allocations: 136.9 MB / 0.6814 GB, free: 9.055 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.237, allocations: 0 / 0.6814 GB, free: 9.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005841/1.237, allocations: 143.9 kB / 0.6815 GB, free: 8.914 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.03421/1.272, allocations: 7.259 MB / 0.6886 GB, free: 1.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/1.272, allocations: 12.03 kB / 0.6886 GB, free: 1.559 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00634/1.278, allocations: 1.186 MB / 0.6898 GB, free: 368 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07797/1.356, allocations: 9.48 MB / 0.699 GB, free: 6.852 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07895/1.435, allocations: 8.773 MB / 0.7076 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/1.436, allocations: 0.5055 MB / 0.7081 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004948/1.441, allocations: 0.6793 MB / 0.7088 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7552/2.197, allocations: 16.1 MB / 0.7245 GB, free: 79.41 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008695/2.198, allocations: 96.75 kB / 0.7246 GB, free: 79.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00412/2.202, allocations: 331.7 kB / 0.7249 GB, free: 79.41 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003999/2.206, allocations: 1.458 MB / 0.7263 GB, free: 79.39 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04377/2.25, allocations: 12.86 MB / 0.7389 GB, free: 79.34 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1092/2.359, allocations: 70.69 MB / 0.8079 GB, free: 54.3 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02377/2.383, allocations: 5.926 MB / 0.8137 GB, free: 52.13 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/2.383, allocations: 42.66 kB / 0.8137 GB, free: 52.12 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/2.383, allocations: 66.09 kB / 0.8138 GB, free: 52.07 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=242): time 7.123e-06/2.383, allocations: 0 / 0.8138 GB, free: 52.07 MB / 0.4949 GB Notification: Performance of matching and sorting (n=260): time 0.09523/2.478, allocations: 22.47 MB / 0.8357 GB, free: 42.69 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/2.478, allocations: 261.7 kB / 0.836 GB, free: 42.4 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01672/2.495, allocations: 6.145 MB / 0.842 GB, free: 40.36 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006931/2.496, allocations: 65.05 kB / 0.8421 GB, free: 40.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00523/2.501, allocations: 4.867 MB / 0.8468 GB, free: 36.73 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001688/2.503, allocations: 1 MB / 0.8478 GB, free: 36 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/2.504, allocations: 172 kB / 0.8479 GB, free: 35.87 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000853/2.505, allocations: 0.6595 MB / 0.8486 GB, free: 35.42 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007766/2.513, allocations: 2.863 MB / 0.8514 GB, free: 34.48 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/2.525, allocations: 7.994 MB / 0.8592 GB, free: 26.55 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/2.536, allocations: 4.677 MB / 0.8638 GB, free: 24.78 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002392/2.536, allocations: 52.25 kB / 0.8638 GB, free: 24.78 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.03075/2.567, allocations: 11.21 MB / 0.8748 GB, free: 17.89 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/2.567, allocations: 81.25 kB / 0.8748 GB, free: 17.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002931/2.567, allocations: 187.8 kB / 0.875 GB, free: 17.63 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/2.57, allocations: 0.8136 MB / 0.8758 GB, free: 16.95 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01195/2.582, allocations: 1.926 MB / 0.8777 GB, free: 15.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/2.598, allocations: 8.453 MB / 0.8859 GB, free: 7.234 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.609, allocations: 461.5 kB / 0.8864 GB, free: 6.824 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002295/2.611, allocations: 0.5027 MB / 0.8869 GB, free: 6.332 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1033): * Single equations (assignments): 1027 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01019/2.621, allocations: 3.195 MB / 0.89 GB, free: 3.523 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/2.623, allocations: 0.5823 MB / 0.8906 GB, free: 2.934 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/2.638, allocations: 4.372 MB / 0.8948 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.231e-05/2.638, allocations: 28 kB / 0.8949 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/2.638, allocations: 11.95 kB / 0.8949 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.769e-05/2.638, allocations: 18.72 kB / 0.8949 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03794/2.676, allocations: 11.22 MB / 0.9058 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/2.676, allocations: 4 kB / 0.9059 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004308/2.681, allocations: 410.3 kB / 0.9062 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/2.683, allocations: 0.5071 MB / 0.9067 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006111/2.684, allocations: 43.33 kB / 0.9068 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.388/3.072, allocations: 7.53 MB / 0.9141 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/3.072, allocations: 2.125 kB / 0.9141 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/3.094, allocations: 7.735 MB / 0.9217 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004292/3.098, allocations: 0.996 MB / 0.9227 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002414/3.1, allocations: 46 kB / 0.9227 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005876/3.106, allocations: 141.3 kB / 0.9228 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/3.108, allocations: 148 kB / 0.923 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006042/3.108, allocations: 67.5 kB / 0.923 GB, free: 104 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01502/3.123, allocations: 4.39 MB / 0.9273 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.71e-07/3.123, allocations: 6.75 kB / 0.9273 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01374/3.137, allocations: 1.519 MB / 0.9288 GB, free: 103.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.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 (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.03048/3.168, allocations: 8.573 MB / 0.9372 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02395/3.192, allocations: 7.236 MB / 0.9443 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/3.192, allocations: 5.812 kB / 0.9443 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009154/3.201, allocations: 2.443 MB / 0.9467 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00966/3.211, allocations: 0.752 MB / 0.9474 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6055/3.816, allocations: 185.9 MB / 1.129 GB, free: 172.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01319/3.829, allocations: 5.028 MB / 1.134 GB, free: 171.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01394/3.843, allocations: 2.752 MB / 1.136 GB, free: 171.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00855/3.852, allocations: 3.243 MB / 1.14 GB, free: 171.4 MB / 0.573 GB Notification: Performance of SimCode: time 1.113e-06/3.852, allocations: 0 / 1.14 GB, free: 171.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3327/4.185, allocations: 122.8 MB / 1.26 GB, free: 101.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/4.185, allocations: 199.3 kB / 1.26 GB, free: 101.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/12.22, allocations: 0 / 1.26 GB, free: 101.2 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat