Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",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.00169/0.00169, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.002123/0.002123, allocations: 192 kB / 18.56 MB, free: 4.434 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.396/1.396, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2086/0.2086, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.27 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.122, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01448/0.1365, allocations: 13.16 MB / 482.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1477, allocations: 4.271 MB / 486.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.1507, allocations: 79.81 kB / 486.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007957/0.1587, allocations: 3.722 MB / 490.6 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.1653, allocations: 2.025 MB / 492.6 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.1683, allocations: 0.8032 MB / 493.4 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007633/0.176, allocations: 4.225 MB / 497.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008161/0.1842, allocations: 4.871 MB / 0.4907 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/0.1884, allocations: 1.865 MB / 0.4926 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004842/0.1933, allocations: 2.488 MB / 0.495 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002005/0.1953, allocations: 420 kB / 0.4954 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/0.1993, allocations: 1.147 MB / 0.4965 GB, free: 7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003869/0.2032, allocations: 2.233 MB / 0.4987 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006267/0.2095, allocations: 2.641 MB / 0.5013 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2523/0.4618, allocations: 7.984 MB / 0.5091 GB, free: 23.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.4619, allocations: 0 / 0.5091 GB, free: 23.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.4619, allocations: 0 / 0.5091 GB, free: 23.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004281/0.4623, allocations: 1.812 kB / 0.5091 GB, free: 23.61 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02544/0.4878, allocations: 6.265 MB / 0.5152 GB, free: 21.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4879, allocations: 10.19 kB / 0.5152 GB, free: 21.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002467/0.4903, allocations: 0.8393 MB / 0.516 GB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00793/0.4983, allocations: 1.965 MB / 0.5179 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007343/0.5056, allocations: 2.977 MB / 0.5208 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.506, allocations: 301.5 kB / 0.5211 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.5075, allocations: 389.2 kB / 0.5215 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02247/0.5299, allocations: 12.39 MB / 0.5336 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/0.5301, allocations: 40.64 kB / 0.5336 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005826/0.5307, allocations: 182.6 kB / 0.5338 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003733/0.5345, allocations: 2.261 MB / 0.536 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02175/0.5562, allocations: 11.36 MB / 0.5471 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06739/0.6237, allocations: 46.51 MB / 0.5925 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/0.642, allocations: 5.476 MB / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004498/0.6466, allocations: 3.43 MB / 0.6012 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.6476, allocations: 0.6911 MB / 0.6019 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.6477, allocations: 63.52 kB / 0.602 GB, free: 11.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=203): time 5.771e-06/0.6477, allocations: 0 / 0.602 GB, free: 11.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=234): time 0.08292/0.7306, allocations: 27.35 MB / 0.6287 GB, free: 15.88 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.7308, allocations: 161.8 kB / 0.6288 GB, free: 15.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007961/0.7388, allocations: 4.42 MB / 0.6332 GB, free: 11.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009317/0.7398, allocations: 61.7 kB / 0.6332 GB, free: 11.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002759/0.7425, allocations: 3.419 MB / 0.6366 GB, free: 7.777 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.744, allocations: 0.8852 MB / 0.6374 GB, free: 6.902 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00227/0.7463, allocations: 1.42 MB / 0.6388 GB, free: 5.473 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.865e-05/0.7464, allocations: 307.2 kB / 0.6391 GB, free: 5.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004937/0.7513, allocations: 3.273 MB / 0.6423 GB, free: 1.895 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008293/0.7597, allocations: 7.102 MB / 0.6492 GB, free: 8.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/0.7751, allocations: 11.17 MB / 0.6601 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001925/0.7754, allocations: 44 kB / 0.6602 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.02487/0.8003, allocations: 11.29 MB / 0.6712 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.8005, allocations: 72 kB / 0.6713 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002027/0.8007, allocations: 132 kB / 0.6714 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/0.8037, allocations: 1.121 MB / 0.6725 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006879/0.8106, allocations: 1.696 MB / 0.6741 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008938/0.8196, allocations: 6.337 MB / 0.6803 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006384/0.826, allocations: 395.6 kB / 0.6807 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001908/0.8279, allocations: 443.8 kB / 0.6811 GB, free: 7.234 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (815): * Single equations (assignments): 811 * 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.006901/0.8348, allocations: 2.338 MB / 0.6834 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/0.8365, allocations: 398.8 kB / 0.6838 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.85, allocations: 6.183 MB / 0.6898 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.411e-05/0.8502, allocations: 29.08 kB / 0.6899 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.76e-05/0.8502, allocations: 5.094 kB / 0.6899 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.125e-05/0.8503, allocations: 11.97 kB / 0.6899 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02959/0.8798, allocations: 13.09 MB / 0.7027 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.8799, allocations: 8.062 kB / 0.7027 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/0.8831, allocations: 0.5382 MB / 0.7032 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2572/1.14, allocations: 0.9487 MB / 0.7041 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009834/1.141, allocations: 85.02 kB / 0.7042 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00888/1.15, allocations: 6.067 MB / 0.7101 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.15, allocations: 7.406 kB / 0.7101 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01796/1.168, allocations: 10.46 MB / 0.7204 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/1.171, allocations: 0.8897 MB / 0.7212 GB, free: 181.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001164/1.172, allocations: 40.44 kB / 0.7213 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002526/1.175, allocations: 171.1 kB / 0.7214 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005428/1.175, allocations: 189.4 kB / 0.7216 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000248/1.175, allocations: 100.1 kB / 0.7217 GB, free: 181.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004611/1.18, allocations: 2.78 MB / 0.7244 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/1.18, allocations: 0 / 0.7244 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007692/1.188, allocations: 1.209 MB / 0.7256 GB, free: 180.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.01505/1.203, allocations: 11.14 MB / 0.7365 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01498/1.218, allocations: 9.817 MB / 0.7461 GB, free: 166 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.218, allocations: 0 / 0.7461 GB, free: 166 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004007/1.222, allocations: 3.026 MB / 0.749 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/1.226, allocations: 0.4971 MB / 0.7495 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08413/1.31, allocations: 66.76 MB / 0.8147 GB, free: 87.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/1.314, allocations: 3.67 MB / 0.8183 GB, free: 83.76 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004931/1.319, allocations: 2.269 MB / 0.8205 GB, free: 81.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003277/1.322, allocations: 2.358 MB / 0.8228 GB, free: 79.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/1.322, allocations: 0 / 0.8228 GB, free: 79.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3801/1.702, allocations: 95.75 MB / 0.9163 GB, free: 183.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.64, allocations: 6.516 kB / 0.9163 GB, free: 183.9 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches