Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001607/0.001607, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001664/0.001664, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2384/0.2384, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 79.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3644, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01888/0.3833, allocations: 15.93 MB / 0.5461 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009824/0.3931, allocations: 3.849 MB / 0.5499 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003604/0.3968, allocations: 89 kB / 0.55 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006766/0.4036, allocations: 3.113 MB / 0.553 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006036/0.4097, allocations: 1.753 MB / 0.5547 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.4113, allocations: 455.2 kB / 0.5552 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006952/0.4182, allocations: 4.006 MB / 0.5591 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005224/0.4235, allocations: 3.596 MB / 0.5626 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.4269, allocations: 1.884 MB / 0.5644 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005317/0.4323, allocations: 2.995 MB / 0.5674 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001601/0.4339, allocations: 500 kB / 0.5678 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.4363, allocations: 0.9366 MB / 0.5687 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002538/0.4389, allocations: 2.233 MB / 0.5709 GB, free: 8.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004286/0.4432, allocations: 2.782 MB / 0.5736 GB, free: 5.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.455, allocations: 8.689 MB / 0.5821 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.455, allocations: 4 kB / 0.5821 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.455, allocations: 0 / 0.5821 GB, free: 12.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002703/0.4553, allocations: 4 kB / 0.5821 GB, free: 12.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.08848/0.5438, allocations: 11.33 MB / 0.5932 GB, free: 1.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.5439, allocations: 15.97 kB / 0.5932 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002362/0.5462, allocations: 0.8142 MB / 0.594 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007131/0.5534, allocations: 1.884 MB / 0.5958 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007855/0.5613, allocations: 3.342 MB / 0.5991 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/0.5617, allocations: 287.6 kB / 0.5994 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003059/0.5648, allocations: 411.7 kB / 0.5998 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05497/0.6197, allocations: 19.55 MB / 0.6189 GB, free: 6.109 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/0.62, allocations: 51.58 kB / 0.6189 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.6212, allocations: 187.8 kB / 0.6191 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006187/0.6274, allocations: 2.345 MB / 0.6214 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05916/0.6866, allocations: 22.38 MB / 0.6432 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08591/0.7726, allocations: 52.46 MB / 0.6945 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06975/0.8424, allocations: 9.161 MB / 0.7034 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005046/0.8475, allocations: 3.027 MB / 0.7064 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/0.8494, allocations: 352.7 kB / 0.7067 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.207e-05/0.8494, allocations: 59.81 kB / 0.7068 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=212): time 4.509e-06/0.8494, allocations: 3.938 kB / 0.7068 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.4163/1.266, allocations: 16.11 MB / 0.7225 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/1.266, allocations: 148.3 kB / 0.7227 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/1.276, allocations: 4.702 MB / 0.7272 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006272/1.277, allocations: 53.58 kB / 0.7273 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002788/1.279, allocations: 3.626 MB / 0.7308 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.281, allocations: 0.8697 MB / 0.7317 GB, free: 159 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002833/1.284, allocations: 1.557 MB / 0.7332 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/1.284, allocations: 316.8 kB / 0.7335 GB, free: 158 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005947/1.29, allocations: 3.169 MB / 0.7366 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007577/1.297, allocations: 7.462 MB / 0.7439 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009865/1.307, allocations: 11.48 MB / 0.7551 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001778/1.307, allocations: 44 kB / 0.7551 GB, free: 140.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01473/1.322, allocations: 10.63 MB / 0.7655 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-05/1.322, allocations: 68 kB / 0.7656 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001247/1.322, allocations: 152 kB / 0.7657 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/1.323, allocations: 200.5 kB / 0.7659 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005594/1.328, allocations: 1.797 MB / 0.7677 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001682/1.328, allocations: 302.7 kB / 0.768 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005458/1.334, allocations: 0.953 MB / 0.7689 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006407/1.335, allocations: 0.5154 MB / 0.7694 GB, free: 125.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (855): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00322/1.338, allocations: 2.316 MB / 0.7717 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008134/1.339, allocations: 425.1 kB / 0.7721 GB, free: 123 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005149/1.344, allocations: 4.865 MB / 0.7768 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/1.344, allocations: 27.67 kB / 0.7769 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.344, allocations: 4 kB / 0.7769 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/1.344, allocations: 11.95 kB / 0.7769 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/1.357, allocations: 11.52 MB / 0.7881 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.358, allocations: 12.19 kB / 0.7881 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.36, allocations: 0.6001 MB / 0.7887 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.432e-05/1.36, allocations: 19.94 kB / 0.7887 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/1.36, allocations: 151 kB / 0.7889 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/1.36, allocations: 23.88 kB / 0.7889 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/1.36, allocations: 8 kB / 0.7889 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00803/1.368, allocations: 8.929 MB / 0.7976 GB, free: 96.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.37, allocations: 0.5252 MB / 0.7981 GB, free: 96.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006562/1.37, allocations: 48 kB / 0.7982 GB, free: 95.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/1.372, allocations: 79.98 kB / 0.7983 GB, free: 95.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/1.373, allocations: 236.8 kB / 0.7985 GB, free: 95.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002461/1.373, allocations: 167.7 kB / 0.7986 GB, free: 95.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004042/1.377, allocations: 2.946 MB / 0.8015 GB, free: 92.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.92e-07/1.377, allocations: 0 / 0.8015 GB, free: 92.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006116/1.383, allocations: 1.375 MB / 0.8029 GB, free: 91.19 MB / 0.5606 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008513/1.392, allocations: 9.588 MB / 0.8122 GB, free: 81.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008166/1.4, allocations: 7.13 MB / 0.8192 GB, free: 74.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.4, allocations: 0.8125 kB / 0.8192 GB, free: 74.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002233/1.402, allocations: 2.44 MB / 0.8216 GB, free: 71.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/1.405, allocations: 0.5633 MB / 0.8221 GB, free: 71.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07264/1.478, allocations: 59.92 MB / 0.8806 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003234/1.481, allocations: 3.595 MB / 0.8842 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005416/1.487, allocations: 2.306 MB / 0.8864 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004787/1.492, allocations: 2.486 MB / 0.8888 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/1.492, allocations: 7.938 kB / 0.8888 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4858/1.977, allocations: 93.18 MB / 0.9798 GB, free: 201 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.67/21.65, allocations: 12.31 kB / 0.9798 GB, free: 201 MB / 0.6231 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)