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.001245/0.001245, allocations: 113.2 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.00121/0.00121, allocations: 185 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2043/0.2043, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.84 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3709, allocations: 60.82 MB / 0.5184 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01494/0.3859, allocations: 13.15 MB / 0.5313 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.397, allocations: 4.284 MB / 0.5355 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.4002, allocations: 79.72 kB / 0.5355 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007686/0.4079, allocations: 3.72 MB / 0.5392 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007214/0.4153, allocations: 2.078 MB / 0.5412 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.4182, allocations: 0.8056 MB / 0.542 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008378/0.4266, allocations: 4.233 MB / 0.5461 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006021/0.4327, allocations: 4.864 MB / 0.5509 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004134/0.4369, allocations: 1.869 MB / 0.5527 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.4408, allocations: 2.484 MB / 0.5551 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00131/0.4421, allocations: 423.9 kB / 0.5555 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.4449, allocations: 1.151 MB / 0.5566 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.4473, allocations: 2.252 MB / 0.5588 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003672/0.451, allocations: 2.645 MB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009535/0.4606, allocations: 8.28 MB / 0.5695 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.4606, allocations: 0 / 0.5695 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4606, allocations: 0 / 0.5695 GB, free: 7.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002752/0.4609, allocations: 4 kB / 0.5695 GB, free: 7.664 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.02128/0.4822, allocations: 6.398 MB / 0.5758 GB, free: 1.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.4823, allocations: 12.03 kB / 0.5758 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002107/0.4844, allocations: 0.8393 MB / 0.5766 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00733/0.4918, allocations: 2.002 MB / 0.5786 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006832/0.4986, allocations: 3.047 MB / 0.5815 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.4989, allocations: 295.6 kB / 0.5818 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001805/0.5008, allocations: 395.8 kB / 0.5822 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/0.5257, allocations: 12.39 MB / 0.5943 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001688/0.5259, allocations: 51.53 kB / 0.5943 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007756/0.5267, allocations: 183.8 kB / 0.5945 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004065/0.5307, allocations: 2.249 MB / 0.5967 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/0.5526, allocations: 11.36 MB / 0.6078 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06109/0.6138, allocations: 46.37 MB / 0.6531 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0179/0.6317, allocations: 5.493 MB / 0.6585 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004182/0.6359, allocations: 3.44 MB / 0.6618 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.637, allocations: 0.6987 MB / 0.6625 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.6371, allocations: 55.81 kB / 0.6625 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=203): time 5.981e-06/0.6371, allocations: 0 / 0.6625 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=234): time 0.07557/0.7127, allocations: 27.61 MB / 0.6895 GB, free: 10.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/0.7128, allocations: 158.5 kB / 0.6897 GB, free: 10.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006467/0.7193, allocations: 4.428 MB / 0.694 GB, free: 5.754 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006898/0.72, allocations: 61.7 kB / 0.694 GB, free: 5.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/0.7227, allocations: 3.559 MB / 0.6975 GB, free: 2.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.724, allocations: 0.9224 MB / 0.6984 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002506/0.7265, allocations: 1.423 MB / 0.6998 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.7266, allocations: 305.1 kB / 0.7001 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004839/0.7315, allocations: 3.273 MB / 0.7033 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007766/0.7393, allocations: 7.1 MB / 0.7102 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01288/0.7522, allocations: 11.17 MB / 0.7211 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/0.7523, allocations: 36 kB / 0.7212 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.2597/1.012, allocations: 11.31 MB / 0.7322 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/1.012, allocations: 65.34 kB / 0.7323 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002452/1.012, allocations: 135 kB / 0.7324 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/1.015, allocations: 1.118 MB / 0.7335 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006109/1.022, allocations: 1.693 MB / 0.7352 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007387/1.029, allocations: 6.341 MB / 0.7413 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/1.034, allocations: 403.5 kB / 0.7417 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.036, allocations: 441.9 kB / 0.7422 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.004035/1.04, allocations: 2.34 MB / 0.7444 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009084/1.041, allocations: 417.3 kB / 0.7448 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008933/1.05, allocations: 6.189 MB / 0.7509 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.367e-05/1.05, allocations: 23.25 kB / 0.7509 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.05, allocations: 3.812 kB / 0.7509 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/1.05, allocations: 10 kB / 0.7509 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/1.07, allocations: 12.98 MB / 0.7636 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/1.07, allocations: 0 / 0.7636 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/1.072, allocations: 0.5508 MB / 0.7641 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/1.075, allocations: 0.9509 MB / 0.7651 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/1.075, allocations: 83.89 kB / 0.7651 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005955/1.081, allocations: 6.096 MB / 0.7711 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.081, allocations: 3.984 kB / 0.7711 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.093, allocations: 10.49 MB / 0.7813 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.096, allocations: 0.9095 MB / 0.7822 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007594/1.096, allocations: 51.81 kB / 0.7823 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002397/1.099, allocations: 175.3 kB / 0.7824 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005115/1.099, allocations: 177.7 kB / 0.7826 GB, free: 145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/1.099, allocations: 107.9 kB / 0.7827 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003577/1.103, allocations: 2.778 MB / 0.7854 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/1.103, allocations: 4 kB / 0.7854 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005561/1.109, allocations: 1.202 MB / 0.7866 GB, free: 140.9 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.01276/1.121, allocations: 11.16 MB / 0.7975 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.132, allocations: 7.736 MB / 0.8051 GB, free: 122 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.132, allocations: 4 kB / 0.8051 GB, free: 122 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00378/1.135, allocations: 3.024 MB / 0.808 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.003468/1.139, allocations: 0.506 MB / 0.8085 GB, free: 118.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07269/1.212, allocations: 59.25 MB / 0.8664 GB, free: 53.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003596/1.215, allocations: 3.666 MB / 0.87 GB, free: 49.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004629/1.22, allocations: 2.264 MB / 0.8722 GB, free: 47.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003325/1.223, allocations: 2.35 MB / 0.8745 GB, free: 44.71 MB / 0.5762 GB Notification: Performance of SimCode: time 1.113e-06/1.223, allocations: 0 / 0.8745 GB, free: 44.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3674/1.591, allocations: 91.64 MB / 0.964 GB, free: 215.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.23/20.82, allocations: 3.109 kB / 0.964 GB, free: 215.2 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