Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01131/0.01131, allocations: 105.7 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.002341/0.002341, allocations: 168.8 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.696/1.696, allocations: 170.9 MB / 187.5 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2778/0.2778, allocations: 38.08 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004692, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09864, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.415/0.5137, allocations: 70.29 MB / 442.6 MB, free: 8.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03947/0.5532, allocations: 14.79 MB / 457.4 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01699/0.5702, allocations: 336.8 kB / 457.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01263/0.5829, allocations: 3.568 MB / 461.3 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03758/0.6205, allocations: 9.687 MB / 471 MB, free: 3.691 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005148/0.6258, allocations: 485.8 kB / 471.4 MB, free: 3.578 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006481/0.6323, allocations: 2.39 MB / 473.8 MB, free: 3.125 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009118/0.6415, allocations: 4.501 MB / 478.3 MB, free: 1.898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.6446, allocations: 1.175 MB / 479.5 MB, free: 1.484 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004449/0.6491, allocations: 1.998 MB / 481.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001289/0.6505, allocations: 188.4 kB / 481.7 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.6533, allocations: 0.61 MB / 482.3 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002979/0.6563, allocations: 1.728 MB / 484 MB, free: 15.83 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002146/0.6585, allocations: 0.9876 MB / 485 MB, free: 15.29 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.6706, allocations: 6.746 MB / 491.8 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6707, allocations: 0 / 491.8 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6707, allocations: 4 kB / 491.8 MB, free: 9.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003291/0.671, allocations: 0 / 491.8 MB, free: 9.43 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.141/0.8121, allocations: 13.83 MB / 0.4937 GB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.8121, allocations: 8.031 kB / 0.4937 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003944/0.8161, allocations: 0.8152 MB / 0.4945 GB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.8299, allocations: 2.177 MB / 0.4967 GB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009628/0.8395, allocations: 2.882 MB / 0.4995 GB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003654/0.84, allocations: 288.4 kB / 0.4998 GB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003186/0.8432, allocations: 406.5 kB / 0.5001 GB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06992/0.9131, allocations: 15.09 MB / 0.5149 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003058/0.9135, allocations: 52.92 kB / 0.5149 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002778/0.9163, allocations: 178.8 kB / 0.5151 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006967/0.9233, allocations: 1.79 MB / 0.5169 GB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07241/0.9958, allocations: 15.26 MB / 0.5318 GB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1249/1.121, allocations: 47.64 MB / 0.5783 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09299/1.214, allocations: 7.188 MB / 0.5853 GB, free: 13.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00707/1.221, allocations: 478.8 kB / 0.5858 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.775e-05/1.221, allocations: 51.88 kB / 0.5858 GB, free: 12.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=212): time 6.062e-06/1.221, allocations: 4 kB / 0.5858 GB, free: 12.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=212): time 0.4688/1.69, allocations: 14.19 MB / 0.5997 GB, free: 170.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/1.69, allocations: 150.1 kB / 0.5998 GB, free: 170.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01379/1.704, allocations: 4.636 MB / 0.6043 GB, free: 170 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005737/1.704, allocations: 55.05 kB / 0.6044 GB, free: 169.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003748/1.708, allocations: 3.481 MB / 0.6078 GB, free: 167.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.71, allocations: 0.8355 MB / 0.6086 GB, free: 166.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/1.711, allocations: 134.8 kB / 0.6087 GB, free: 166.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008185/1.712, allocations: 0.5856 MB / 0.6093 GB, free: 166.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006858/1.719, allocations: 2.23 MB / 0.6115 GB, free: 165.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009778/1.728, allocations: 6.467 MB / 0.6178 GB, free: 159 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009263/1.738, allocations: 3.739 MB / 0.6214 GB, free: 157.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002568/1.738, allocations: 44.81 kB / 0.6215 GB, free: 157.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.02326/1.761, allocations: 8.518 MB / 0.6298 GB, free: 154.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.762, allocations: 71.56 kB / 0.6299 GB, free: 154.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002223/1.762, allocations: 150.6 kB / 0.63 GB, free: 154.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/1.762, allocations: 225.2 kB / 0.6302 GB, free: 154.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/1.772, allocations: 1.623 MB / 0.6318 GB, free: 154.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003287/1.773, allocations: 299.5 kB / 0.6321 GB, free: 154 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008776/1.782, allocations: 0.9073 MB / 0.633 GB, free: 153.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.783, allocations: 443 kB / 0.6334 GB, free: 153.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 39 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (852): * Single equations (assignments): 849 * Array equations: 3 * 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.005754/1.789, allocations: 2.307 MB / 0.6357 GB, free: 152.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.79, allocations: 401.1 kB / 0.636 GB, free: 152 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006647/1.797, allocations: 2.726 MB / 0.6387 GB, free: 149.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.86e-05/1.797, allocations: 24 kB / 0.6387 GB, free: 149.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.797, allocations: 4 kB / 0.6387 GB, free: 149.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.583e-05/1.797, allocations: 14.72 kB / 0.6388 GB, free: 149.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/1.818, allocations: 8.086 MB / 0.6466 GB, free: 142.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/1.818, allocations: 11.31 kB / 0.6467 GB, free: 142.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004191/1.822, allocations: 420.3 kB / 0.6471 GB, free: 142.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.965e-05/1.822, allocations: 19.95 kB / 0.6471 GB, free: 142 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004447/1.823, allocations: 52 kB / 0.6471 GB, free: 142 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.299e-05/1.823, allocations: 23.92 kB / 0.6471 GB, free: 142 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/1.823, allocations: 11.94 kB / 0.6472 GB, free: 142 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.834, allocations: 6.352 MB / 0.6534 GB, free: 135.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/1.835, allocations: 0.5031 MB / 0.6539 GB, free: 134.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001552/1.837, allocations: 57.52 kB / 0.6539 GB, free: 134.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/1.84, allocations: 75.94 kB / 0.654 GB, free: 134.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007242/1.841, allocations: 141 kB / 0.6541 GB, free: 134.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/1.841, allocations: 64.53 kB / 0.6542 GB, free: 134.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007109/1.849, allocations: 2.909 MB / 0.657 GB, free: 131.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.849, allocations: 0 / 0.657 GB, free: 131.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007674/1.856, allocations: 1.342 MB / 0.6583 GB, free: 130.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * 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 (208): * Single equations (assignments): 205 * Array equations: 3 * 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.01147/1.868, allocations: 8.726 MB / 0.6669 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01126/1.879, allocations: 5.136 MB / 0.6719 GB, free: 116 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.879, allocations: 4 kB / 0.6719 GB, free: 116 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/1.882, allocations: 1.425 MB / 0.6733 GB, free: 114.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/1.886, allocations: 0.4907 MB / 0.6737 GB, free: 114.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4105/2.296, allocations: 143.9 MB / 0.8143 GB, free: 138.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007496/2.304, allocations: 3.692 MB / 0.8179 GB, free: 137.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01042/2.314, allocations: 2.116 MB / 0.8199 GB, free: 136.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005511/2.32, allocations: 2.205 MB / 0.8221 GB, free: 134.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.683e-06/2.32, allocations: 2.297 kB / 0.8221 GB, free: 134.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2443/2.564, allocations: 88.06 MB / 0.9081 GB, free: 49.07 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/2.564, allocations: 201.1 kB / 0.9083 GB, free: 48.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.708/8.273, allocations: 3.938 kB / 0.9083 GB, free: 48.82 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat