Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_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.001467/0.001467, allocations: 101.4 kB / 16.4 MB, free: 6.457 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.001385/0.001385, allocations: 188.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2164/0.2164, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002067, allocations: 70.14 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1075, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01347/0.1211, allocations: 11.77 MB / 0.4989 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005779/0.1269, allocations: 2.843 MB / 0.5017 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1279, allocations: 55.94 kB / 0.5017 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002696/0.1307, allocations: 1.327 MB / 0.503 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.1336, allocations: 1.276 MB / 0.5043 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.134, allocations: 67.86 kB / 0.5044 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003575/0.1376, allocations: 2.873 MB / 0.5072 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/0.1398, allocations: 1.792 MB / 0.5089 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.1414, allocations: 1.109 MB / 0.51 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.1436, allocations: 1.502 MB / 0.5115 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005805/0.1442, allocations: 216 kB / 0.5117 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1454, allocations: 483.4 kB / 0.5121 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.1469, allocations: 1.476 MB / 0.5136 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.1489, allocations: 1.781 MB / 0.5153 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006469/0.1553, allocations: 5.681 MB / 0.5209 GB, free: 9.859 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.1554, allocations: 4 kB / 0.5209 GB, free: 9.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1554, allocations: 0 / 0.5209 GB, free: 9.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001427/0.1555, allocations: 0 / 0.5209 GB, free: 9.855 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.006115/0.1617, allocations: 3.86 MB / 0.5246 GB, free: 5.922 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1617, allocations: 15.83 kB / 0.5246 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009171/0.1626, allocations: 0.7042 MB / 0.5253 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.1734, allocations: 3.005 MB / 0.5283 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.1768, allocations: 1.569 MB / 0.5298 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.177, allocations: 180.8 kB / 0.53 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008712/0.1779, allocations: 231.7 kB / 0.5302 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.235/0.4129, allocations: 9.915 MB / 0.5399 GB, free: 33.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.792e-05/0.413, allocations: 20.05 kB / 0.5399 GB, free: 33.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005991/0.4136, allocations: 114.1 kB / 0.54 GB, free: 33.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005389/0.419, allocations: 2.528 MB / 0.5425 GB, free: 33.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.4391, allocations: 8.911 MB / 0.5512 GB, free: 30.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03499/0.4742, allocations: 31.41 MB / 0.5818 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004819/0.479, allocations: 3.291 MB / 0.5851 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.4805, allocations: 0.9332 MB / 0.586 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.4806, allocations: 20.98 kB / 0.586 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.4806, allocations: 43.55 kB / 0.586 GB, free: 13.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 3.727e-06/0.4806, allocations: 0 / 0.586 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.007748/0.4884, allocations: 3.404 MB / 0.5894 GB, free: 10.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.4885, allocations: 98.05 kB / 0.5895 GB, free: 10.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005051/0.4935, allocations: 3.171 MB / 0.5925 GB, free: 7.125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002159/0.4938, allocations: 42.92 kB / 0.5926 GB, free: 7.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00226/0.4961, allocations: 2.869 MB / 0.5954 GB, free: 4.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008329/0.4969, allocations: 0.597 MB / 0.596 GB, free: 3.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001614/0.4985, allocations: 0.9926 MB / 0.5969 GB, free: 2.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4987, allocations: 301.1 kB / 0.5972 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/0.5012, allocations: 1.54 MB / 0.5987 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005401/0.5066, allocations: 4.532 MB / 0.6032 GB, free: 10.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008953/0.5156, allocations: 6.644 MB / 0.6096 GB, free: 2.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-05/0.5157, allocations: 29.31 kB / 0.6097 GB, free: 2.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.0126/0.5283, allocations: 5.923 MB / 0.6155 GB, free: 12.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.5285, allocations: 55.94 kB / 0.6155 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/0.5287, allocations: 104 kB / 0.6156 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.5289, allocations: 140 kB / 0.6157 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/0.5326, allocations: 1.088 MB / 0.6168 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002215/0.5328, allocations: 203.2 kB / 0.617 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004065/0.5369, allocations: 0.7094 MB / 0.6177 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007987/0.5378, allocations: 305 kB / 0.618 GB, free: 10.25 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 27 (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 (599): * Single equations (assignments): 593 * 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.003669/0.5414, allocations: 1.991 MB / 0.6199 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005159/0.542, allocations: 274.1 kB / 0.6202 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/0.5428, allocations: 332.3 kB / 0.6205 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.63e-05/0.5428, allocations: 19.94 kB / 0.6205 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.5428, allocations: 4 kB / 0.6205 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.5429, allocations: 7.969 kB / 0.6205 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.555, allocations: 7.114 MB / 0.6275 GB, free: 352 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.555, allocations: 8 kB / 0.6275 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.5558, allocations: 184.6 kB / 0.6277 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.5558, allocations: 19.97 kB / 0.6277 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.5559, allocations: 31.98 kB / 0.6277 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/0.5559, allocations: 19.88 kB / 0.6277 GB, free: 88 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.5559, allocations: 8 kB / 0.6277 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003083/0.559, allocations: 2.289 MB / 0.63 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006843/0.5597, allocations: 382.7 kB / 0.6303 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.5601, allocations: 30.73 kB / 0.6304 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008464/0.561, allocations: 47.95 kB / 0.6304 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.5612, allocations: 88.38 kB / 0.6305 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.5613, allocations: 47.98 kB / 0.6305 GB, free: 13.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003281/0.5646, allocations: 2.012 MB / 0.6325 GB, free: 11.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.5646, allocations: 0 / 0.6325 GB, free: 11.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004064/0.5687, allocations: 1.052 MB / 0.6335 GB, free: 10 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 96 * 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.003874/0.5726, allocations: 2.946 MB / 0.6364 GB, free: 6.934 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006043/0.5787, allocations: 3.62 MB / 0.64 GB, free: 3.336 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.5787, allocations: 1.938 kB / 0.64 GB, free: 3.336 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.5801, allocations: 0.9303 MB / 0.6409 GB, free: 2.406 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.582, allocations: 318.9 kB / 0.6412 GB, free: 2.102 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05841/0.6404, allocations: 34.2 MB / 0.6746 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005186/0.6457, allocations: 3.08 MB / 0.6776 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004335/0.65, allocations: 1.738 MB / 0.6793 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002952/0.653, allocations: 1.585 MB / 0.6808 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.653, allocations: 0 / 0.6808 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0976/0.7506, allocations: 46.16 MB / 0.7259 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.59/16.34, allocations: 7.938 kB / 0.7259 GB, free: 6.781 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches