Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01024/0.01024, allocations: 167.2 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.72/1.72, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001949/0.001949, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4905/0.4905, allocations: 38.06 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004821, allocations: 12 kB / 363 MB, free: 5.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1091, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.433/0.5421, allocations: 93.64 MB / 0.4935 GB, free: 10 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.5424, allocations: 82.89 kB / 0.4936 GB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3035/0.846, allocations: 74.48 MB / 0.5663 GB, free: 4.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.846, allocations: 0 / 0.5663 GB, free: 4.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002278/0.8463, allocations: 72 kB / 0.5664 GB, free: 4.281 MB / 410.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.0168/0.8631, allocations: 3.75 MB / 0.57 GB, free: 480 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.8632, allocations: 8.031 kB / 0.57 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003881/0.8671, allocations: 0.6592 MB / 0.5707 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006973/0.8741, allocations: 0.673 MB / 0.5713 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01279/0.8869, allocations: 2.197 MB / 0.5735 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008472/0.8879, allocations: 291.8 kB / 0.5738 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/0.8904, allocations: 387.9 kB / 0.5741 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03275/0.9232, allocations: 8.553 MB / 0.5825 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001995/0.9235, allocations: 19.77 kB / 0.5825 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/0.9252, allocations: 171.9 kB / 0.5827 GB, free: 3.082 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002862/0.9281, allocations: 0.7915 MB / 0.5834 GB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3339/1.262, allocations: 6.763 MB / 0.59 GB, free: 88.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05612/1.318, allocations: 27.72 MB / 0.6171 GB, free: 76.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/1.329, allocations: 1.943 MB / 0.619 GB, free: 76.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01249/1.342, allocations: 6.346 MB / 0.6252 GB, free: 73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/1.342, allocations: 44.53 kB / 0.6253 GB, free: 72.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 4.699e-06/1.342, allocations: 0 / 0.6253 GB, free: 72.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.02952/1.371, allocations: 6.293 MB / 0.6314 GB, free: 71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/1.372, allocations: 143.7 kB / 0.6315 GB, free: 70.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/1.377, allocations: 2.201 MB / 0.6337 GB, free: 70.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/1.377, allocations: 41.61 kB / 0.6337 GB, free: 70.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002107/1.379, allocations: 2.395 MB / 0.6361 GB, free: 68.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/1.38, allocations: 387.9 kB / 0.6364 GB, free: 68.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/1.38, allocations: 75.47 kB / 0.6365 GB, free: 68.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002716/1.38, allocations: 461.7 kB / 0.637 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/1.383, allocations: 0.9357 MB / 0.6379 GB, free: 67.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004343/1.388, allocations: 3.222 MB / 0.641 GB, free: 63.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004319/1.392, allocations: 1.681 MB / 0.6427 GB, free: 63.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/1.392, allocations: 23.16 kB / 0.6427 GB, free: 63.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01178/1.404, allocations: 4.062 MB / 0.6466 GB, free: 61.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/1.404, allocations: 39.34 kB / 0.6467 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/1.404, allocations: 81.59 kB / 0.6468 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/1.404, allocations: 120.9 kB / 0.6469 GB, free: 61.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005497/1.41, allocations: 0.8933 MB / 0.6477 GB, free: 61.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001641/1.41, allocations: 161.7 kB / 0.6479 GB, free: 61.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003929/1.414, allocations: 167.1 kB / 0.6481 GB, free: 61.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007224/1.415, allocations: 234.1 kB / 0.6483 GB, free: 61.6 MB / 426.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.003972/1.419, allocations: 1.578 MB / 0.6498 GB, free: 60.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/1.419, allocations: 219.4 kB / 0.65 GB, free: 60.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/1.422, allocations: 1.132 MB / 0.6511 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.422, allocations: 10.88 kB / 0.6511 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/1.422, allocations: 3.781 kB / 0.6512 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.422, allocations: 3.797 kB / 0.6512 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/1.437, allocations: 6.161 MB / 0.6572 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.437, allocations: 19.56 kB / 0.6572 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/1.438, allocations: 245 kB / 0.6574 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.521e-05/1.438, allocations: 30.62 kB / 0.6575 GB, free: 57.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.438, allocations: 42.47 kB / 0.6575 GB, free: 57.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.275e-05/1.438, allocations: 38.45 kB / 0.6575 GB, free: 57.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.208e-05/1.438, allocations: 34.34 kB / 0.6576 GB, free: 57.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/1.442, allocations: 3.767 MB / 0.6612 GB, free: 53.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/1.443, allocations: 331.8 kB / 0.6616 GB, free: 53.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005718/1.444, allocations: 51.66 kB / 0.6616 GB, free: 53.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.445, allocations: 51.5 kB / 0.6617 GB, free: 53.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/1.446, allocations: 148.4 kB / 0.6618 GB, free: 53.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.833e-05/1.446, allocations: 56.75 kB / 0.6619 GB, free: 53.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003814/1.449, allocations: 1.595 MB / 0.6634 GB, free: 52.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.449, allocations: 0 / 0.6634 GB, free: 52.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00488/1.454, allocations: 0.6551 MB / 0.6641 GB, free: 52.38 MB / 426.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.005084/1.46, allocations: 9.626 MB / 0.6735 GB, free: 42.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005574/1.465, allocations: 2.296 MB / 0.6757 GB, free: 42.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-05/1.465, allocations: 0 / 0.6757 GB, free: 42.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.467, allocations: 0.5746 MB / 0.6763 GB, free: 41.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.469, allocations: 305.6 kB / 0.6765 GB, free: 41.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04138/1.51, allocations: 68.44 MB / 0.7434 GB, free: 7.715 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005918/1.516, allocations: 2.808 MB / 0.7461 GB, free: 6.535 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00525/1.522, allocations: 1.007 MB / 0.7471 GB, free: 6.434 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003351/1.525, allocations: 1.462 MB / 0.7485 GB, free: 5.234 MB / 458.7 MB Notification: Performance of SimCode: time 1.322e-06/1.525, allocations: 0 / 0.7485 GB, free: 5.234 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4482/1.973, allocations: 47.41 MB / 0.7948 GB, free: 114 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.974, allocations: 166.4 kB / 0.795 GB, free: 113.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.548/6.522, allocations: 0 / 0.795 GB, free: 113.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat