Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.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.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001091/0.001091, allocations: 92.98 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 203.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 246.8 MB, free: 9.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1878/0.1878, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002875, allocations: 4 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 63.56 MB / 483.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02441/0.1438, allocations: 27.75 MB / 0.499 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1553, allocations: 5.57 MB / 0.5044 GB, free: 2.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003991/0.1593, allocations: 115.8 kB / 0.5045 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.1605, allocations: 426.2 kB / 0.5049 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.1634, allocations: 1.171 MB / 0.5061 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.1638, allocations: 67.92 kB / 0.5061 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2152/0.379, allocations: 4.075 MB / 0.5101 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00385/0.3829, allocations: 2.142 MB / 0.5122 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.3848, allocations: 0.8688 MB / 0.513 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.3872, allocations: 1.477 MB / 0.5145 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003981/0.3876, allocations: 118.9 kB / 0.5146 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000997/0.3887, allocations: 435.5 kB / 0.515 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.3899, allocations: 1.356 MB / 0.5163 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.3912, allocations: 1.652 MB / 0.5179 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004429/0.3956, allocations: 5.036 MB / 0.5229 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3956, allocations: 0 / 0.5229 GB, free: 8.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3956, allocations: 1.312 kB / 0.5229 GB, free: 8.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.867e-05/0.3957, allocations: 0 / 0.5229 GB, free: 8.547 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.004013/0.3997, allocations: 2.952 MB / 0.5257 GB, free: 6.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3998, allocations: 14.25 kB / 0.5258 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007749/0.4006, allocations: 0.6848 MB / 0.5264 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009649/0.4102, allocations: 3.064 MB / 0.5294 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.4131, allocations: 1.549 MB / 0.5309 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.4133, allocations: 177.9 kB / 0.5311 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004537/0.4137, allocations: 221.1 kB / 0.5313 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.4249, allocations: 9.709 MB / 0.5408 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-05/0.4249, allocations: 20.88 kB / 0.5408 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003164/0.4253, allocations: 110 kB / 0.5409 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00372/0.429, allocations: 2.439 MB / 0.5433 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.4439, allocations: 8.808 MB / 0.5519 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04204/0.486, allocations: 30.71 MB / 0.5819 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005361/0.4914, allocations: 3.273 MB / 0.5851 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.4928, allocations: 0.918 MB / 0.586 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.849e-05/0.4929, allocations: 15.81 kB / 0.586 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.4929, allocations: 39.56 kB / 0.586 GB, free: 1.203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 5.019e-06/0.4929, allocations: 4 kB / 0.586 GB, free: 1.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.007405/0.5003, allocations: 3.376 MB / 0.5893 GB, free: 13.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5004, allocations: 60.41 kB / 0.5894 GB, free: 13.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005541/0.5059, allocations: 3.122 MB / 0.5924 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.717e-05/0.506, allocations: 45.69 kB / 0.5925 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.5084, allocations: 2.672 MB / 0.5951 GB, free: 7.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007543/0.5091, allocations: 0.5614 MB / 0.5956 GB, free: 7.328 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007085/0.5098, allocations: 426.6 kB / 0.5961 GB, free: 6.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.51, allocations: 309.1 kB / 0.5963 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002491/0.5125, allocations: 1.528 MB / 0.5978 GB, free: 5.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/0.5166, allocations: 4.453 MB / 0.6022 GB, free: 15.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00658/0.5232, allocations: 6.532 MB / 0.6086 GB, free: 7.637 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-05/0.5232, allocations: 28 kB / 0.6086 GB, free: 7.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.008314/0.5315, allocations: 5.829 MB / 0.6143 GB, free: 1.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.5316, allocations: 52 kB / 0.6143 GB, free: 1.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.5318, allocations: 103.9 kB / 0.6144 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.5319, allocations: 136 kB / 0.6146 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.5348, allocations: 1.064 MB / 0.6156 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000168/0.535, allocations: 207.1 kB / 0.6158 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.5381, allocations: 0.6807 MB / 0.6165 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004575/0.5385, allocations: 298.2 kB / 0.6168 GB, free: 15.36 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * 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.003735/0.5423, allocations: 1.934 MB / 0.6186 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004612/0.5428, allocations: 256.6 kB / 0.6189 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007646/0.5435, allocations: 331.8 kB / 0.6192 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/0.5436, allocations: 18.11 kB / 0.6192 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.5436, allocations: 11.94 kB / 0.6192 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.5436, allocations: 7.969 kB / 0.6192 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.5554, allocations: 6.886 MB / 0.626 GB, free: 5.766 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5555, allocations: 4 kB / 0.626 GB, free: 5.762 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/0.5562, allocations: 171.7 kB / 0.6261 GB, free: 5.594 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.577e-05/0.5562, allocations: 12 kB / 0.6261 GB, free: 5.582 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/0.5563, allocations: 31.98 kB / 0.6262 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.685e-05/0.5563, allocations: 19.88 kB / 0.6262 GB, free: 5.531 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.5563, allocations: 7.938 kB / 0.6262 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.5589, allocations: 2.258 MB / 0.6284 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006674/0.5596, allocations: 357.3 kB / 0.6287 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.5598, allocations: 24 kB / 0.6288 GB, free: 2.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/0.5606, allocations: 47.89 kB / 0.6288 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.5607, allocations: 88.14 kB / 0.6289 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-05/0.5608, allocations: 47.98 kB / 0.6289 GB, free: 2.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003236/0.5641, allocations: 1.975 MB / 0.6309 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5641, allocations: 0 / 0.6309 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004276/0.5684, allocations: 0.9962 MB / 0.6318 GB, free: 15.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * 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.003116/0.5715, allocations: 2.899 MB / 0.6347 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005208/0.5767, allocations: 3.55 MB / 0.6381 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5768, allocations: 0 / 0.6381 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.5778, allocations: 0.9182 MB / 0.639 GB, free: 8.164 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/0.582, allocations: 323.7 kB / 0.6393 GB, free: 7.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06106/0.6431, allocations: 38.13 MB / 0.6766 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004891/0.648, allocations: 3.012 MB / 0.6795 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004116/0.6522, allocations: 1.718 MB / 0.6812 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/0.6547, allocations: 1.538 MB / 0.6827 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.6548, allocations: 0 / 0.6827 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2999/0.9546, allocations: 47.54 MB / 0.7291 GB, free: 193.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/0.9548, allocations: 203.4 kB / 0.7293 GB, free: 193.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/3.962, allocations: 0 / 0.7293 GB, free: 193.1 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches