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.001401/0.001401, allocations: 116.8 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2133/0.2133, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 77.5 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1156, allocations: 62.44 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2785/0.3941, allocations: 41.06 MB / 0.5084 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.4103, allocations: 7.784 MB / 0.516 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007185/0.4175, allocations: 179.6 kB / 0.5162 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004129/0.4217, allocations: 2.069 MB / 0.5182 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005723/0.4274, allocations: 2.345 MB / 0.5205 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007078/0.4282, allocations: 277.8 kB / 0.5208 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00781/0.436, allocations: 6.786 MB / 0.5274 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004176/0.4402, allocations: 3.497 MB / 0.5308 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.4434, allocations: 2.152 MB / 0.5329 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003114/0.4465, allocations: 3.08 MB / 0.5359 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009496/0.4475, allocations: 390.2 kB / 0.5363 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.4496, allocations: 0.8112 MB / 0.5371 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002409/0.452, allocations: 2.774 MB / 0.5398 GB, free: 300 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003607/0.4556, allocations: 3.334 MB / 0.5431 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.4664, allocations: 10.11 MB / 0.5529 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.4664, allocations: 0 / 0.5529 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4665, allocations: 7.938 kB / 0.553 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003549/0.4668, allocations: 0 / 0.553 GB, free: 4.012 MB / 398.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.01463/0.4815, allocations: 6.965 MB / 0.5598 GB, free: 13.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.4815, allocations: 11.97 kB / 0.5598 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002681/0.4842, allocations: 1.278 MB / 0.561 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01969/0.5039, allocations: 5.858 MB / 0.5667 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008085/0.5121, allocations: 3.241 MB / 0.5699 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.5124, allocations: 322.1 kB / 0.5702 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001964/0.5144, allocations: 432.9 kB / 0.5706 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03346/0.5479, allocations: 18.88 MB / 0.5891 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.548, allocations: 39.67 kB / 0.5891 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001501/0.5496, allocations: 210.2 kB / 0.5893 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008359/0.5579, allocations: 4.743 MB / 0.5939 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03678/0.5948, allocations: 17.53 MB / 0.611 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08806/0.6829, allocations: 61.24 MB / 0.6709 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01491/0.6978, allocations: 8.421 MB / 0.6791 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003711/0.7016, allocations: 2.586 MB / 0.6816 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/0.7223, allocations: 11.88 MB / 0.6932 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.447e-05/0.7224, allocations: 56.5 kB / 0.6933 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 6.131e-06/0.7224, allocations: 7.875 kB / 0.6933 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01861/0.741, allocations: 7.506 MB / 0.7006 GB, free: 10.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.7411, allocations: 111 kB / 0.7007 GB, free: 10.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009729/0.7509, allocations: 5.668 MB / 0.7062 GB, free: 4.828 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005344/0.7514, allocations: 64.98 kB / 0.7063 GB, free: 4.762 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.2205/0.972, allocations: 5.064 MB / 0.7112 GB, free: 191.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001671/0.9737, allocations: 1.201 MB / 0.7124 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003092/0.9768, allocations: 1.903 MB / 0.7143 GB, free: 190.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.9768, allocations: 303.3 kB / 0.7146 GB, free: 190.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004548/0.9814, allocations: 3.209 MB / 0.7177 GB, free: 189.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007238/0.9887, allocations: 8.653 MB / 0.7261 GB, free: 181.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/1.001, allocations: 12.9 MB / 0.7387 GB, free: 170.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003026/1.002, allocations: 56.53 kB / 0.7388 GB, free: 170.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02003/1.022, allocations: 11.65 MB / 0.7502 GB, free: 166.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/1.022, allocations: 89.56 kB / 0.7503 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002399/1.022, allocations: 192.9 kB / 0.7504 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/1.022, allocations: 253.1 kB / 0.7507 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006217/1.029, allocations: 2.076 MB / 0.7527 GB, free: 166.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002326/1.029, allocations: 375.6 kB / 0.7531 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006449/1.035, allocations: 1.325 MB / 0.7544 GB, free: 165.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/1.037, allocations: 0.5586 MB / 0.7549 GB, free: 165.1 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.005735/1.043, allocations: 3.697 MB / 0.7585 GB, free: 163.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006966/1.043, allocations: 485.5 kB / 0.759 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/1.044, allocations: 0.6502 MB / 0.7596 GB, free: 162.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.845e-05/1.044, allocations: 55.83 kB / 0.7597 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/1.044, allocations: 3.75 kB / 0.7597 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/1.045, allocations: 11.34 kB / 0.7597 GB, free: 162.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/1.062, allocations: 12.63 MB / 0.772 GB, free: 151.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.063, allocations: 12 kB / 0.772 GB, free: 151.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.064, allocations: 422.4 kB / 0.7724 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/1.064, allocations: 24.06 kB / 0.7725 GB, free: 150.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/1.064, allocations: 60 kB / 0.7725 GB, free: 150.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.952e-05/1.064, allocations: 35.62 kB / 0.7725 GB, free: 150.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/1.064, allocations: 19.88 kB / 0.7726 GB, free: 150.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004292/1.069, allocations: 4.634 MB / 0.7771 GB, free: 146.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008975/1.07, allocations: 0.5581 MB / 0.7776 GB, free: 145.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005246/1.07, allocations: 59.84 kB / 0.7777 GB, free: 145.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.071, allocations: 133.6 kB / 0.7778 GB, free: 145.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/1.072, allocations: 175.9 kB / 0.778 GB, free: 145.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.072, allocations: 99.44 kB / 0.7781 GB, free: 145.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004174/1.076, allocations: 3.49 MB / 0.7815 GB, free: 142.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/1.076, allocations: 0 / 0.7815 GB, free: 142.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007157/1.083, allocations: 1.942 MB / 0.7834 GB, free: 140.6 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.004865/1.088, allocations: 5.319 MB / 0.7886 GB, free: 135.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0165/1.105, allocations: 12.63 MB / 0.8009 GB, free: 122.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.105, allocations: 3.938 kB / 0.8009 GB, free: 122.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/1.107, allocations: 2.002 MB / 0.8029 GB, free: 120.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/1.11, allocations: 0.6314 MB / 0.8035 GB, free: 120.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09593/1.206, allocations: 81.34 MB / 0.8829 GB, free: 27.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006052/1.212, allocations: 5.416 MB / 0.8882 GB, free: 21.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007619/1.22, allocations: 3.547 MB / 0.8917 GB, free: 18.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0046/1.224, allocations: 3.327 MB / 0.8949 GB, free: 15.03 MB / 0.545 GB Notification: Performance of SimCode: time 1.252e-06/1.224, allocations: 0 / 0.8949 GB, free: 15.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3565/1.581, allocations: 96.77 MB / 0.9894 GB, free: 123.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/1.581, allocations: 193.8 kB / 0.9896 GB, free: 123.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.602/6.183, allocations: 0 / 0.9896 GB, free: 123.1 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/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