Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_RevolutePlanarLoopConstraint",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.009888/0.009888, allocations: 174.4 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.036/2.036, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.002051/0.002051, allocations: 112.7 kB / 255.6 MB, free: 10.24 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.3367/0.3367, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.0005079, allocations: 15.59 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1052, allocations: 54.87 MB / 461.1 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5358/0.641, allocations: 98.63 MB / 0.5466 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.6413, allocations: 77.2 kB / 0.5467 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4656/1.107, allocations: 109.4 MB / 0.6535 GB, free: 5.848 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.836e-06/1.107, allocations: 0 / 0.6535 GB, free: 5.848 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006242/1.108, allocations: 108 kB / 0.6536 GB, free: 5.742 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.03468/1.142, allocations: 6.936 MB / 0.6604 GB, free: 14.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.142, allocations: 12.03 kB / 0.6604 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004123/1.147, allocations: 0.7581 MB / 0.6611 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08205/1.229, allocations: 10.11 MB / 0.671 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04082/1.27, allocations: 9.89 MB / 0.6807 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006782/1.27, allocations: 366.6 kB / 0.681 GB, free: 9.473 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002843/1.273, allocations: 467.7 kB / 0.6815 GB, free: 9.016 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04446/1.318, allocations: 10.75 MB / 0.692 GB, free: 13.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000537/1.318, allocations: 63.39 kB / 0.692 GB, free: 13.63 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002323/1.321, allocations: 207.9 kB / 0.6922 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/1.323, allocations: 0.984 MB / 0.6932 GB, free: 12.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03742/1.361, allocations: 9.059 MB / 0.702 GB, free: 3.355 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4334/1.794, allocations: 43.97 MB / 0.745 GB, free: 78.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05036/1.845, allocations: 7.926 MB / 0.7527 GB, free: 78.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003095/1.848, allocations: 1.125 MB / 0.7538 GB, free: 77.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/1.848, allocations: 69.48 kB / 0.7539 GB, free: 77.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=286): time 1.186e-05/1.848, allocations: 0 / 0.7539 GB, free: 77.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=415): time 0.4547/2.303, allocations: 76.48 MB / 0.8286 GB, free: 64.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02682/2.33, allocations: 11.34 MB / 0.8396 GB, free: 54.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009468/2.339, allocations: 3.722 MB / 0.8433 GB, free: 51.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00138/2.341, allocations: 89.7 kB / 0.8434 GB, free: 51.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003114/2.344, allocations: 3.003 MB / 0.8463 GB, free: 49.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00268/2.347, allocations: 1.435 MB / 0.8477 GB, free: 48.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001647/2.348, allocations: 113.5 kB / 0.8478 GB, free: 48.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004869/2.349, allocations: 0.5381 MB / 0.8483 GB, free: 47.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/2.359, allocations: 4.475 MB / 0.8527 GB, free: 43.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01201/2.371, allocations: 6.512 MB / 0.8591 GB, free: 36.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/2.384, allocations: 5.442 MB / 0.8644 GB, free: 32.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-05/2.384, allocations: 16 kB / 0.8644 GB, free: 32.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06565/2.45, allocations: 18.57 MB / 0.8825 GB, free: 15.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/2.45, allocations: 36.03 kB / 0.8826 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.841e-05/2.45, allocations: 68 kB / 0.8826 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04241/2.492, allocations: 8.609 MB / 0.891 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007518/2.5, allocations: 1.035 MB / 0.892 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5121/3.012, allocations: 50.53 MB / 0.9414 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009358/3.021, allocations: 495.8 kB / 0.9419 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/3.023, allocations: 279.5 kB / 0.9421 GB, free: 105.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (528): * Single equations (assignments): 523 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.006308/3.029, allocations: 2.279 MB / 0.9443 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001524/3.031, allocations: 488.7 kB / 0.9448 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07879/3.109, allocations: 17.6 MB / 0.962 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05844/3.168, allocations: 16.1 MB / 0.9777 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.496e-05/3.168, allocations: 27.94 kB / 0.9778 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/3.168, allocations: 29.72 kB / 0.9778 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1077/3.276, allocations: 34.75 MB / 1.012 GB, free: 84.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.524e-05/3.276, allocations: 7.75 kB / 1.012 GB, free: 84.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004338/3.28, allocations: 450.2 kB / 1.012 GB, free: 84.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04148/3.322, allocations: 8.055 MB / 1.02 GB, free: 78.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001401/3.323, allocations: 79.73 kB / 1.02 GB, free: 78.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1142/3.438, allocations: 49.78 MB / 1.069 GB, free: 34.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02424/3.462, allocations: 10.14 MB / 1.079 GB, free: 24.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5367/3.999, allocations: 23.94 MB / 1.102 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006129/4.005, allocations: 1.417 MB / 1.103 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002388/4.007, allocations: 77.48 kB / 1.103 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007705/4.015, allocations: 354.3 kB / 1.104 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002707/4.018, allocations: 339.6 kB / 1.104 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008664/4.019, allocations: 100.8 kB / 1.104 GB, free: 99.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008169/4.027, allocations: 2.772 MB / 1.107 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.72e-07/4.027, allocations: 1.562 kB / 1.107 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01126/4.038, allocations: 1.975 MB / 1.109 GB, free: 99.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * 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 (226): * Single equations (assignments): 223 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.07191/4.11, allocations: 25.84 MB / 1.134 GB, free: 96.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03207/4.142, allocations: 12.34 MB / 1.146 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/4.142, allocations: 3.656 kB / 1.146 GB, free: 95.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02215/4.165, allocations: 7.12 MB / 1.153 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007415/4.172, allocations: 0.7461 MB / 1.154 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1817/4.354, allocations: 108.6 MB / 1.26 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01002/4.364, allocations: 4.302 MB / 1.264 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008946/4.373, allocations: 1.68 MB / 1.266 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008958/4.382, allocations: 2.594 MB / 1.268 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of SimCode: time 1.754e-06/4.382, allocations: 0 / 1.268 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.731/5.113, allocations: 162.2 MB / 1.427 GB, free: 52.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/5.113, allocations: 221.3 kB / 1.427 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.693/12.81, allocations: 4 kB / 1.427 GB, free: 52.48 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat