Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP",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.01457/0.01457, allocations: 174 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 1.978/1.978, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.002014/0.002013, allocations: 100.7 kB / 255.6 MB, free: 10.43 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.2714/0.2714, allocations: 40 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000636/0.000636, allocations: 12.5 kB / 406.3 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1217, allocations: 54.88 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5269/0.6486, allocations: 100.2 MB / 0.5481 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.6489, allocations: 78.73 kB / 0.5482 GB, free: 21.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.322/0.9709, allocations: 74.47 MB / 0.6209 GB, free: 6.117 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.971, allocations: 0 / 0.6209 GB, free: 6.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002993/0.9713, allocations: 68 kB / 0.621 GB, free: 6.051 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.02273/0.9941, allocations: 3.743 MB / 0.6247 GB, free: 2.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.441e-05/0.9942, allocations: 8.031 kB / 0.6247 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004304/0.9985, allocations: 0.6664 MB / 0.6253 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009647/1.008, allocations: 0.6711 MB / 0.626 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/1.021, allocations: 2.186 MB / 0.6281 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006169/1.021, allocations: 299.8 kB / 0.6284 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0022/1.023, allocations: 391.8 kB / 0.6288 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03141/1.055, allocations: 8.552 MB / 0.6371 GB, free: 6.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/1.055, allocations: 15.88 kB / 0.6371 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/1.056, allocations: 171.9 kB / 0.6373 GB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/1.059, allocations: 0.7914 MB / 0.6381 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02699/1.086, allocations: 6.766 MB / 0.6447 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06274/1.149, allocations: 27.72 MB / 0.6718 GB, free: 1.836 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01407/1.163, allocations: 1.94 MB / 0.6737 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02251/1.185, allocations: 6.349 MB / 0.6799 GB, free: 8.973 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.594e-05/1.185, allocations: 47.16 kB / 0.6799 GB, free: 8.918 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 6.041e-06/1.185, allocations: 3.938 kB / 0.6799 GB, free: 8.914 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.04593/1.231, allocations: 6.288 MB / 0.686 GB, free: 2.574 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/1.232, allocations: 141.5 kB / 0.6862 GB, free: 2.406 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007967/1.24, allocations: 2.199 MB / 0.6883 GB, free: 192 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002909/1.24, allocations: 42.08 kB / 0.6884 GB, free: 144 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003835/1.244, allocations: 2.399 MB / 0.6907 GB, free: 13.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008814/1.245, allocations: 387.2 kB / 0.6911 GB, free: 13.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005494/1.245, allocations: 72 kB / 0.6911 GB, free: 13.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004883/1.246, allocations: 466 kB / 0.6916 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004329/1.25, allocations: 0.9325 MB / 0.6925 GB, free: 11.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008066/1.258, allocations: 3.224 MB / 0.6957 GB, free: 7.488 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007071/1.266, allocations: 1.681 MB / 0.6973 GB, free: 5.809 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/1.266, allocations: 24 kB / 0.6973 GB, free: 5.785 MB / 474.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01872/1.284, allocations: 4.063 MB / 0.7013 GB, free: 1.715 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/1.285, allocations: 40 kB / 0.7013 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/1.285, allocations: 80 kB / 0.7014 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/1.285, allocations: 120 kB / 0.7015 GB, free: 1.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008275/1.293, allocations: 0.8889 MB / 0.7024 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003012/1.294, allocations: 167.4 kB / 0.7025 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006129/1.3, allocations: 164 kB / 0.7027 GB, free: 272 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.301, allocations: 232 kB / 0.7029 GB, free: 40 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (480): * Single equations (assignments): 480 * 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.005868/1.307, allocations: 1.569 MB / 0.7044 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008169/1.308, allocations: 225.1 kB / 0.7047 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/1.313, allocations: 1.126 MB / 0.7058 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/1.313, allocations: 12 kB / 0.7058 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.313, allocations: 0 / 0.7058 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/1.313, allocations: 3.984 kB / 0.7058 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/1.336, allocations: 6.163 MB / 0.7118 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.607e-05/1.336, allocations: 20 kB / 0.7118 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.338, allocations: 247.5 kB / 0.7121 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.765e-05/1.339, allocations: 28 kB / 0.7121 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002396/1.339, allocations: 52.09 kB / 0.7121 GB, free: 6.227 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.851e-05/1.339, allocations: 35.86 kB / 0.7122 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.998e-05/1.339, allocations: 32.28 kB / 0.7122 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007186/1.346, allocations: 3.773 MB / 0.7159 GB, free: 1.688 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.348, allocations: 326 kB / 0.7162 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007157/1.348, allocations: 47.98 kB / 0.7162 GB, free: 1.301 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002625/1.351, allocations: 51.94 kB / 0.7163 GB, free: 1.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005362/1.352, allocations: 139.5 kB / 0.7164 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/1.352, allocations: 59.95 kB / 0.7165 GB, free: 1.055 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.4354/1.787, allocations: 1.601 MB / 0.718 GB, free: 127 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.787, allocations: 0.6875 kB / 0.718 GB, free: 127 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004576/1.792, allocations: 0.6574 MB / 0.7187 GB, free: 127 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * 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 (133): * Single equations (assignments): 133 * 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.005183/1.797, allocations: 9.624 MB / 0.7281 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005829/1.803, allocations: 2.3 MB / 0.7303 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.533e-05/1.803, allocations: 4.188 kB / 0.7303 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.805, allocations: 0.5688 MB / 0.7309 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/1.807, allocations: 301.6 kB / 0.7312 GB, free: 118.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03893/1.846, allocations: 68.44 MB / 0.798 GB, free: 54.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007742/1.854, allocations: 2.811 MB / 0.8008 GB, free: 53.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005392/1.859, allocations: 1.005 MB / 0.8017 GB, free: 53.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003597/1.863, allocations: 1.464 MB / 0.8032 GB, free: 53.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/1.863, allocations: 0 / 0.8032 GB, free: 53.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/1.993, allocations: 47.37 MB / 0.8494 GB, free: 45.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/1.993, allocations: 170.3 kB / 0.8496 GB, free: 45.58 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.317/6.31, allocations: 0 / 0.8496 GB, free: 45.58 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat