Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.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.RevolutePlanarLoopConstraint,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01231/0.01231, allocations: 163.9 kB / 15.12 MB, free: 5.957 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.754/1.754, allocations: 170.8 MB / 186.6 MB, free: 1.105 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.01016/0.01016, allocations: 110.8 kB / 226.2 MB, free: 10.07 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.4686/0.4686, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004776, allocations: 16 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 48.71 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.466/0.5752, allocations: 72.52 MB / 484.2 MB, free: 5.695 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.06738/0.6426, allocations: 15.13 MB / 499.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02199/0.6647, allocations: 361.8 kB / 499.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01895/0.6837, allocations: 3.538 MB / 0.4915 GB, free: 10.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05135/0.7351, allocations: 12.37 MB / 0.5035 GB, free: 2.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007718/0.7429, allocations: 1.16 MB / 0.5047 GB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1188/0.8618, allocations: 52.08 MB / 0.5555 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.016/0.8779, allocations: 7.074 MB / 0.5624 GB, free: 8.008 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005947/0.8839, allocations: 2.032 MB / 0.5644 GB, free: 5.969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00732/0.8913, allocations: 2.933 MB / 0.5673 GB, free: 3.027 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001611/0.8929, allocations: 184 kB / 0.5675 GB, free: 2.848 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004224/0.8972, allocations: 0.8856 MB / 0.5683 GB, free: 1.961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00498/0.9023, allocations: 2.493 MB / 0.5708 GB, free: 15.46 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003168/0.9055, allocations: 1.08 MB / 0.5718 GB, free: 14.37 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.9187, allocations: 7.396 MB / 0.579 GB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.9188, allocations: 0 / 0.579 GB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.9188, allocations: 7.938 kB / 0.5791 GB, free: 6.949 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003524/0.9192, allocations: 0 / 0.5791 GB, free: 6.949 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: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.02944/0.9486, allocations: 6.544 MB / 0.5854 GB, free: 336 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.9487, allocations: 12.03 kB / 0.5855 GB, free: 324 kB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3536/1.302, allocations: 0.7252 MB / 0.5862 GB, free: 133.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1383/1.441, allocations: 8.997 MB / 0.5949 GB, free: 133.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02121/1.462, allocations: 7.151 MB / 0.6019 GB, free: 131.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/1.462, allocations: 324.4 kB / 0.6022 GB, free: 131.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/1.464, allocations: 416 kB / 0.6026 GB, free: 131.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03285/1.497, allocations: 10.84 MB / 0.6132 GB, free: 126.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003205/1.497, allocations: 58.45 kB / 0.6133 GB, free: 126.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001534/1.499, allocations: 181.3 kB / 0.6135 GB, free: 126.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003995/1.503, allocations: 1.494 MB / 0.6149 GB, free: 126.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03342/1.536, allocations: 9.031 MB / 0.6237 GB, free: 122.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08465/1.621, allocations: 44.36 MB / 0.667 GB, free: 79.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03635/1.658, allocations: 7.657 MB / 0.6745 GB, free: 71.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008959/1.667, allocations: 5.116 MB / 0.6795 GB, free: 66.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02876/1.695, allocations: 12.73 MB / 0.692 GB, free: 53.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/1.695, allocations: 68.75 kB / 0.692 GB, free: 53.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=283): time 7.525e-06/1.696, allocations: 4 kB / 0.692 GB, free: 53.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=406): time 0.7165/2.412, allocations: 75.8 MB / 0.766 GB, free: 115.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02742/2.44, allocations: 10.95 MB / 0.7767 GB, free: 110.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/2.451, allocations: 4.339 MB / 0.781 GB, free: 109.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001311/2.453, allocations: 93.27 kB / 0.7811 GB, free: 109.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003238/2.456, allocations: 2.951 MB / 0.7839 GB, free: 107.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002602/2.459, allocations: 1.406 MB / 0.7853 GB, free: 106 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/2.46, allocations: 109.7 kB / 0.7854 GB, free: 105.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004746/2.461, allocations: 0.534 MB / 0.7859 GB, free: 105.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01176/2.472, allocations: 4.627 MB / 0.7905 GB, free: 103.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/2.484, allocations: 6.642 MB / 0.7969 GB, free: 99.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01188/2.496, allocations: 5.587 MB / 0.8024 GB, free: 97.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-05/2.496, allocations: 19.16 kB / 0.8024 GB, free: 97.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.0667/2.563, allocations: 18.96 MB / 0.8209 GB, free: 82.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/2.563, allocations: 32 kB / 0.821 GB, free: 82.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-05/2.563, allocations: 64.56 kB / 0.821 GB, free: 82.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0435/2.607, allocations: 8.792 MB / 0.8296 GB, free: 73.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007367/2.614, allocations: 1.011 MB / 0.8306 GB, free: 72.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.139/2.753, allocations: 50.25 MB / 0.8797 GB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009763/2.763, allocations: 499.2 kB / 0.8802 GB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/2.765, allocations: 283.9 kB / 0.8804 GB, free: 21.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 291 * 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 (512): * Single equations (assignments): 503 * Array equations: 6 * 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,52.1%) 103,(2,100.0%) 24} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.006925/2.772, allocations: 2.273 MB / 0.8826 GB, free: 18.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001897/2.774, allocations: 481.8 kB / 0.8831 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.361/3.135, allocations: 17.93 MB / 0.9006 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06137/3.196, allocations: 16.45 MB / 0.9167 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.93e-05/3.196, allocations: 25.28 kB / 0.9167 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.38e-05/3.196, allocations: 22.27 kB / 0.9167 GB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1124/3.309, allocations: 35.3 MB / 0.9512 GB, free: 93.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.428e-05/3.309, allocations: 7.844 kB / 0.9512 GB, free: 93.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004506/3.313, allocations: 454.5 kB / 0.9516 GB, free: 93.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04505/3.358, allocations: 8.801 MB / 0.9602 GB, free: 90.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001299/3.36, allocations: 76.55 kB / 0.9603 GB, free: 90.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1086/3.468, allocations: 48.66 MB / 1.008 GB, free: 45.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02313/3.492, allocations: 9.746 MB / 1.017 GB, free: 35.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07447/3.566, allocations: 24.05 MB / 1.041 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005847/3.572, allocations: 1.444 MB / 1.042 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002062/3.574, allocations: 75.95 kB / 1.042 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007173/3.581, allocations: 390.5 kB / 1.043 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002254/3.584, allocations: 312.2 kB / 1.043 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008109/3.585, allocations: 107.9 kB / 1.043 GB, free: 8.941 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006327/3.591, allocations: 2.845 MB / 1.046 GB, free: 6.102 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.613e-06/3.591, allocations: 2.469 kB / 1.046 GB, free: 6.102 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009707/3.601, allocations: 1.992 MB / 1.048 GB, free: 4.109 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (217): * Single equations (assignments): 214 * 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 {(11,54.5%) 97,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.3727/3.973, allocations: 24.7 MB / 1.072 GB, free: 116.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03222/4.006, allocations: 12.6 MB / 1.084 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/4.006, allocations: 2.688 kB / 1.084 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02168/4.027, allocations: 7.19 MB / 1.091 GB, free: 111.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007728/4.035, allocations: 0.8144 MB / 1.092 GB, free: 111.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1686/4.204, allocations: 64.66 MB / 1.155 GB, free: 67.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008179/4.212, allocations: 4.284 MB / 1.159 GB, free: 63.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007383/4.219, allocations: 1.598 MB / 1.161 GB, free: 62.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006321/4.226, allocations: 2.628 MB / 1.164 GB, free: 59.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/4.226, allocations: 4 kB / 1.164 GB, free: 59.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9864/5.212, allocations: 165.4 MB / 1.325 GB, free: 48.82 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/5.213, allocations: 233.4 kB / 1.325 GB, free: 48.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/12.72, allocations: 4.062 kB / 1.325 GB, free: 48.57 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint_res.mat does not exist to compare? outputFormat=mat