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.001367/0.001367, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001322/0.001322, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.494/1.494, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2318/0.2318, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3473, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01823/0.3656, allocations: 15.97 MB / 0.534 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.3763, allocations: 3.819 MB / 0.5377 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003691/0.3801, allocations: 89.78 kB / 0.5378 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007563/0.3877, allocations: 3.101 MB / 0.5409 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007792/0.3955, allocations: 1.757 MB / 0.5426 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.3978, allocations: 463 kB / 0.543 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009649/0.4075, allocations: 4.044 MB / 0.547 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008788/0.4163, allocations: 3.6 MB / 0.5505 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004961/0.4214, allocations: 1.896 MB / 0.5523 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005559/0.427, allocations: 2.995 MB / 0.5553 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002204/0.4292, allocations: 496 kB / 0.5557 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004676/0.4339, allocations: 0.9327 MB / 0.5566 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0049/0.4389, allocations: 2.248 MB / 0.5588 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007848/0.4468, allocations: 2.809 MB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01802/0.4649, allocations: 8.739 MB / 0.5701 GB, free: 6.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.465, allocations: 0 / 0.5701 GB, free: 6.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.465, allocations: 0 / 0.5701 GB, free: 6.977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003361/0.4653, allocations: 0 / 0.5701 GB, free: 6.977 MB / 430.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.09201/0.5573, allocations: 11.25 MB / 0.5811 GB, free: 11.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.5574, allocations: 8.031 kB / 0.5811 GB, free: 11.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003551/0.561, allocations: 0.8142 MB / 0.5819 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008565/0.5696, allocations: 1.896 MB / 0.5837 GB, free: 8.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00867/0.5783, allocations: 3.338 MB / 0.587 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.5787, allocations: 295.5 kB / 0.5873 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00294/0.5816, allocations: 407.7 kB / 0.5877 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05781/0.6395, allocations: 19.55 MB / 0.6068 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002824/0.6398, allocations: 59.52 kB / 0.6068 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002431/0.6422, allocations: 183.8 kB / 0.607 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006629/0.6489, allocations: 2.338 MB / 0.6093 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05864/0.7076, allocations: 22.39 MB / 0.6311 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08262/0.7903, allocations: 52.46 MB / 0.6824 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07096/0.8613, allocations: 9.157 MB / 0.6913 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004817/0.8661, allocations: 3.021 MB / 0.6943 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.8681, allocations: 352.7 kB / 0.6946 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.782e-05/0.8682, allocations: 59.88 kB / 0.6947 GB, free: 4.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=212): time 6.402e-06/0.8683, allocations: 0 / 0.6947 GB, free: 4.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=212): time 0.1419/1.01, allocations: 16.12 MB / 0.7104 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.01, allocations: 153.8 kB / 0.7106 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2786/1.289, allocations: 4.705 MB / 0.7152 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006219/1.29, allocations: 56.14 kB / 0.7152 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003322/1.293, allocations: 3.629 MB / 0.7187 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001433/1.294, allocations: 0.8773 MB / 0.7196 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003278/1.298, allocations: 1.551 MB / 0.7211 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/1.298, allocations: 305.5 kB / 0.7214 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005111/1.303, allocations: 3.175 MB / 0.7245 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00669/1.31, allocations: 7.46 MB / 0.7318 GB, free: 158 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.321, allocations: 11.49 MB / 0.743 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000209/1.321, allocations: 42.81 kB / 0.7431 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01843/1.34, allocations: 10.63 MB / 0.7534 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/1.34, allocations: 68.53 kB / 0.7535 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000266/1.34, allocations: 155.1 kB / 0.7537 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/1.341, allocations: 198.3 kB / 0.7538 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006734/1.347, allocations: 1.8 MB / 0.7556 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002685/1.348, allocations: 297.9 kB / 0.7559 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007123/1.355, allocations: 0.9503 MB / 0.7568 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/1.357, allocations: 0.5097 MB / 0.7573 GB, free: 144.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.005796/1.363, allocations: 2.317 MB / 0.7596 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.364, allocations: 425.1 kB / 0.76 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00747/1.371, allocations: 4.866 MB / 0.7647 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-05/1.372, allocations: 24 kB / 0.7648 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.372, allocations: 0 / 0.7648 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/1.372, allocations: 9.75 kB / 0.7648 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02125/1.393, allocations: 11.53 MB / 0.776 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/1.393, allocations: 8 kB / 0.776 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/1.396, allocations: 0.5928 MB / 0.7766 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.196e-05/1.396, allocations: 23.94 kB / 0.7766 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005649/1.397, allocations: 150.8 kB / 0.7768 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.894e-05/1.397, allocations: 27.86 kB / 0.7768 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/1.397, allocations: 11.94 kB / 0.7768 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/1.407, allocations: 8.92 MB / 0.7855 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.408, allocations: 0.5213 MB / 0.786 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001119/1.409, allocations: 47.98 kB / 0.7861 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/1.412, allocations: 83.92 kB / 0.7862 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000478/1.412, allocations: 239.6 kB / 0.7864 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003362/1.413, allocations: 171.6 kB / 0.7866 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005031/1.418, allocations: 2.95 MB / 0.7894 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.01e-07/1.418, allocations: 0 / 0.7894 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006578/1.424, allocations: 1.388 MB / 0.7908 GB, free: 111.5 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.008994/1.433, allocations: 9.604 MB / 0.8002 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008413/1.442, allocations: 7.128 MB / 0.8071 GB, free: 94.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.442, allocations: 0 / 0.8071 GB, free: 94.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002436/1.444, allocations: 2.445 MB / 0.8095 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/1.448, allocations: 0.5607 MB / 0.8101 GB, free: 91.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07201/1.52, allocations: 59.94 MB / 0.8686 GB, free: 24.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004618/1.525, allocations: 3.592 MB / 0.8721 GB, free: 21.26 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005422/1.53, allocations: 2.306 MB / 0.8744 GB, free: 18.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003956/1.534, allocations: 2.498 MB / 0.8768 GB, free: 16.45 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/1.534, allocations: 0 / 0.8768 GB, free: 16.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4358/1.97, allocations: 93.27 MB / 0.9679 GB, free: 202 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.23/21.2, allocations: 10.48 kB / 0.9679 GB, free: 202 MB / 0.6075 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