Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001216, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2401/0.2401, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 75.44 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1098, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01765/0.1275, allocations: 16.92 MB / 497 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008443/0.136, allocations: 3.956 MB / 0.4893 GB, free: 236 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003994/0.14, allocations: 95.81 kB / 0.4894 GB, free: 140 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004889/0.145, allocations: 2.195 MB / 0.4915 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005836/0.1509, allocations: 2.494 MB / 0.4939 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009724/0.1519, allocations: 307.4 kB / 0.4942 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00785/0.1598, allocations: 6.516 MB / 0.5006 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004685/0.1645, allocations: 3.338 MB / 0.5038 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2328/0.3972, allocations: 2.129 MB / 0.5059 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00645/0.4038, allocations: 2.775 MB / 0.5086 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002683/0.4065, allocations: 391.6 kB / 0.509 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00512/0.4116, allocations: 0.8016 MB / 0.5098 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005441/0.4171, allocations: 2.733 MB / 0.5125 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007576/0.4247, allocations: 3.305 MB / 0.5157 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01835/0.4431, allocations: 10.05 MB / 0.5255 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.4432, allocations: 1.344 kB / 0.5255 GB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.4432, allocations: 0 / 0.5255 GB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0007385/0.4439, allocations: 0 / 0.5255 GB, free: 10.6 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.02439/0.4683, allocations: 6.964 MB / 0.5323 GB, free: 6.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4684, allocations: 10.56 kB / 0.5323 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004166/0.4726, allocations: 1.277 MB / 0.5336 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01934/0.492, allocations: 5.86 MB / 0.5393 GB, free: 2.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007191/0.4992, allocations: 3.251 MB / 0.5425 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.4995, allocations: 326.7 kB / 0.5428 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.502, allocations: 415.8 kB / 0.5432 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03917/0.5412, allocations: 18.89 MB / 0.5616 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.5414, allocations: 30.84 kB / 0.5617 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.5424, allocations: 206.2 kB / 0.5618 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00794/0.5504, allocations: 4.754 MB / 0.5665 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03534/0.5857, allocations: 17.53 MB / 0.5836 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1038/0.6895, allocations: 61.24 MB / 0.6434 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/0.7063, allocations: 8.418 MB / 0.6516 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004212/0.7106, allocations: 2.581 MB / 0.6542 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02361/0.7342, allocations: 11.88 MB / 0.6658 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.7343, allocations: 52.56 kB / 0.6658 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=321): time 6.853e-06/0.7343, allocations: 0 / 0.6658 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=321): time 0.01841/0.7527, allocations: 7.514 MB / 0.6731 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.7529, allocations: 107 kB / 0.6732 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/0.7647, allocations: 5.672 MB / 0.6788 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000555/0.7652, allocations: 61.77 kB / 0.6788 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004314/0.7696, allocations: 5.065 MB / 0.6838 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001972/0.7716, allocations: 1.206 MB / 0.685 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005561/0.7772, allocations: 1.902 MB / 0.6868 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7773, allocations: 305.1 kB / 0.6871 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006048/0.7834, allocations: 3.219 MB / 0.6903 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/0.7938, allocations: 8.649 MB / 0.6987 GB, free: 14.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2444/1.038, allocations: 12.91 MB / 0.7113 GB, free: 182.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002373/1.039, allocations: 56.84 kB / 0.7114 GB, free: 182.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02512/1.064, allocations: 11.63 MB / 0.7227 GB, free: 180.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/1.064, allocations: 87.81 kB / 0.7228 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002999/1.064, allocations: 189 kB / 0.723 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/1.065, allocations: 253 kB / 0.7232 GB, free: 180.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006629/1.071, allocations: 2.082 MB / 0.7253 GB, free: 180.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000254/1.071, allocations: 374.8 kB / 0.7256 GB, free: 180 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008098/1.08, allocations: 1.329 MB / 0.7269 GB, free: 179.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00188/1.081, allocations: 0.5558 MB / 0.7275 GB, free: 179.4 MB / 0.545 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.00805/1.09, allocations: 3.691 MB / 0.7311 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008088/1.09, allocations: 482 kB / 0.7315 GB, free: 177.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/1.092, allocations: 0.6484 MB / 0.7322 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.449e-05/1.092, allocations: 60.55 kB / 0.7322 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.092, allocations: 4 kB / 0.7322 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/1.092, allocations: 19.22 kB / 0.7322 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/1.111, allocations: 12.63 MB / 0.7446 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.111, allocations: 15 kB / 0.7446 GB, free: 172.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.112, allocations: 419.8 kB / 0.745 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.877e-05/1.112, allocations: 24.97 kB / 0.745 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/1.112, allocations: 64.91 kB / 0.7451 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-05/1.113, allocations: 35.41 kB / 0.7451 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.113, allocations: 27.16 kB / 0.7451 GB, free: 172.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/1.117, allocations: 4.633 MB / 0.7497 GB, free: 170.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008751/1.118, allocations: 0.5596 MB / 0.7502 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005319/1.118, allocations: 58.2 kB / 0.7503 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.12, allocations: 122.4 kB / 0.7504 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002969/1.12, allocations: 176 kB / 0.7505 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.12, allocations: 101.2 kB / 0.7506 GB, free: 169.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004602/1.125, allocations: 3.493 MB / 0.7541 GB, free: 166.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/1.125, allocations: 0 / 0.7541 GB, free: 166.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007598/1.133, allocations: 1.949 MB / 0.756 GB, free: 164.4 MB / 0.545 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.005765/1.138, allocations: 5.315 MB / 0.7611 GB, free: 159.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01975/1.158, allocations: 12.63 MB / 0.7735 GB, free: 147.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/1.158, allocations: 0 / 0.7735 GB, free: 147.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002518/1.161, allocations: 2.014 MB / 0.7755 GB, free: 145.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/1.165, allocations: 0.616 MB / 0.7761 GB, free: 145.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1039/1.269, allocations: 77.92 MB / 0.8521 GB, free: 57.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008468/1.277, allocations: 5.417 MB / 0.8574 GB, free: 51.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007895/1.285, allocations: 3.543 MB / 0.8609 GB, free: 48.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004814/1.29, allocations: 3.323 MB / 0.8641 GB, free: 45 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.29, allocations: 0 / 0.8641 GB, free: 45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3603/1.65, allocations: 96.91 MB / 0.9588 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.67, allocations: 15.17 kB / 0.9588 GB, free: 182.8 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches