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.001178/0.001178, allocations: 117.7 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 79.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3392, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01172/0.3509, allocations: 11.38 MB / 0.5416 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00662/0.3576, allocations: 2.833 MB / 0.5444 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.3599, allocations: 58.62 kB / 0.5444 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.3629, allocations: 1.337 MB / 0.5457 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.3663, allocations: 1.23 MB / 0.5469 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.3667, allocations: 69.39 kB / 0.547 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003693/0.3704, allocations: 2.776 MB / 0.5497 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.3725, allocations: 1.761 MB / 0.5514 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.3743, allocations: 1.062 MB / 0.5525 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.3762, allocations: 1.479 MB / 0.5539 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005032/0.3767, allocations: 208 kB / 0.5541 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.3779, allocations: 499.3 kB / 0.5546 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.3792, allocations: 1.426 MB / 0.556 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.3812, allocations: 1.719 MB / 0.5577 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006081/0.3873, allocations: 5.495 MB / 0.563 GB, free: 360 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.3873, allocations: 0 / 0.563 GB, free: 360 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3873, allocations: 0 / 0.563 GB, free: 360 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001575/0.3875, 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.006339/0.3938, allocations: 3.636 MB / 0.5666 GB, free: 12.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3939, allocations: 8.031 kB / 0.5666 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008624/0.3948, allocations: 0.6797 MB / 0.5673 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00952/0.4043, allocations: 2.979 MB / 0.5702 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.4076, allocations: 1.549 MB / 0.5717 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.4078, allocations: 172.7 kB / 0.5718 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005299/0.4083, allocations: 227.8 kB / 0.5721 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.423, allocations: 9.71 MB / 0.5815 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.546e-05/0.4231, allocations: 19.81 kB / 0.5816 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003383/0.4234, allocations: 115.8 kB / 0.5817 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003555/0.427, allocations: 2.432 MB / 0.584 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.442, allocations: 8.8 MB / 0.5926 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03956/0.4816, allocations: 30.54 MB / 0.6225 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00499/0.4866, allocations: 3.273 MB / 0.6257 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.4878, allocations: 0.9275 MB / 0.6266 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/0.4879, allocations: 20.92 kB / 0.6266 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4879, allocations: 47.5 kB / 0.6266 GB, free: 13.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.878e-06/0.4879, allocations: 0 / 0.6266 GB, free: 13.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007409/0.4953, allocations: 3.366 MB / 0.6299 GB, free: 10.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.4954, allocations: 64.34 kB / 0.63 GB, free: 10.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004554/0.5, allocations: 3.107 MB / 0.633 GB, free: 6.992 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.5002, allocations: 45.7 kB / 0.6331 GB, free: 6.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/0.5019, allocations: 2.681 MB / 0.6357 GB, free: 4.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006014/0.5025, allocations: 0.5631 MB / 0.6362 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.5036, allocations: 0.9758 MB / 0.6372 GB, free: 2.664 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.5038, allocations: 305.1 kB / 0.6375 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002066/0.5058, allocations: 1.528 MB / 0.639 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/0.5096, allocations: 4.451 MB / 0.6433 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007155/0.5168, allocations: 6.539 MB / 0.6497 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.315e-05/0.5168, allocations: 28 kB / 0.6497 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.008636/0.5255, allocations: 5.828 MB / 0.6554 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/0.5256, allocations: 56.25 kB / 0.6555 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.5257, allocations: 100 kB / 0.6556 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.5259, allocations: 136 kB / 0.6557 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/0.5288, allocations: 1.064 MB / 0.6567 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001512/0.5289, allocations: 203.2 kB / 0.6569 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.5319, allocations: 0.68 MB / 0.6576 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004279/0.5324, allocations: 299.9 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.002801/0.5352, allocations: 1.942 MB / 0.6598 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.5355, allocations: 256.6 kB / 0.66 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/0.5361, allocations: 331.8 kB / 0.6603 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-05/0.5361, allocations: 23.98 kB / 0.6604 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.5361, allocations: 8 kB / 0.6604 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5362, allocations: 3.984 kB / 0.6604 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009952/0.5461, allocations: 6.866 MB / 0.6671 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5462, allocations: 4 kB / 0.6671 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.5468, allocations: 175.7 kB / 0.6672 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.5469, allocations: 8 kB / 0.6672 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/0.547, allocations: 35.92 kB / 0.6673 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.547, allocations: 12 kB / 0.6673 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.547, allocations: 12.44 kB / 0.6673 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.5495, allocations: 2.26 MB / 0.6695 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006322/0.5502, allocations: 349.3 kB / 0.6698 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/0.5505, allocations: 27.94 kB / 0.6699 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.5512, allocations: 51.89 kB / 0.6699 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.5514, allocations: 80.44 kB / 0.67 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/0.5515, allocations: 55.92 kB / 0.6701 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003022/0.5545, allocations: 1.975 MB / 0.672 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.395e-06/0.5545, allocations: 0 / 0.672 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004022/0.5585, allocations: 0.992 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.003273/0.5618, allocations: 2.905 MB / 0.6758 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005284/0.5672, allocations: 3.577 MB / 0.6793 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.5672, allocations: 0 / 0.6793 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.5683, allocations: 0.9204 MB / 0.6802 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.57, allocations: 335 kB / 0.6805 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04437/0.6143, allocations: 33.36 MB / 0.7131 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003364/0.6178, allocations: 3.016 MB / 0.716 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003459/0.6212, allocations: 1.718 MB / 0.7177 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/0.6232, allocations: 1.534 MB / 0.7192 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of SimCode: time 1.263e-06/0.6232, allocations: 0 / 0.7192 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3324/0.9556, allocations: 46.24 MB / 0.7643 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.48, allocations: 12.12 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