Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSR",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.01027/0.01027, allocations: 166.4 kB / 15.11 MB, free: 5.988 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.113 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.002027/0.002027, allocations: 103.4 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.4918/0.4918, allocations: 38.06 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006398/0.0006396, allocations: 12 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1255, allocations: 48.71 MB / 411.7 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4491/0.5746, allocations: 94.46 MB / 0.4943 GB, free: 9.535 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.575, allocations: 78.44 kB / 0.4944 GB, free: 9.496 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3138/0.8888, allocations: 75.7 MB / 0.5683 GB, free: 2.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.8889, allocations: 0 / 0.5683 GB, free: 2.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002172/0.8891, allocations: 75.94 kB / 0.5684 GB, free: 2.328 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01823/0.9073, allocations: 3.956 MB / 0.5722 GB, free: 14.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.9074, allocations: 8.031 kB / 0.5722 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003382/0.9108, allocations: 0.6633 MB / 0.5729 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006774/0.9176, allocations: 0.6769 MB / 0.5735 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01/0.9277, allocations: 2.212 MB / 0.5757 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004653/0.9282, allocations: 295.7 kB / 0.576 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002155/0.9304, allocations: 387.8 kB / 0.5764 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/0.9653, allocations: 8.925 MB / 0.5851 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.9656, allocations: 19.81 kB / 0.5851 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002138/0.9677, allocations: 171.9 kB / 0.5853 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3075/1.275, allocations: 0.8301 MB / 0.5861 GB, free: 88.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03963/1.315, allocations: 7.302 MB / 0.5932 GB, free: 88.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09334/1.408, allocations: 29 MB / 0.6215 GB, free: 76.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/1.427, allocations: 2.279 MB / 0.6237 GB, free: 76.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0213/1.448, allocations: 7.611 MB / 0.6312 GB, free: 71.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/1.448, allocations: 45.03 kB / 0.6312 GB, free: 71.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 5.18e-06/1.448, allocations: 0 / 0.6312 GB, free: 71.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.04963/1.498, allocations: 7.122 MB / 0.6382 GB, free: 68.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/1.498, allocations: 146 kB / 0.6383 GB, free: 68.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008385/1.507, allocations: 2.328 MB / 0.6406 GB, free: 67.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003445/1.507, allocations: 40.52 kB / 0.6406 GB, free: 67.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00312/1.51, allocations: 2.42 MB / 0.643 GB, free: 66.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008912/1.511, allocations: 390.1 kB / 0.6434 GB, free: 65.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006028/1.512, allocations: 75.38 kB / 0.6434 GB, free: 65.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003965/1.512, allocations: 476 kB / 0.6439 GB, free: 65.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004206/1.516, allocations: 1.064 MB / 0.6449 GB, free: 65.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006596/1.523, allocations: 3.45 MB / 0.6483 GB, free: 61.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005979/1.529, allocations: 1.839 MB / 0.6501 GB, free: 60.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001637/1.529, allocations: 25.38 kB / 0.6501 GB, free: 60.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01638/1.546, allocations: 4.402 MB / 0.6544 GB, free: 59.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.546, allocations: 43.81 kB / 0.6545 GB, free: 59.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/1.546, allocations: 86.97 kB / 0.6545 GB, free: 59.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/1.546, allocations: 122.6 kB / 0.6547 GB, free: 59.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007663/1.554, allocations: 0.9439 MB / 0.6556 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002546/1.554, allocations: 176.7 kB / 0.6557 GB, free: 58.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00653/1.561, allocations: 190.7 kB / 0.6559 GB, free: 58.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/1.562, allocations: 232.1 kB / 0.6561 GB, free: 58.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (497): * Single equations (assignments): 497 * 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.006113/1.568, allocations: 1.599 MB / 0.6577 GB, free: 58.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.57, allocations: 226.3 kB / 0.6579 GB, free: 57.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005786/1.575, allocations: 1.374 MB / 0.6593 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/1.575, allocations: 11.78 kB / 0.6593 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/1.575, allocations: 3.75 kB / 0.6593 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.401e-05/1.576, allocations: 7.484 kB / 0.6593 GB, free: 57.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02387/1.599, allocations: 6.175 MB / 0.6653 GB, free: 54.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.118e-05/1.6, allocations: 15.72 kB / 0.6653 GB, free: 54.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/1.602, allocations: 242 kB / 0.6656 GB, free: 54.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-05/1.602, allocations: 27.16 kB / 0.6656 GB, free: 54.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002507/1.603, allocations: 41.62 kB / 0.6656 GB, free: 54.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-05/1.603, allocations: 32.66 kB / 0.6657 GB, free: 54.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.039e-05/1.603, allocations: 25.56 kB / 0.6657 GB, free: 54.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006016/1.609, allocations: 3.577 MB / 0.6692 GB, free: 50.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.61, allocations: 325.2 kB / 0.6695 GB, free: 50.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007657/1.611, allocations: 45.91 kB / 0.6695 GB, free: 50.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.613, allocations: 56.58 kB / 0.6696 GB, free: 50.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003286/1.613, allocations: 140 kB / 0.6697 GB, free: 50.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.613, allocations: 58.62 kB / 0.6698 GB, free: 50.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004359/1.618, allocations: 1.655 MB / 0.6714 GB, free: 49.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.683e-06/1.618, allocations: 0 / 0.6714 GB, free: 49.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00733/1.625, allocations: 0.6883 MB / 0.6721 GB, free: 49.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * 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 (130): * Single equations (assignments): 130 * 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.006946/1.632, allocations: 8.684 MB / 0.6805 GB, free: 41.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008007/1.64, allocations: 2.53 MB / 0.683 GB, free: 40.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-05/1.64, allocations: 3.562 kB / 0.683 GB, free: 40.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/1.642, allocations: 0.6083 MB / 0.6836 GB, free: 40.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/1.646, allocations: 298.6 kB / 0.6839 GB, free: 40.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04624/1.692, allocations: 70.82 MB / 0.7531 GB, free: 3.727 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009847/1.702, allocations: 2.809 MB / 0.7558 GB, free: 2.547 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01008/1.712, allocations: 1.046 MB / 0.7568 GB, free: 2.441 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006387/1.719, allocations: 1.45 MB / 0.7582 GB, free: 1.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.923e-06/1.719, allocations: 0 / 0.7582 GB, free: 1.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5122/2.231, allocations: 49.35 MB / 0.8064 GB, free: 113 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/2.231, allocations: 177.6 kB / 0.8066 GB, free: 112.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.445/6.676, allocations: 0 / 0.8066 GB, free: 112.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat