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.001185/0.001185, allocations: 111.3 kB / 17.78 MB, free: 5.133 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.00115/0.00115, allocations: 183.1 kB / 18.71 MB, free: 4.207 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.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2255/0.2255, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 63.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3804, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01292/0.3934, allocations: 11.17 MB / 0.5293 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009893/0.4033, allocations: 3.812 MB / 0.5331 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003046/0.4064, allocations: 61.5 kB / 0.5331 GB, free: 8.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006796/0.4133, allocations: 2.696 MB / 0.5357 GB, free: 6.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007055/0.4204, allocations: 1.846 MB / 0.5375 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.4231, allocations: 0.6898 MB / 0.5382 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007538/0.4307, allocations: 3.596 MB / 0.5417 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007594/0.4383, allocations: 3.719 MB / 0.5454 GB, free: 448 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.4426, allocations: 1.48 MB / 0.5468 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/0.4469, allocations: 2.013 MB / 0.5488 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.4485, allocations: 328 kB / 0.5491 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003911/0.4525, allocations: 1.073 MB / 0.5501 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003518/0.456, allocations: 1.851 MB / 0.5519 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005356/0.4615, allocations: 2.136 MB / 0.554 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.4735, allocations: 6.868 MB / 0.5607 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4736, allocations: 0 / 0.5607 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4736, allocations: 0 / 0.5607 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003021/0.4739, allocations: 0 / 0.5607 GB, free: 0.6406 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.02177/0.4957, allocations: 5.266 MB / 0.5659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.4957, allocations: 16.03 kB / 0.5659 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002342/0.4981, allocations: 0.6866 MB / 0.5666 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007647/0.5058, allocations: 1.889 MB / 0.5684 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00638/0.5122, allocations: 2.612 MB / 0.571 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.5125, allocations: 221.8 kB / 0.5712 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.514, allocations: 307.8 kB / 0.5715 GB, free: 5.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.5362, allocations: 10.23 MB / 0.5815 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.5365, allocations: 43.62 kB / 0.5815 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/0.5378, allocations: 143.9 kB / 0.5816 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003765/0.5416, allocations: 1.868 MB / 0.5835 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/0.5627, allocations: 9.183 MB / 0.5924 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05687/0.6196, allocations: 37.56 MB / 0.6291 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/0.6338, allocations: 3.717 MB / 0.6327 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/0.6363, allocations: 1.706 MB / 0.6344 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.6375, allocations: 0.6785 MB / 0.6351 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/0.6376, allocations: 47.12 kB / 0.6351 GB, free: 2.305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.799e-06/0.6376, allocations: 0 / 0.6351 GB, free: 2.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.0483/0.6859, allocations: 13.17 MB / 0.648 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.686, allocations: 149.1 kB / 0.6481 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00737/0.6934, allocations: 3.989 MB / 0.652 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003589/0.6938, allocations: 41.7 kB / 0.652 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002761/0.6966, allocations: 3.143 MB / 0.6551 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009104/0.6975, allocations: 0.5738 MB / 0.6557 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/0.7004, allocations: 1.147 MB / 0.6568 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7005, allocations: 301.1 kB / 0.6571 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/0.7041, allocations: 1.928 MB / 0.659 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006739/0.7109, allocations: 5.512 MB / 0.6643 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.7213, allocations: 8.07 MB / 0.6722 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/0.7215, allocations: 36 kB / 0.6723 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01729/0.7389, allocations: 7.938 MB / 0.68 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.7391, allocations: 60 kB / 0.6801 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002427/0.7394, allocations: 124 kB / 0.6802 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00294/0.7423, allocations: 0.9138 MB / 0.6811 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/0.7468, allocations: 1.279 MB / 0.6823 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007607/0.7545, allocations: 5.202 MB / 0.6874 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004634/0.7591, allocations: 299.8 kB / 0.6877 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/0.7604, allocations: 364 kB / 0.688 GB, free: 8.188 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.004675/0.7651, allocations: 1.986 MB / 0.69 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.7662, allocations: 349.6 kB / 0.6903 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006637/0.7729, allocations: 2.786 MB / 0.693 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.161e-05/0.773, allocations: 20.06 kB / 0.6931 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.133e-05/0.773, allocations: 4.375 kB / 0.6931 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.44e-05/0.7731, allocations: 11.98 kB / 0.6931 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.7911, allocations: 7.231 MB / 0.7001 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/0.7912, allocations: 0 / 0.7001 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.7926, allocations: 259.7 kB / 0.7004 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/0.795, allocations: 0.7185 MB / 0.7011 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003028/0.7953, allocations: 31.98 kB / 0.7011 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006619/0.8019, allocations: 4.754 MB / 0.7058 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.802, allocations: 3.938 kB / 0.7058 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009459/0.8115, allocations: 5.147 MB / 0.7108 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.8127, allocations: 406.6 kB / 0.7112 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/0.8138, allocations: 20 kB / 0.7112 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/0.8159, allocations: 79.89 kB / 0.7113 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005398/0.8164, allocations: 88.47 kB / 0.7114 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002982/0.8168, allocations: 43.97 kB / 0.7114 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005073/0.8219, allocations: 2.497 MB / 0.7138 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.82e-07/0.8219, allocations: 4 kB / 0.7138 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00572/0.8276, allocations: 0.9022 MB / 0.7147 GB, free: 12.58 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.01053/0.8382, allocations: 5.792 MB / 0.7204 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00905/0.8473, allocations: 4.608 MB / 0.7249 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.8474, allocations: 0 / 0.7249 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/0.85, allocations: 1.373 MB / 0.7262 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004079/0.8541, allocations: 425.2 kB / 0.7266 GB, free: 360 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3071/1.161, allocations: 43.07 MB / 0.7687 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00358/1.165, allocations: 3.11 MB / 0.7717 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003619/1.169, allocations: 1.802 MB / 0.7735 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002551/1.171, allocations: 1.78 MB / 0.7752 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/1.171, allocations: 4 kB / 0.7752 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.274, allocations: 64.48 MB / 0.8382 GB, free: 86.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.1/24.38, allocations: 2.656 kB / 0.8382 GB, free: 86.9 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