Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2128/0.2128, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 65.27 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1179, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01765/0.1355, allocations: 15.96 MB / 485.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008705/0.1443, allocations: 3.823 MB / 489.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/0.1475, allocations: 87.75 kB / 489.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00675/0.1543, allocations: 3.103 MB / 492.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006874/0.1612, allocations: 1.765 MB / 494.1 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.1632, allocations: 451.3 kB / 494.5 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006591/0.1699, allocations: 4.032 MB / 498.6 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004919/0.1748, allocations: 3.608 MB / 0.4904 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.1783, allocations: 1.892 MB / 0.4922 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004735/0.1831, allocations: 3.007 MB / 0.4952 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001703/0.1848, allocations: 500 kB / 0.4957 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.1873, allocations: 0.921 MB / 0.4966 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002481/0.1898, allocations: 2.252 MB / 0.4988 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003506/0.1933, allocations: 2.797 MB / 0.5015 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2404/0.4337, allocations: 8.441 MB / 0.5097 GB, free: 22.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.481e-05/0.4338, allocations: 0 / 0.5097 GB, free: 22.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4339, allocations: 1.094 kB / 0.5097 GB, free: 22.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005901/0.4344, allocations: 0 / 0.5097 GB, free: 22.44 MB / 382.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.09613/0.5306, allocations: 11.11 MB / 0.5206 GB, free: 20.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.5307, allocations: 9.844 kB / 0.5206 GB, free: 20.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004846/0.5355, allocations: 0.8177 MB / 0.5214 GB, free: 19.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008577/0.5441, allocations: 1.854 MB / 0.5232 GB, free: 19.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008424/0.5526, allocations: 3.281 MB / 0.5264 GB, free: 17.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/0.553, allocations: 299.9 kB / 0.5267 GB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003224/0.5562, allocations: 407.1 kB / 0.5271 GB, free: 17.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06303/0.6193, allocations: 19.54 MB / 0.5462 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004046/0.6197, allocations: 57.58 kB / 0.5462 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004029/0.6238, allocations: 182.5 kB / 0.5464 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005758/0.6296, allocations: 2.344 MB / 0.5487 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0605/0.6901, allocations: 22.38 MB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08412/0.7743, allocations: 52.52 MB / 0.6218 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07213/0.8464, allocations: 9.174 MB / 0.6308 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004571/0.851, allocations: 3.014 MB / 0.6337 GB, free: 9.375 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/0.8531, allocations: 356.4 kB / 0.6341 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.041e-05/0.8533, allocations: 59.16 kB / 0.6341 GB, free: 8.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=212): time 8.326e-06/0.8533, allocations: 0 / 0.6341 GB, free: 8.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=212): time 0.1445/0.9978, allocations: 16.1 MB / 0.6498 GB, free: 8.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.998, allocations: 149.7 kB / 0.65 GB, free: 8.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009819/1.008, allocations: 4.695 MB / 0.6546 GB, free: 4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000538/1.008, allocations: 57.7 kB / 0.6546 GB, free: 3.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003083/1.011, allocations: 3.492 MB / 0.658 GB, free: 476 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001573/1.013, allocations: 0.8352 MB / 0.6588 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004878/1.018, allocations: 1.548 MB / 0.6604 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.018, allocations: 301.1 kB / 0.6606 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005101/1.023, allocations: 3.169 MB / 0.6637 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008837/1.032, allocations: 7.465 MB / 0.671 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01339/1.046, allocations: 11.48 MB / 0.6822 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/1.046, allocations: 44 kB / 0.6823 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02069/1.066, allocations: 10.6 MB / 0.6926 GB, free: 10 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002428/1.067, allocations: 72.09 kB / 0.6927 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003638/1.067, allocations: 155.9 kB / 0.6929 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003326/1.067, allocations: 200 kB / 0.6931 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007846/1.075, allocations: 1.801 MB / 0.6948 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004286/1.076, allocations: 299.4 kB / 0.6951 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009377/1.085, allocations: 0.9377 MB / 0.696 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002278/1.088, allocations: 0.5076 MB / 0.6965 GB, free: 6.043 MB / 0.5294 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.007099/1.095, allocations: 2.309 MB / 0.6988 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/1.097, allocations: 406.7 kB / 0.6992 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2523/1.349, allocations: 4.866 MB / 0.7039 GB, free: 188.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.768e-05/1.349, allocations: 23.97 kB / 0.7039 GB, free: 188.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.349, allocations: 1.469 kB / 0.7039 GB, free: 188.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.525e-05/1.349, allocations: 9.938 kB / 0.7039 GB, free: 188.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/1.37, allocations: 11.53 MB / 0.7152 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/1.37, allocations: 7.812 kB / 0.7152 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/1.373, allocations: 0.5994 MB / 0.7158 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-05/1.373, allocations: 17.66 kB / 0.7158 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004398/1.373, allocations: 145.2 kB / 0.7159 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.792e-05/1.374, allocations: 20.08 kB / 0.716 GB, free: 185 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.374, allocations: 13.91 kB / 0.716 GB, free: 185 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009775/1.383, allocations: 8.907 MB / 0.7247 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/1.385, allocations: 0.5048 MB / 0.7252 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/1.386, allocations: 50.5 kB / 0.7252 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002839/1.389, allocations: 84.84 kB / 0.7253 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005507/1.39, allocations: 242 kB / 0.7255 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000399/1.39, allocations: 163.7 kB / 0.7257 GB, free: 181.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006138/1.396, allocations: 2.953 MB / 0.7286 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/1.396, allocations: 2.906 kB / 0.7286 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008285/1.405, allocations: 1.373 MB / 0.7299 GB, free: 179.4 MB / 0.5294 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.009995/1.415, allocations: 9.574 MB / 0.7393 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.426, allocations: 8.842 MB / 0.7479 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.426, allocations: 0 / 0.7479 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002641/1.429, allocations: 2.443 MB / 0.7503 GB, free: 160 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00544/1.434, allocations: 0.5579 MB / 0.7508 GB, free: 159.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07696/1.511, allocations: 67.22 MB / 0.8165 GB, free: 83.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003698/1.515, allocations: 3.589 MB / 0.82 GB, free: 79.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005328/1.52, allocations: 2.306 MB / 0.8222 GB, free: 77.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003777/1.524, allocations: 2.494 MB / 0.8247 GB, free: 74.83 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/1.524, allocations: 1.312 kB / 0.8247 GB, free: 74.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3496/1.874, allocations: 97.98 MB / 0.9203 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/12.38, allocations: 6.75 kB / 0.9204 GB, free: 176.3 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_0_0_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches