Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.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.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",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.001295/0.001295, allocations: 117.2 kB / 17.79 MB, free: 5.254 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.001281/0.001281, 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.408/1.408, 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.2175/0.2175, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3086, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01862/0.3273, allocations: 17 MB / 0.535 GB, free: 7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009715/0.3371, allocations: 3.932 MB / 0.5389 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.3402, allocations: 98.62 kB / 0.539 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005221/0.3455, allocations: 2.168 MB / 0.5411 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007864/0.3534, allocations: 2.517 MB / 0.5435 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.3549, allocations: 302.5 kB / 0.5438 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.3657, allocations: 6.542 MB / 0.5502 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005752/0.3715, allocations: 3.338 MB / 0.5535 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004451/0.376, allocations: 2.133 MB / 0.5556 GB, free: 5.957 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004757/0.3808, allocations: 2.791 MB / 0.5583 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.3824, allocations: 395.9 kB / 0.5587 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.3854, allocations: 0.7959 MB / 0.5594 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003962/0.3894, allocations: 2.789 MB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005707/0.3952, allocations: 3.349 MB / 0.5654 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.4101, allocations: 10.75 MB / 0.5759 GB, free: 1.008 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.272e-05/0.4102, allocations: 3.984 kB / 0.5759 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4102, allocations: 3.938 kB / 0.5759 GB, free: 1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004037/0.4106, allocations: 0 / 0.5759 GB, free: 1 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01621/0.4268, allocations: 7.242 MB / 0.583 GB, free: 9.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.4269, allocations: 12.03 kB / 0.583 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003766/0.4306, allocations: 1.272 MB / 0.5843 GB, free: 8.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/0.4516, allocations: 5.915 MB / 0.59 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007579/0.4592, allocations: 3.301 MB / 0.5933 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003578/0.4596, allocations: 328 kB / 0.5936 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/0.4614, allocations: 419.6 kB / 0.594 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03538/0.4968, allocations: 18.88 MB / 0.6124 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.497, allocations: 35.69 kB / 0.6124 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001623/0.4986, allocations: 207.7 kB / 0.6126 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008966/0.5076, allocations: 4.746 MB / 0.6173 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03751/0.5452, allocations: 17.53 MB / 0.6344 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.101/0.6462, allocations: 60.99 MB / 0.694 GB, free: 5.625 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01718/0.6635, allocations: 8.427 MB / 0.7022 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004616/0.6681, allocations: 2.587 MB / 0.7047 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2333/0.9015, allocations: 11.87 MB / 0.7163 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.9015, allocations: 59.66 kB / 0.7164 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 6.151e-06/0.9016, allocations: 0 / 0.7164 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01857/0.9201, allocations: 7.543 MB / 0.7237 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.9202, allocations: 101.2 kB / 0.7238 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009065/0.9293, allocations: 5.696 MB / 0.7294 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004071/0.9297, allocations: 62.05 kB / 0.7294 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002839/0.9326, allocations: 5.285 MB / 0.7346 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.9338, allocations: 1.258 MB / 0.7358 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002916/0.9368, allocations: 1.916 MB / 0.7377 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.9368, allocations: 306.4 kB / 0.738 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004273/0.9411, allocations: 3.211 MB / 0.7411 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006071/0.9472, allocations: 8.648 MB / 0.7496 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.9576, allocations: 12.92 MB / 0.7622 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001633/0.9578, allocations: 55.62 kB / 0.7622 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01633/0.9742, allocations: 11.67 MB / 0.7736 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.9743, allocations: 88.19 kB / 0.7737 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001942/0.9745, allocations: 192 kB / 0.7739 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.9747, allocations: 255.9 kB / 0.7742 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00589/0.9806, allocations: 2.074 MB / 0.7762 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002251/0.9808, allocations: 379.5 kB / 0.7765 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006309/0.9872, allocations: 1.357 MB / 0.7779 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/0.9883, allocations: 0.5541 MB / 0.7784 GB, free: 119.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005322/0.9937, allocations: 3.7 MB / 0.782 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007173/0.9944, allocations: 0.5043 MB / 0.7825 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.9957, allocations: 0.645 MB / 0.7831 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.399e-05/0.9958, allocations: 55.44 kB / 0.7832 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/0.9958, allocations: 3.984 kB / 0.7832 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.9959, allocations: 7.969 kB / 0.7832 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/1.014, allocations: 12.64 MB / 0.7956 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.014, allocations: 12 kB / 0.7956 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.015, allocations: 423.3 kB / 0.796 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.186e-05/1.015, allocations: 27.94 kB / 0.796 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002365/1.016, allocations: 59.28 kB / 0.7961 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.036e-05/1.016, allocations: 35.98 kB / 0.7961 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/1.016, allocations: 27.88 kB / 0.7961 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00464/1.02, allocations: 4.66 MB / 0.8007 GB, free: 96.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009452/1.021, allocations: 0.5868 MB / 0.8012 GB, free: 95.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008393/1.022, allocations: 59.81 kB / 0.8013 GB, free: 95.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.024, allocations: 119.9 kB / 0.8014 GB, free: 95.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/1.024, allocations: 180.8 kB / 0.8016 GB, free: 95.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.025, allocations: 107.4 kB / 0.8017 GB, free: 95.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004844/1.03, allocations: 3.494 MB / 0.8051 GB, free: 91.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/1.03, allocations: 0 / 0.8051 GB, free: 91.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007319/1.037, allocations: 2.009 MB / 0.8071 GB, free: 89.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005633/1.043, allocations: 5.338 MB / 0.8123 GB, free: 84.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009016/1.052, allocations: 7.342 MB / 0.8194 GB, free: 77.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.052, allocations: 4 kB / 0.8194 GB, free: 77.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/1.054, allocations: 2.009 MB / 0.8214 GB, free: 75.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/1.057, allocations: 0.6306 MB / 0.822 GB, free: 74.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08234/1.14, allocations: 68.37 MB / 0.8888 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00996/1.15, allocations: 5.423 MB / 0.8941 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008957/1.159, allocations: 3.543 MB / 0.8975 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006341/1.165, allocations: 3.327 MB / 0.9008 GB, free: 1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.343e-06/1.165, allocations: 0 / 0.9008 GB, free: 1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3684/1.534, allocations: 91.28 MB / 0.9899 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.69/24.22, allocations: 5.531 kB / 0.9899 GB, free: 189.4 MB / 0.6231 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches