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.001397/0.001397, allocations: 103.7 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.001616/0.001616, allocations: 208.6 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.386/1.386, 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.2268/0.2268, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 75.56 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09927, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01028/0.1096, allocations: 11.38 MB / 491.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.1148, allocations: 2.843 MB / 494.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.1158, allocations: 55.88 kB / 494.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.1179, allocations: 1.335 MB / 495.7 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.1197, allocations: 1.233 MB / 497 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.12, allocations: 75.84 kB / 497 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.1221, allocations: 2.752 MB / 499.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.1235, allocations: 1.772 MB / 0.4898 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008693/0.1244, allocations: 1.062 MB / 0.4909 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.1257, allocations: 1.475 MB / 0.4923 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.1259, allocations: 204 kB / 0.4925 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007635/0.1267, allocations: 0.4915 MB / 0.493 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009111/0.1276, allocations: 1.418 MB / 0.4944 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.1288, allocations: 1.719 MB / 0.496 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003644/0.1324, allocations: 5.205 MB / 0.5011 GB, free: 4.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1324, allocations: 3.938 kB / 0.5011 GB, free: 4.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1324, allocations: 0 / 0.5011 GB, free: 4.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.43e-05/0.1325, allocations: 0 / 0.5011 GB, free: 4.035 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.003899/0.1364, allocations: 3.637 MB / 0.5047 GB, free: 340 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1364, allocations: 8.031 kB / 0.5047 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2107/0.3471, allocations: 0.6783 MB / 0.5053 GB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.3575, allocations: 2.976 MB / 0.5082 GB, free: 39.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/0.3613, allocations: 1.55 MB / 0.5098 GB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/0.3616, allocations: 174.2 kB / 0.5099 GB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.3628, allocations: 224.8 kB / 0.5101 GB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.3795, allocations: 9.702 MB / 0.5196 GB, free: 34.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.273e-05/0.3796, allocations: 26.94 kB / 0.5196 GB, free: 34.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005759/0.3802, allocations: 109.3 kB / 0.5197 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003539/0.3838, allocations: 2.441 MB / 0.5221 GB, free: 33.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01369/0.3975, allocations: 8.813 MB / 0.5307 GB, free: 26.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03435/0.4319, allocations: 30.66 MB / 0.5607 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005405/0.4373, allocations: 3.272 MB / 0.5639 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.4387, allocations: 0.9269 MB / 0.5648 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-05/0.4388, allocations: 12.98 kB / 0.5648 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.4389, allocations: 47.55 kB / 0.5648 GB, free: 6.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 4.298e-06/0.4389, allocations: 0 / 0.5648 GB, free: 6.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.007121/0.446, allocations: 3.366 MB / 0.5681 GB, free: 3.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4461, allocations: 68.53 kB / 0.5682 GB, free: 3.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/0.45, allocations: 3.111 MB / 0.5712 GB, free: 252 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/0.4501, allocations: 49.69 kB / 0.5713 GB, free: 196 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.4517, allocations: 2.676 MB / 0.5739 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.4522, allocations: 0.5631 MB / 0.5744 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.4534, allocations: 0.972 MB / 0.5754 GB, free: 11.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.4534, allocations: 305.1 kB / 0.5757 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.4554, allocations: 1.528 MB / 0.5772 GB, free: 10.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00365/0.4591, allocations: 4.451 MB / 0.5815 GB, free: 4.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/0.4652, allocations: 6.537 MB / 0.5879 GB, free: 12.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.627e-05/0.4652, allocations: 32 kB / 0.5879 GB, free: 12.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.007685/0.4729, allocations: 5.832 MB / 0.5936 GB, free: 6.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.473, allocations: 48 kB / 0.5937 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/0.4731, allocations: 116 kB / 0.5938 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.4733, allocations: 136 kB / 0.5939 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.4759, allocations: 1.057 MB / 0.5949 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001396/0.4761, allocations: 203.2 kB / 0.5951 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.4785, allocations: 0.6723 MB / 0.5958 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003393/0.4789, allocations: 295.9 kB / 0.5961 GB, free: 3.816 MB / 430.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.00226/0.4811, allocations: 1.946 MB / 0.598 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.4815, allocations: 256.5 kB / 0.5982 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/0.482, allocations: 331.8 kB / 0.5985 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.482, allocations: 16 kB / 0.5986 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4821, allocations: 0 / 0.5986 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.4821, allocations: 7.969 kB / 0.5986 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00931/0.4914, allocations: 6.887 MB / 0.6053 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.4914, allocations: 4 kB / 0.6053 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006617/0.4921, allocations: 180.6 kB / 0.6055 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.4921, allocations: 8 kB / 0.6055 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/0.4922, allocations: 32 kB / 0.6055 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.4922, allocations: 19.92 kB / 0.6055 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.4922, allocations: 19.81 kB / 0.6055 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.4946, allocations: 2.24 MB / 0.6077 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000464/0.4951, allocations: 357.2 kB / 0.6081 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/0.4954, allocations: 28.86 kB / 0.6081 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/0.4961, allocations: 43.95 kB / 0.6081 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.4963, allocations: 84.33 kB / 0.6082 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.181e-05/0.4963, allocations: 51.98 kB / 0.6083 GB, free: 7.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002354/0.4987, allocations: 1.971 MB / 0.6102 GB, free: 5.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4987, allocations: 5.781 kB / 0.6102 GB, free: 5.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002869/0.5016, allocations: 1.001 MB / 0.6112 GB, free: 4.047 MB / 446.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.002772/0.5044, allocations: 2.896 MB / 0.614 GB, free: 1.027 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005846/0.5102, allocations: 4.645 MB / 0.6185 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.5102, allocations: 4.875 kB / 0.6185 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.5113, allocations: 0.9176 MB / 0.6194 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5127, allocations: 328.3 kB / 0.6198 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04951/0.5622, allocations: 36.39 MB / 0.6553 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003888/0.5662, allocations: 3.02 MB / 0.6582 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003602/0.5698, allocations: 1.718 MB / 0.6599 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/0.5717, allocations: 1.538 MB / 0.6614 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of SimCode: time 9.91e-07/0.5717, allocations: 0 / 0.6614 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3656/0.9373, allocations: 48.8 MB / 0.7091 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/9.443, allocations: 11.33 kB / 0.7091 GB, free: 179.8 MB / 0.5294 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