Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_UniversalSpherical",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.009985/0.009985, allocations: 173.1 kB / 15.12 MB, free: 5.93 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.094/2.094, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.00458/0.00458, allocations: 100.7 kB / 255.6 MB, free: 11.21 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.2556/0.2556, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004804, allocations: 12.47 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 54.87 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5527/0.661, allocations: 115.2 MB / 0.5629 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.6613, allocations: 78.89 kB / 0.5629 GB, free: 21.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241/1.903, allocations: 229.9 MB / 0.7874 GB, free: 59.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.903, allocations: 0 / 0.7874 GB, free: 59.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009074/1.904, allocations: 284.9 kB / 0.7877 GB, free: 59.37 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: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.08449/1.988, allocations: 15.22 MB / 0.8025 GB, free: 54.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.988, allocations: 10.06 kB / 0.8025 GB, free: 54.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01368/2.002, allocations: 2.84 MB / 0.8053 GB, free: 54.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09904/2.101, allocations: 10.5 MB / 0.8156 GB, free: 53.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05191/2.153, allocations: 14.05 MB / 0.8293 GB, free: 52.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001386/2.154, allocations: 1.09 MB / 0.8304 GB, free: 52.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007955/2.162, allocations: 1.447 MB / 0.8318 GB, free: 52.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1129/2.275, allocations: 32.98 MB / 0.864 GB, free: 31.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001214/2.277, allocations: 142.7 kB / 0.8641 GB, free: 31.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007389/2.284, allocations: 0.6608 MB / 0.8648 GB, free: 30.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007866/2.292, allocations: 2.546 MB / 0.8672 GB, free: 28.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1182/2.41, allocations: 27.3 MB / 0.8939 GB, free: 3.918 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6796/3.09, allocations: 131.4 MB / 1.022 GB, free: 35.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06158/3.152, allocations: 13 MB / 1.035 GB, free: 34.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07009/3.222, allocations: 30.99 MB / 1.065 GB, free: 20.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/3.222, allocations: 77.59 kB / 1.065 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=424): time 8.245e-06/3.222, allocations: 5.031 kB / 1.065 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=554): time 1.104/4.326, allocations: 127.3 MB / 1.19 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05347/4.38, allocations: 24.19 MB / 1.213 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02407/4.404, allocations: 8.341 MB / 1.221 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00213/4.406, allocations: 105.8 kB / 1.221 GB, free: 100.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.008662/4.415, allocations: 8.939 MB / 1.23 GB, free: 93.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004411/4.419, allocations: 2.142 MB / 1.232 GB, free: 92.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003667/4.423, allocations: 322.6 kB / 1.233 GB, free: 91.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00183/4.425, allocations: 0.9872 MB / 1.234 GB, free: 91.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02217/4.447, allocations: 9.385 MB / 1.243 GB, free: 87.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02828/4.475, allocations: 18.65 MB / 1.261 GB, free: 71.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0279/4.503, allocations: 12.86 MB / 1.273 GB, free: 62.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003882/4.504, allocations: 99.33 kB / 1.274 GB, free: 62.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.1174/4.621, allocations: 35.26 MB / 1.308 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002224/4.621, allocations: 144 kB / 1.308 GB, free: 33.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5022/5.124, allocations: 22.12 MB / 1.33 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1213/5.245, allocations: 9.32 MB / 1.339 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03066/5.276, allocations: 3.932 MB / 1.343 GB, free: 100 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08351/5.359, allocations: 48.42 MB / 1.39 GB, free: 84.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04099/5.4, allocations: 1.696 MB / 1.392 GB, free: 84.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005955/5.406, allocations: 0.9835 MB / 1.393 GB, free: 84.01 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1485 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (1958): * Single equations (assignments): 1931 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02662/5.433, allocations: 6.277 MB / 1.399 GB, free: 81.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003558/5.437, allocations: 0.8737 MB / 1.4 GB, free: 81.52 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1164/5.553, allocations: 27.63 MB / 1.427 GB, free: 73.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1082/5.661, allocations: 25.81 MB / 1.452 GB, free: 64.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001228/5.661, allocations: 20 kB / 1.452 GB, free: 64.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001801/5.662, allocations: 30.3 kB / 1.452 GB, free: 64.21 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1955/5.857, allocations: 58.69 MB / 1.509 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001231/5.857, allocations: 7.953 kB / 1.509 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01097/5.868, allocations: 1.078 MB / 1.51 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5128/6.381, allocations: 14.01 MB / 1.524 GB, free: 93.53 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002067/6.383, allocations: 170.7 kB / 1.524 GB, free: 93.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1289/6.512, allocations: 61.81 MB / 1.584 GB, free: 80 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05315/6.565, allocations: 23.93 MB / 1.608 GB, free: 67.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1365/6.702, allocations: 39.5 MB / 1.646 GB, free: 53.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009935/6.712, allocations: 2.477 MB / 1.649 GB, free: 52.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004083/6.716, allocations: 122.5 kB / 1.649 GB, free: 52.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01504/6.731, allocations: 0.8556 MB / 1.65 GB, free: 52.79 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003502/6.735, allocations: 418.2 kB / 1.65 GB, free: 52.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001243/6.736, allocations: 177.2 kB / 1.65 GB, free: 52.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01575/6.752, allocations: 5.773 MB / 1.656 GB, free: 50.78 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.32e-07/6.752, allocations: 0.9375 kB / 1.656 GB, free: 50.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02452/6.776, allocations: 4.283 MB / 1.66 GB, free: 46.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1345/6.911, allocations: 40.56 MB / 1.7 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.4578/7.369, allocations: 23.46 MB / 1.723 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/7.369, allocations: 1.656 kB / 1.723 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03313/7.402, allocations: 11.23 MB / 1.734 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01186/7.414, allocations: 1.27 MB / 1.735 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6276/8.042, allocations: 295.4 MB / 2.023 GB, free: 84.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03097/8.073, allocations: 9.485 MB / 2.033 GB, free: 83.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.02649/8.099, allocations: 5.098 MB / 2.038 GB, free: 83.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01857/8.118, allocations: 6.63 MB / 2.044 GB, free: 83.78 MB / 0.6355 GB Notification: Performance of SimCode: time 1.583e-06/8.118, allocations: 0 / 2.044 GB, free: 83.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.155/9.273, allocations: 283.4 MB / 2.321 GB, free: 94.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/9.274, allocations: 211.3 kB / 2.321 GB, free: 94.05 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/21.96, allocations: 3.938 kB / 2.321 GB, free: 94.05 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat