Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointSSP",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.01435/0.01436, allocations: 177.1 kB / 15.12 MB, free: 5.934 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.132/2.132, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.003386/0.003386, allocations: 112.7 kB / 255.6 MB, free: 10.25 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.2578/0.2578, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005084, allocations: 16.44 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.102, allocations: 54.88 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5462/0.6482, allocations: 98.99 MB / 0.547 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.6486, allocations: 79.83 kB / 0.5471 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2239/0.8725, allocations: 54.51 MB / 0.6003 GB, free: 4.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.8726, allocations: 3.938 kB / 0.6003 GB, free: 4.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001483/0.8727, allocations: 53.72 kB / 0.6004 GB, free: 4.988 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.008836/0.8816, allocations: 2.487 MB / 0.6028 GB, free: 3.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.8817, allocations: 11.47 kB / 0.6028 GB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002045/0.8837, allocations: 482.6 kB / 0.6033 GB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.8879, allocations: 476.2 kB / 0.6037 GB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004938/0.8929, allocations: 1.516 MB / 0.6052 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.8932, allocations: 216.3 kB / 0.6054 GB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.8945, allocations: 286.2 kB / 0.6057 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/0.9168, allocations: 5.994 MB / 0.6115 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/0.9171, allocations: 15.81 kB / 0.6115 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/0.9185, allocations: 125.4 kB / 0.6117 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001572/0.9201, allocations: 478.8 kB / 0.6121 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/0.9393, allocations: 4.571 MB / 0.6166 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04085/0.9802, allocations: 19.87 MB / 0.636 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007721/0.988, allocations: 1.243 MB / 0.6372 GB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00292/0.9909, allocations: 2.073 MB / 0.6392 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.513e-05/0.9911, allocations: 43.12 kB / 0.6393 GB, free: 2.176 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 3.887e-06/0.9911, allocations: 4 kB / 0.6393 GB, free: 2.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.05029/1.041, allocations: 6.615 MB / 0.6457 GB, free: 11.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/1.042, allocations: 90.11 kB / 0.6458 GB, free: 11.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/1.046, allocations: 1.607 MB / 0.6474 GB, free: 9.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.046, allocations: 45.7 kB / 0.6474 GB, free: 9.773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/1.048, allocations: 1.636 MB / 0.649 GB, free: 8.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/1.048, allocations: 410.2 kB / 0.6494 GB, free: 7.734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/1.048, allocations: 60 kB / 0.6495 GB, free: 7.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003449/1.049, allocations: 423.7 kB / 0.6499 GB, free: 7.258 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/1.051, allocations: 0.7824 MB / 0.6506 GB, free: 6.473 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003538/1.055, allocations: 2.325 MB / 0.6529 GB, free: 3.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/1.058, allocations: 1.322 MB / 0.6542 GB, free: 2.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-05/1.058, allocations: 19.94 kB / 0.6542 GB, free: 2.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008862/1.067, allocations: 3.105 MB / 0.6573 GB, free: 14.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/1.067, allocations: 28.97 kB / 0.6573 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.561e-05/1.068, allocations: 56 kB / 0.6573 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/1.068, allocations: 80 kB / 0.6574 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004249/1.072, allocations: 0.6434 MB / 0.658 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001454/1.072, allocations: 111.6 kB / 0.6582 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/1.075, allocations: 119.8 kB / 0.6583 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004004/1.075, allocations: 164 kB / 0.6584 GB, free: 13.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 359 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003152/1.078, allocations: 1.191 MB / 0.6596 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004954/1.079, allocations: 173.8 kB / 0.6598 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/1.083, allocations: 1.262 MB / 0.661 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/1.083, allocations: 12 kB / 0.661 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.083, allocations: 0 / 0.661 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/1.083, allocations: 7.984 kB / 0.661 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/1.099, allocations: 6.441 MB / 0.6673 GB, free: 4.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-05/1.1, allocations: 23.94 kB / 0.6673 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/1.101, allocations: 199.6 kB / 0.6675 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-05/1.101, allocations: 28 kB / 0.6675 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.804e-05/1.101, allocations: 51.92 kB / 0.6676 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.053e-05/1.101, allocations: 39.86 kB / 0.6676 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.045e-05/1.101, allocations: 31.88 kB / 0.6677 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004528/1.106, allocations: 3.174 MB / 0.6708 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008383/1.107, allocations: 274.8 kB / 0.671 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/1.107, allocations: 59.92 kB / 0.6711 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.108, allocations: 36 kB / 0.6711 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/1.109, allocations: 139.4 kB / 0.6712 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/1.109, allocations: 55.98 kB / 0.6713 GB, free: 15.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003251/1.112, allocations: 1.196 MB / 0.6725 GB, free: 13.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.112, allocations: 0 / 0.6725 GB, free: 13.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003989/1.116, allocations: 0.4922 MB / 0.6729 GB, free: 13.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * 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 (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007612/1.124, allocations: 9.453 MB / 0.6822 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005359/1.129, allocations: 1.809 MB / 0.6839 GB, free: 1.516 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.578e-05/1.129, allocations: 8.25 kB / 0.6839 GB, free: 1.508 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/1.131, allocations: 495.7 kB / 0.6844 GB, free: 1.031 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/1.133, allocations: 250.4 kB / 0.6847 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3568/1.49, allocations: 46.58 MB / 0.7301 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004756/1.494, allocations: 2.235 MB / 0.7323 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003982/1.499, allocations: 0.7085 MB / 0.733 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002747/1.501, allocations: 1.032 MB / 0.734 GB, free: 127.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.353e-06/1.501, allocations: 2.906 kB / 0.734 GB, free: 127.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/1.623, allocations: 36.45 MB / 0.7696 GB, free: 125.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/1.623, allocations: 162.4 kB / 0.7698 GB, free: 125.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.647/5.27, allocations: 0 / 0.7698 GB, free: 125.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat