Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointRRR",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.0106/0.0106, allocations: 164.9 kB / 15.11 MB, free: 5.93 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.755/1.755, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001969/0.001969, allocations: 99.41 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.5269/0.5269, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004828, allocations: 12 kB / 363 MB, free: 5.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1098, allocations: 48.71 MB / 411.7 MB, free: 4.754 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4943/0.6042, allocations: 96.41 MB / 0.4962 GB, free: 7.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004056/0.6046, allocations: 78.28 kB / 0.4963 GB, free: 7.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4466/1.051, allocations: 73.6 MB / 0.5681 GB, free: 2.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.768e-06/1.051, allocations: 0 / 0.5681 GB, free: 2.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004578/1.052, allocations: 80 kB / 0.5682 GB, free: 2.613 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.02756/1.079, allocations: 4.288 MB / 0.5724 GB, free: 14.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.198e-05/1.08, allocations: 12.03 kB / 0.5724 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004575/1.084, allocations: 0.7078 MB / 0.5731 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008487/1.093, allocations: 0.7475 MB / 0.5738 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01328/1.106, allocations: 2.572 MB / 0.5763 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006389/1.107, allocations: 320.4 kB / 0.5767 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00289/1.11, allocations: 419.8 kB / 0.5771 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3453/1.455, allocations: 9.944 MB / 0.5868 GB, free: 82.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002494/1.455, allocations: 19.5 kB / 0.5868 GB, free: 82.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001852/1.457, allocations: 184.9 kB / 0.587 GB, free: 82.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003142/1.46, allocations: 0.8621 MB / 0.5878 GB, free: 82.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03173/1.492, allocations: 8.501 MB / 0.5961 GB, free: 82.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0683/1.561, allocations: 31.85 MB / 0.6272 GB, free: 70.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/1.577, allocations: 3.022 MB / 0.6302 GB, free: 69.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02042/1.598, allocations: 8.972 MB / 0.6389 GB, free: 63.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.598, allocations: 44.5 kB / 0.639 GB, free: 63.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.248e-06/1.598, allocations: 0 / 0.639 GB, free: 63.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.04588/1.644, allocations: 8.733 MB / 0.6475 GB, free: 60.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.644, allocations: 112.9 kB / 0.6476 GB, free: 60.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006165/1.65, allocations: 2.516 MB / 0.6501 GB, free: 59.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003454/1.651, allocations: 41.64 kB / 0.6501 GB, free: 59.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002276/1.653, allocations: 2.501 MB / 0.6525 GB, free: 57.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007365/1.654, allocations: 440.5 kB / 0.653 GB, free: 57.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000607/1.654, allocations: 79.25 kB / 0.653 GB, free: 57.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003108/1.655, allocations: 481.3 kB / 0.6535 GB, free: 56.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004038/1.659, allocations: 1.436 MB / 0.6549 GB, free: 56.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005625/1.664, allocations: 3.743 MB / 0.6585 GB, free: 52.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005551/1.67, allocations: 2.215 MB / 0.6607 GB, free: 51.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/1.67, allocations: 24.16 kB / 0.6607 GB, free: 51.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01427/1.684, allocations: 5.152 MB / 0.6658 GB, free: 49.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/1.685, allocations: 40.25 kB / 0.6658 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/1.685, allocations: 88.66 kB / 0.6659 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/1.685, allocations: 120.3 kB / 0.666 GB, free: 49.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006595/1.691, allocations: 1.002 MB / 0.667 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001834/1.692, allocations: 163 kB / 0.6671 GB, free: 49.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005045/1.697, allocations: 244.7 kB / 0.6674 GB, free: 49.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.698, allocations: 239.8 kB / 0.6676 GB, free: 49.29 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: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (521): * Single equations (assignments): 520 * Array equations: 1 * 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.004957/1.703, allocations: 1.75 MB / 0.6693 GB, free: 48.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006946/1.704, allocations: 239.5 kB / 0.6695 GB, free: 48.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005733/1.709, allocations: 2.053 MB / 0.6715 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/1.709, allocations: 14.19 kB / 0.6716 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.709, allocations: 3.594 kB / 0.6716 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/1.709, allocations: 7.312 kB / 0.6716 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/1.728, allocations: 6.988 MB / 0.6784 GB, free: 43.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/1.728, allocations: 17.88 kB / 0.6784 GB, free: 43.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.731, allocations: 295.8 kB / 0.6787 GB, free: 43.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.182e-05/1.731, allocations: 29.62 kB / 0.6787 GB, free: 43.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/1.731, allocations: 49.44 kB / 0.6788 GB, free: 43.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.501e-05/1.731, allocations: 41.33 kB / 0.6788 GB, free: 43.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-05/1.731, allocations: 26.38 kB / 0.6788 GB, free: 43.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/1.736, allocations: 4.256 MB / 0.683 GB, free: 40.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.738, allocations: 350.5 kB / 0.6833 GB, free: 39.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009201/1.738, allocations: 51.73 kB / 0.6834 GB, free: 39.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.741, allocations: 75.83 kB / 0.6834 GB, free: 39.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004503/1.741, allocations: 153.7 kB / 0.6836 GB, free: 39.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.742, allocations: 56.47 kB / 0.6836 GB, free: 39.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004742/1.746, allocations: 1.784 MB / 0.6854 GB, free: 39.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.746, allocations: 0 / 0.6854 GB, free: 39.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005753/1.752, allocations: 0.7619 MB / 0.6861 GB, free: 38.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * 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 (155): * Single equations (assignments): 155 * 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.006876/1.759, allocations: 9.56 MB / 0.6955 GB, free: 29.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007683/1.767, allocations: 3.196 MB / 0.6986 GB, free: 28.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.247e-05/1.767, allocations: 5.625 kB / 0.6986 GB, free: 28.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002048/1.769, allocations: 0.8851 MB / 0.6995 GB, free: 28.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.772, allocations: 322.9 kB / 0.6998 GB, free: 28.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4185/2.19, allocations: 69.46 MB / 0.7676 GB, free: 72.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01014/2.2, allocations: 3.02 MB / 0.7705 GB, free: 71.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007493/2.208, allocations: 1.042 MB / 0.7716 GB, free: 71.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005802/2.214, allocations: 1.583 MB / 0.7731 GB, free: 71.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/2.214, allocations: 0 / 0.7731 GB, free: 71.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/2.365, allocations: 55.86 MB / 0.8277 GB, free: 65.57 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/2.366, allocations: 170.4 kB / 0.8278 GB, free: 65.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.279/6.645, allocations: 0 / 0.8278 GB, free: 65.32 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat