Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 104.7 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2309/0.2309, allocations: 44.19 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.36 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1359, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01941/0.1553, allocations: 11.42 MB / 480.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00712/0.1625, allocations: 2.808 MB / 483.6 MB, free: 4 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.1644, allocations: 59.98 kB / 483.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.1673, allocations: 1.311 MB / 485 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.1705, allocations: 1.245 MB / 486.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.1709, allocations: 71.86 kB / 486.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003569/0.1745, allocations: 2.795 MB / 489.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.1771, allocations: 1.78 MB / 490.8 MB, free: 8.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.179, allocations: 1.07 MB / 491.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.1812, allocations: 1.491 MB / 493.4 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006956/0.1819, allocations: 208 kB / 493.6 MB, free: 5.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.1833, allocations: 495.3 kB / 494.1 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.185, allocations: 1.441 MB / 495.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002539/0.1876, allocations: 1.735 MB / 497.3 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005704/0.1933, allocations: 5.264 MB / 0.4908 GB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.1933, allocations: 0 / 0.4908 GB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1933, allocations: 0 / 0.4908 GB, free: 12.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000131/0.1934, allocations: 4 kB / 0.4908 GB, free: 12.96 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.005496/0.199, allocations: 3.671 MB / 0.4943 GB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.199, allocations: 12.03 kB / 0.4944 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008365/0.1999, allocations: 0.6836 MB / 0.495 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009878/0.2097, allocations: 2.975 MB / 0.4979 GB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003067/0.2128, allocations: 1.549 MB / 0.4994 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.213, allocations: 172.7 kB / 0.4996 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004317/0.2134, allocations: 223.8 kB / 0.4998 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2845/0.4979, allocations: 9.706 MB / 0.5093 GB, free: 43.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.924e-05/0.498, allocations: 20.03 kB / 0.5093 GB, free: 43.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003462/0.4984, allocations: 106.4 kB / 0.5094 GB, free: 43.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004231/0.5026, allocations: 2.442 MB / 0.5118 GB, free: 42.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01859/0.5212, allocations: 8.813 MB / 0.5204 GB, free: 40.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03587/0.5571, allocations: 30.68 MB / 0.5504 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.5611, allocations: 3.262 MB / 0.5536 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009034/0.562, allocations: 0.9219 MB / 0.5545 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.5621, allocations: 20.98 kB / 0.5545 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.5621, allocations: 48.23 kB / 0.5545 GB, free: 6.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.389e-06/0.5621, allocations: 0 / 0.5545 GB, free: 6.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.006064/0.5682, allocations: 3.37 MB / 0.5578 GB, free: 3.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.5683, allocations: 60.41 kB / 0.5579 GB, free: 3.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.5715, allocations: 3.127 MB / 0.5609 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.047e-05/0.5716, allocations: 41.7 kB / 0.561 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/0.5734, allocations: 2.681 MB / 0.5636 GB, free: 13.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/0.5739, allocations: 0.5669 MB / 0.5641 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.575, allocations: 0.9714 MB / 0.5651 GB, free: 11.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.5751, allocations: 309.1 kB / 0.5654 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.5772, allocations: 1.532 MB / 0.5669 GB, free: 10.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/0.5817, allocations: 4.447 MB / 0.5712 GB, free: 4.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/0.5887, allocations: 6.541 MB / 0.5776 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.254e-05/0.5888, allocations: 28 kB / 0.5776 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.008397/0.5972, allocations: 5.826 MB / 0.5833 GB, free: 6.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.5973, allocations: 52 kB / 0.5834 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/0.5975, allocations: 100 kB / 0.5835 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.5976, allocations: 143.9 kB / 0.5836 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.6006, allocations: 1.057 MB / 0.5846 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000178/0.6008, allocations: 208.7 kB / 0.5848 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/0.604, allocations: 0.6801 MB / 0.5855 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/0.6045, allocations: 292 kB / 0.5858 GB, free: 3.812 MB / 414.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.003712/0.6082, allocations: 1.942 MB / 0.5877 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006102/0.6088, allocations: 260.5 kB / 0.5879 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/0.6096, allocations: 323.8 kB / 0.5882 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/0.6097, allocations: 31.92 kB / 0.5883 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.6097, allocations: 0 / 0.5883 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.6097, allocations: 7.969 kB / 0.5883 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.6247, allocations: 6.877 MB / 0.595 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/0.6248, allocations: 8 kB / 0.595 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007926/0.6256, allocations: 175.7 kB / 0.5952 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/0.6256, allocations: 11.94 kB / 0.5952 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-05/0.6257, allocations: 44.02 kB / 0.5952 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/0.6257, allocations: 15.94 kB / 0.5952 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/0.6257, allocations: 8 kB / 0.5952 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003423/0.6292, allocations: 2.244 MB / 0.5974 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009068/0.6301, allocations: 357.2 kB / 0.5978 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000716/0.6308, allocations: 27.94 kB / 0.5978 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6319, allocations: 43.95 kB / 0.5978 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.6321, allocations: 92.36 kB / 0.5979 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.6323, allocations: 44 kB / 0.598 GB, free: 7.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003854/0.6361, allocations: 1.983 MB / 0.5999 GB, free: 5.035 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6361, allocations: 0 / 0.5999 GB, free: 5.035 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004301/0.6404, allocations: 1.013 MB / 0.6009 GB, free: 4.023 MB / 430.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.003461/0.6439, allocations: 2.914 MB / 0.6037 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007393/0.6513, allocations: 4.653 MB / 0.6083 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.6514, allocations: 0 / 0.6083 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.6526, allocations: 0.9162 MB / 0.6092 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.6552, allocations: 340 kB / 0.6095 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05996/0.7152, allocations: 36.43 MB / 0.6451 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004901/0.7201, allocations: 3.012 MB / 0.648 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004074/0.7242, allocations: 1.722 MB / 0.6497 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002838/0.7271, allocations: 1.542 MB / 0.6512 GB, free: 10.67 MB / 494.1 MB Notification: Performance of SimCode: time 1.903e-06/0.7271, allocations: 0 / 0.6512 GB, free: 10.67 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3469/1.074, allocations: 48.89 MB / 0.6989 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.739/9.813, allocations: 3.219 kB / 0.699 GB, free: 172.7 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches