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.001304/0.001304, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.00136/0.00136, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.459/1.459, 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.2187/0.2187, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.83 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 60.81 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01475/0.379, allocations: 13.16 MB / 0.5313 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.3896, allocations: 4.275 MB / 0.5355 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.3926, allocations: 82.5 kB / 0.5355 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00803/0.4007, allocations: 3.725 MB / 0.5392 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006502/0.4072, allocations: 2.017 MB / 0.5411 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.4099, allocations: 0.8159 MB / 0.5419 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007151/0.4171, allocations: 4.23 MB / 0.5461 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006704/0.4238, allocations: 4.863 MB / 0.5508 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.4278, allocations: 1.865 MB / 0.5526 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004491/0.4323, allocations: 2.48 MB / 0.5551 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00153/0.4339, allocations: 420 kB / 0.5555 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.4377, allocations: 1.151 MB / 0.5566 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003613/0.4414, allocations: 2.237 MB / 0.5588 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005126/0.4465, allocations: 2.645 MB / 0.5614 GB, free: 0 / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01354/0.4601, allocations: 8.276 MB / 0.5694 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4602, allocations: 0 / 0.5694 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.1e-06/0.4602, allocations: 4 kB / 0.5694 GB, free: 7.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003177/0.4605, allocations: 4 kB / 0.5694 GB, free: 7.68 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02298/0.4835, allocations: 6.402 MB / 0.5757 GB, free: 1.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.4836, allocations: 8.031 kB / 0.5757 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002342/0.4859, allocations: 0.8354 MB / 0.5765 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007782/0.4937, allocations: 2.004 MB / 0.5785 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006643/0.5004, allocations: 3.049 MB / 0.5815 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.5008, allocations: 295.6 kB / 0.5817 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001579/0.5024, allocations: 403.6 kB / 0.5821 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02607/0.5285, allocations: 12.39 MB / 0.5942 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.5287, allocations: 47.62 kB / 0.5943 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006956/0.5294, allocations: 183.8 kB / 0.5944 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004477/0.5339, allocations: 2.253 MB / 0.5966 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02456/0.5584, allocations: 11.35 MB / 0.6077 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06542/0.6239, allocations: 46.37 MB / 0.653 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0189/0.6428, allocations: 5.489 MB / 0.6584 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004795/0.6477, allocations: 3.436 MB / 0.6617 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.6488, allocations: 0.6987 MB / 0.6624 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.6488, allocations: 55.81 kB / 0.6625 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=203): time 4.648e-06/0.6488, allocations: 0 / 0.6625 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=234): time 0.08033/0.7292, allocations: 27.61 MB / 0.6894 GB, free: 10.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7293, allocations: 162.5 kB / 0.6896 GB, free: 10.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006696/0.736, allocations: 4.432 MB / 0.6939 GB, free: 5.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005839/0.7366, allocations: 61.7 kB / 0.694 GB, free: 5.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002892/0.7395, allocations: 3.551 MB / 0.6974 GB, free: 2.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.7408, allocations: 0.9225 MB / 0.6983 GB, free: 1.191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002204/0.7431, allocations: 1.427 MB / 0.6997 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7432, allocations: 305.2 kB / 0.7 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005055/0.7483, allocations: 3.276 MB / 0.7032 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008613/0.7569, allocations: 7.104 MB / 0.7102 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/0.7729, allocations: 11.17 MB / 0.7211 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/0.7731, allocations: 40 kB / 0.7211 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.2587/1.032, allocations: 11.31 MB / 0.7321 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.032, allocations: 62.41 kB / 0.7322 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002173/1.032, allocations: 134.9 kB / 0.7323 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/1.035, allocations: 1.119 MB / 0.7334 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006249/1.041, allocations: 1.688 MB / 0.7351 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008068/1.05, allocations: 6.339 MB / 0.7413 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005677/1.055, allocations: 406.2 kB / 0.7417 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.057, allocations: 442.8 kB / 0.7421 GB, free: 173.5 MB / 0.5762 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.004564/1.061, allocations: 2.336 MB / 0.7444 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009221/1.062, allocations: 418.8 kB / 0.7448 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/1.072, allocations: 6.192 MB / 0.7508 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.476e-05/1.072, allocations: 27.34 kB / 0.7508 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.073, allocations: 3.875 kB / 0.7508 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.034e-05/1.073, allocations: 11.16 kB / 0.7508 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/1.093, allocations: 12.97 MB / 0.7635 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/1.094, allocations: 4 kB / 0.7635 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002844/1.096, allocations: 0.5458 MB / 0.764 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002475/1.099, allocations: 0.9489 MB / 0.765 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005674/1.099, allocations: 83.89 kB / 0.7651 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006476/1.106, allocations: 6.095 MB / 0.771 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.106, allocations: 4.188 kB / 0.771 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.119, allocations: 10.5 MB / 0.7813 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/1.121, allocations: 0.921 MB / 0.7822 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007528/1.121, allocations: 39.72 kB / 0.7822 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.124, allocations: 171.7 kB / 0.7824 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005819/1.124, allocations: 185.7 kB / 0.7825 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000329/1.125, allocations: 103.9 kB / 0.7826 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004173/1.129, allocations: 2.778 MB / 0.7853 GB, free: 142 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.71e-07/1.129, allocations: 0 / 0.7853 GB, free: 142 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006025/1.135, allocations: 1.213 MB / 0.7865 GB, free: 140.8 MB / 0.5762 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.01359/1.149, allocations: 11.16 MB / 0.7974 GB, free: 129.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.159, allocations: 7.732 MB / 0.805 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/1.159, allocations: 0 / 0.805 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004/1.163, allocations: 3.02 MB / 0.8079 GB, free: 118.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.166, allocations: 0.5059 MB / 0.8084 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07809/1.245, allocations: 59.25 MB / 0.8663 GB, free: 52.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/1.248, allocations: 3.674 MB / 0.8699 GB, free: 49.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004706/1.253, allocations: 2.259 MB / 0.8721 GB, free: 47.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003397/1.256, allocations: 2.358 MB / 0.8744 GB, free: 44.65 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1.256, allocations: 0 / 0.8744 GB, free: 44.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3866/1.643, allocations: 91.63 MB / 0.9639 GB, free: 215.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.27/22.91, allocations: 10.98 kB / 0.9639 GB, free: 215.3 MB / 0.6231 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