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.001131/0.001131, allocations: 104.7 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.001189/0.001189, 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.347/1.347, 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.2126/0.2126, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 73.19 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01723/0.1223, allocations: 16.99 MB / 486.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008534/0.1309, allocations: 3.933 MB / 490.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/0.1334, allocations: 99.81 kB / 490.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.138, allocations: 2.168 MB / 492.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005809/0.1439, allocations: 2.518 MB / 495.1 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009543/0.1449, allocations: 295.5 kB / 495.4 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008168/0.1531, allocations: 6.527 MB / 0.4901 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004778/0.1579, allocations: 3.342 MB / 0.4934 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/0.1619, allocations: 2.145 MB / 0.4955 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004251/0.1661, allocations: 2.779 MB / 0.4982 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001617/0.1678, allocations: 395.9 kB / 0.4986 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002677/0.1705, allocations: 0.8076 MB / 0.4994 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003485/0.174, allocations: 2.777 MB / 0.5021 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2336/0.4075, allocations: 3.35 MB / 0.5053 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.4195, allocations: 10.16 MB / 0.5153 GB, free: 16.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4195, allocations: 0 / 0.5153 GB, free: 16.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4195, allocations: 0 / 0.5153 GB, free: 16.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000376/0.4199, allocations: 0 / 0.5153 GB, free: 16.28 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01632/0.4362, allocations: 7.039 MB / 0.5221 GB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4363, allocations: 13.67 kB / 0.5221 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002958/0.4393, allocations: 1.27 MB / 0.5234 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0195/0.4588, allocations: 5.862 MB / 0.5291 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007999/0.4668, allocations: 3.257 MB / 0.5323 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.4671, allocations: 323.4 kB / 0.5326 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002354/0.4695, allocations: 421.9 kB / 0.533 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03427/0.5038, allocations: 18.88 MB / 0.5514 GB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.5039, allocations: 33.75 kB / 0.5515 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001322/0.5053, allocations: 203.7 kB / 0.5517 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007958/0.5132, allocations: 4.753 MB / 0.5563 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.036/0.5493, allocations: 17.53 MB / 0.5734 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/0.6528, allocations: 61.25 MB / 0.6332 GB, free: 8.523 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01608/0.6689, allocations: 8.438 MB / 0.6415 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004216/0.6732, allocations: 2.581 MB / 0.644 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02481/0.698, allocations: 11.87 MB / 0.6556 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.6981, allocations: 56.56 kB / 0.6556 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 8.205e-06/0.6981, allocations: 0 / 0.6556 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01988/0.718, allocations: 7.51 MB / 0.663 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.7181, allocations: 111 kB / 0.6631 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01164/0.7297, allocations: 5.665 MB / 0.6686 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005982/0.7304, allocations: 64.44 kB / 0.6687 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004429/0.7348, allocations: 5.074 MB / 0.6736 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001861/0.7367, allocations: 1.201 MB / 0.6748 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00539/0.7421, allocations: 1.905 MB / 0.6767 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7423, allocations: 309.1 kB / 0.677 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005584/0.7478, allocations: 3.204 MB / 0.6801 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009666/0.7575, allocations: 8.654 MB / 0.6885 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.273/1.031, allocations: 12.92 MB / 0.7012 GB, free: 177 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002123/1.031, allocations: 55.16 kB / 0.7012 GB, free: 177 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02519/1.056, allocations: 11.65 MB / 0.7126 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.056, allocations: 89.67 kB / 0.7127 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002367/1.056, allocations: 192.5 kB / 0.7128 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/1.057, allocations: 252 kB / 0.7131 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006426/1.063, allocations: 2.072 MB / 0.7151 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002649/1.063, allocations: 377.8 kB / 0.7155 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007969/1.071, allocations: 1.323 MB / 0.7168 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002067/1.073, allocations: 0.5483 MB / 0.7173 GB, free: 173.5 MB / 0.5294 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.00938/1.083, allocations: 3.71 MB / 0.7209 GB, free: 172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00163/1.084, allocations: 487.2 kB / 0.7214 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/1.087, allocations: 0.6432 MB / 0.722 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/1.087, allocations: 59.2 kB / 0.7221 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/1.087, allocations: 0 / 0.7221 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/1.087, allocations: 11.39 kB / 0.7221 GB, free: 171.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02917/1.116, allocations: 12.64 MB / 0.7344 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.018e-05/1.116, allocations: 12 kB / 0.7344 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/1.118, allocations: 419 kB / 0.7348 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-05/1.118, allocations: 25.08 kB / 0.7349 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003662/1.119, allocations: 64.66 kB / 0.7349 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.873e-05/1.119, allocations: 37.73 kB / 0.735 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/1.119, allocations: 19.94 kB / 0.735 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/1.125, allocations: 4.631 MB / 0.7395 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.126, allocations: 0.5664 MB / 0.7401 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001327/1.127, allocations: 52.61 kB / 0.7401 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/1.13, allocations: 131.9 kB / 0.7402 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003885/1.13, allocations: 180 kB / 0.7404 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.13, allocations: 102 kB / 0.7405 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007385/1.138, allocations: 3.49 MB / 0.7439 GB, free: 157 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/1.138, allocations: 0 / 0.7439 GB, free: 157 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01003/1.148, allocations: 1.987 MB / 0.7458 GB, free: 155 MB / 0.5294 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.006079/1.154, allocations: 5.316 MB / 0.751 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01761/1.172, allocations: 12.64 MB / 0.7634 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.172, allocations: 4 kB / 0.7634 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002645/1.174, allocations: 2.01 MB / 0.7653 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00744/1.182, allocations: 0.6259 MB / 0.766 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1115/1.293, allocations: 77.98 MB / 0.8421 GB, free: 46.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/1.303, allocations: 5.416 MB / 0.8474 GB, free: 40.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008801/1.312, allocations: 3.547 MB / 0.8509 GB, free: 37.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006211/1.319, allocations: 3.323 MB / 0.8541 GB, free: 33.96 MB / 0.5294 GB Notification: Performance of SimCode: time 1.322e-06/1.319, allocations: 0 / 0.8541 GB, free: 33.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3701/1.689, allocations: 97.04 MB / 0.9489 GB, free: 169.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.71, allocations: 1.734 kB / 0.9489 GB, free: 169.3 MB / 0.545 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