Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",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.001553/0.001553, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001886/0.001886, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.397/1.397, 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.2115/0.2115, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 63.89 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3765, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01311/0.3897, allocations: 11.17 MB / 0.5293 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.3997, allocations: 3.806 MB / 0.533 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.4033, allocations: 65.94 kB / 0.5331 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008906/0.4123, allocations: 2.698 MB / 0.5357 GB, free: 6.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008746/0.4211, allocations: 1.846 MB / 0.5375 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.4244, allocations: 0.6967 MB / 0.5382 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01006/0.4345, allocations: 3.593 MB / 0.5417 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009888/0.4445, allocations: 3.713 MB / 0.5454 GB, free: 440 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004939/0.4495, allocations: 1.487 MB / 0.5468 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0049/0.4545, allocations: 2.021 MB / 0.5488 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001635/0.4561, allocations: 324 kB / 0.5491 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003943/0.4601, allocations: 1.061 MB / 0.5501 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003184/0.4633, allocations: 1.851 MB / 0.5519 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005315/0.4687, allocations: 2.144 MB / 0.554 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.4825, allocations: 6.864 MB / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4825, allocations: 0 / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4825, allocations: 0 / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002727/0.4828, allocations: 4 kB / 0.5607 GB, free: 0.625 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.02074/0.5036, allocations: 5.269 MB / 0.5659 GB, free: 11.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.5036, allocations: 8.031 kB / 0.5659 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002189/0.5058, allocations: 0.6866 MB / 0.5666 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00777/0.5136, allocations: 1.889 MB / 0.5684 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006297/0.52, allocations: 2.608 MB / 0.571 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.5203, allocations: 233.8 kB / 0.5712 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/0.5218, allocations: 311.8 kB / 0.5715 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02313/0.5449, allocations: 10.22 MB / 0.5815 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002473/0.5452, allocations: 47.64 kB / 0.5815 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/0.5465, allocations: 143.9 kB / 0.5816 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003607/0.5501, allocations: 1.857 MB / 0.5835 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02047/0.5706, allocations: 9.203 MB / 0.5924 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05375/0.6244, allocations: 37.55 MB / 0.6291 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/0.6382, allocations: 3.713 MB / 0.6327 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/0.6408, allocations: 1.71 MB / 0.6344 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.642, allocations: 0.6824 MB / 0.6351 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.187e-05/0.6421, allocations: 43.12 kB / 0.6351 GB, free: 2.293 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 6.362e-06/0.6421, allocations: 0 / 0.6351 GB, free: 2.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.04801/0.6901, allocations: 13.16 MB / 0.648 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/0.6903, allocations: 157.1 kB / 0.6481 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008893/0.6992, allocations: 3.992 MB / 0.652 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004686/0.6997, allocations: 49.69 kB / 0.6521 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003255/0.703, allocations: 3.128 MB / 0.6551 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.7041, allocations: 0.5739 MB / 0.6557 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003062/0.7072, allocations: 1.143 MB / 0.6568 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7074, allocations: 305.1 kB / 0.6571 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003413/0.7108, allocations: 1.928 MB / 0.659 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/0.7169, allocations: 5.516 MB / 0.6643 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/0.7275, allocations: 8.067 MB / 0.6722 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001559/0.7277, allocations: 36 kB / 0.6723 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.0176/0.7453, allocations: 7.936 MB / 0.68 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002158/0.7455, allocations: 60.38 kB / 0.6801 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002907/0.7458, allocations: 128.1 kB / 0.6802 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.7488, allocations: 0.905 MB / 0.6811 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004648/0.7535, allocations: 1.29 MB / 0.6823 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007725/0.7612, allocations: 5.191 MB / 0.6874 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/0.7662, allocations: 307.8 kB / 0.6877 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/0.7675, allocations: 356 kB / 0.688 GB, free: 8.184 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 676 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004654/0.7721, allocations: 1.994 MB / 0.69 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/0.7733, allocations: 353.6 kB / 0.6903 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00652/0.7799, allocations: 2.786 MB / 0.693 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.918e-05/0.78, allocations: 16 kB / 0.6931 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.78, allocations: 4 kB / 0.6931 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.485e-05/0.78, allocations: 7.969 kB / 0.6931 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/0.7976, allocations: 7.234 MB / 0.7001 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/0.7976, allocations: 4.031 kB / 0.7001 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.7991, allocations: 247.6 kB / 0.7004 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002352/0.8014, allocations: 0.7186 MB / 0.7011 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003257/0.8018, allocations: 35.97 kB / 0.7011 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006922/0.8087, allocations: 4.754 MB / 0.7058 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.8088, allocations: 7.969 kB / 0.7058 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009227/0.818, allocations: 5.148 MB / 0.7108 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.8192, allocations: 398.6 kB / 0.7112 GB, free: 188 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009065/0.8202, allocations: 24 kB / 0.7112 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.822, allocations: 83.88 kB / 0.7113 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/0.8225, allocations: 96.52 kB / 0.7114 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/0.8227, allocations: 47.91 kB / 0.7114 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005528/0.8282, allocations: 2.489 MB / 0.7138 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8283, allocations: 0 / 0.7138 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006438/0.8347, allocations: 0.8983 MB / 0.7147 GB, free: 12.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01042/0.8452, allocations: 5.79 MB / 0.7204 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008714/0.854, allocations: 4.615 MB / 0.7249 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.854, allocations: 1.25 kB / 0.7249 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.8564, allocations: 1.369 MB / 0.7262 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/0.8605, allocations: 428.8 kB / 0.7266 GB, free: 348 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.378/1.239, allocations: 43.07 MB / 0.7687 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005264/1.244, allocations: 3.105 MB / 0.7717 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004368/1.248, allocations: 1.794 MB / 0.7735 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002917/1.251, allocations: 1.788 MB / 0.7752 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/1.251, allocations: 0 / 0.7752 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/1.361, allocations: 64.49 MB / 0.8382 GB, free: 86.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.4/23.76, allocations: 0 / 0.8382 GB, free: 86.71 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches