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.001313/0.001313, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 79.86 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3496, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01487/0.3646, allocations: 11.38 MB / 0.5416 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007792/0.3724, allocations: 2.838 MB / 0.5444 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.3752, allocations: 54.19 kB / 0.5444 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.379, allocations: 1.325 MB / 0.5457 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003998/0.3831, allocations: 1.237 MB / 0.5469 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.3836, allocations: 75.02 kB / 0.547 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004471/0.3881, allocations: 2.772 MB / 0.5497 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.3906, allocations: 1.761 MB / 0.5514 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.3929, allocations: 1.058 MB / 0.5525 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.3954, allocations: 1.483 MB / 0.5539 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008663/0.3963, allocations: 204 kB / 0.5541 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.3982, allocations: 0.4915 MB / 0.5546 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001989/0.4002, allocations: 1.426 MB / 0.556 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.403, allocations: 1.715 MB / 0.5577 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006924/0.4099, allocations: 5.495 MB / 0.563 GB, free: 364 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.41, allocations: 0 / 0.563 GB, free: 364 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.41, allocations: 4 kB / 0.563 GB, free: 360 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001633/0.4102, allocations: 0 / 0.563 GB, free: 360 kB / 414.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.007421/0.4176, allocations: 3.633 MB / 0.5666 GB, free: 12.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.4177, allocations: 8.031 kB / 0.5666 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001298/0.419, allocations: 0.6836 MB / 0.5673 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.4292, allocations: 2.971 MB / 0.5702 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004134/0.4334, allocations: 1.565 MB / 0.5717 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.4337, allocations: 172.7 kB / 0.5718 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009228/0.4346, allocations: 227.8 kB / 0.5721 GB, free: 6.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/0.4531, allocations: 9.702 MB / 0.5815 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-05/0.4533, allocations: 23.75 kB / 0.5816 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007108/0.454, allocations: 107.8 kB / 0.5817 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004438/0.4584, allocations: 2.439 MB / 0.584 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.4774, allocations: 8.806 MB / 0.5926 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04944/0.5269, allocations: 30.52 MB / 0.6225 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006419/0.5334, allocations: 3.281 MB / 0.6257 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.5351, allocations: 0.918 MB / 0.6266 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.503e-05/0.5352, allocations: 16.91 kB / 0.6266 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.5353, allocations: 43.56 kB / 0.6266 GB, free: 13.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 5.39e-06/0.5353, allocations: 4 kB / 0.6266 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.008194/0.5435, allocations: 3.374 MB / 0.6299 GB, free: 10.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.5436, allocations: 64.34 kB / 0.63 GB, free: 10.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/0.549, allocations: 3.107 MB / 0.633 GB, free: 6.992 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002171/0.5493, allocations: 45.7 kB / 0.6331 GB, free: 6.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002272/0.5516, allocations: 2.681 MB / 0.6357 GB, free: 4.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008504/0.5525, allocations: 0.5631 MB / 0.6362 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.554, allocations: 0.9797 MB / 0.6372 GB, free: 2.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5542, allocations: 305.1 kB / 0.6375 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/0.5567, allocations: 1.532 MB / 0.639 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00526/0.562, allocations: 4.447 MB / 0.6433 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008307/0.5703, allocations: 6.539 MB / 0.6497 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/0.5705, allocations: 28 kB / 0.6497 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01228/0.5828, allocations: 5.828 MB / 0.6554 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/0.5829, allocations: 48 kB / 0.6555 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/0.5831, allocations: 108 kB / 0.6556 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.5833, allocations: 136 kB / 0.6557 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003627/0.5869, allocations: 1.064 MB / 0.6567 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002609/0.5872, allocations: 199.2 kB / 0.6569 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003981/0.5912, allocations: 0.6806 MB / 0.6576 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000869/0.5921, allocations: 295.7 kB / 0.6579 GB, free: 10.54 MB / 0.5137 GB 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.003935/0.5961, allocations: 1.95 MB / 0.6598 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004942/0.5966, allocations: 256.6 kB / 0.66 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/0.5974, allocations: 327.8 kB / 0.6603 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/0.5974, allocations: 19.94 kB / 0.6603 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.5974, allocations: 4 kB / 0.6603 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.5974, allocations: 7.984 kB / 0.6604 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.6103, allocations: 6.865 MB / 0.6671 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.6104, allocations: 4.875 kB / 0.6671 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.6112, allocations: 179.7 kB / 0.6672 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/0.6113, allocations: 16 kB / 0.6673 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/0.6114, allocations: 27.94 kB / 0.6673 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.607e-05/0.6114, allocations: 15.94 kB / 0.6673 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/0.6114, allocations: 11.92 kB / 0.6673 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.6145, allocations: 2.256 MB / 0.6695 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000882/0.6154, allocations: 349.3 kB / 0.6698 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/0.6159, allocations: 31.92 kB / 0.6699 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009079/0.6168, allocations: 55.89 kB / 0.6699 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.617, allocations: 72.45 kB / 0.67 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.6171, allocations: 55.97 kB / 0.67 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003533/0.6206, allocations: 1.975 MB / 0.672 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6207, allocations: 0 / 0.672 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004775/0.6255, allocations: 0.9921 MB / 0.6729 GB, free: 10.79 MB / 0.5294 GB 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.003922/0.6294, allocations: 2.905 MB / 0.6758 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006081/0.6356, allocations: 3.582 MB / 0.6793 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.6356, allocations: 384 / 0.6793 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.637, allocations: 0.9212 MB / 0.6802 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.639, allocations: 324.8 kB / 0.6805 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05146/0.6905, allocations: 33.37 MB / 0.7131 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004363/0.6949, allocations: 3.008 MB / 0.716 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003764/0.6987, allocations: 1.722 MB / 0.7177 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002458/0.7012, allocations: 1.534 MB / 0.7192 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.7012, allocations: 0 / 0.7192 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3549/1.056, allocations: 46.24 MB / 0.7643 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/16.07, allocations: 5.969 kB / 0.7644 GB, free: 156.5 MB / 0.5762 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