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.001117/0.001117, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.001187/0.001187, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.361/1.361, 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.2071/0.2071, allocations: 43.53 MB / 314.1 MB, free: 464 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.001631/0.001631, allocations: 71.89 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1163, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01252/0.1288, allocations: 11.77 MB / 0.4989 GB, free: 472 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00651/0.1354, allocations: 2.847 MB / 0.5017 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.1375, allocations: 59.88 kB / 0.5017 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.1407, allocations: 1.323 MB / 0.503 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.1445, allocations: 1.315 MB / 0.5043 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.145, allocations: 75.84 kB / 0.5044 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003832/0.1489, allocations: 2.862 MB / 0.5072 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.1512, allocations: 1.796 MB / 0.5089 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.153, allocations: 1.093 MB / 0.51 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.1548, allocations: 1.514 MB / 0.5115 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004221/0.1552, allocations: 208 kB / 0.5117 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009508/0.1562, allocations: 491.4 kB / 0.5122 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.1574, allocations: 1.476 MB / 0.5136 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.1591, allocations: 1.785 MB / 0.5153 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00592/0.1651, allocations: 5.689 MB / 0.5209 GB, free: 9.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1651, allocations: 4 kB / 0.5209 GB, free: 9.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1651, allocations: 0 / 0.5209 GB, free: 9.824 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001534/0.1653, allocations: 0 / 0.5209 GB, free: 9.824 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.006177/0.1714, allocations: 3.867 MB / 0.5247 GB, free: 5.887 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.1715, allocations: 11.89 kB / 0.5247 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009091/0.1724, allocations: 0.6964 MB / 0.5254 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.1828, allocations: 3.001 MB / 0.5283 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004149/0.1869, allocations: 1.581 MB / 0.5298 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.1871, allocations: 176.8 kB / 0.53 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005516/0.1877, allocations: 231.8 kB / 0.5302 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2257/0.4134, allocations: 9.908 MB / 0.5399 GB, free: 33.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.726e-05/0.4135, allocations: 26.25 kB / 0.5399 GB, free: 33.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.4139, allocations: 116.1 kB / 0.54 GB, free: 33.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004222/0.4181, allocations: 2.527 MB / 0.5425 GB, free: 33.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.4342, allocations: 8.912 MB / 0.5512 GB, free: 30.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03678/0.471, allocations: 31.41 MB / 0.5819 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004596/0.4756, allocations: 3.29 MB / 0.5851 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.4769, allocations: 0.9315 MB / 0.586 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.054e-05/0.477, allocations: 12.98 kB / 0.586 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.4771, allocations: 55.48 kB / 0.5861 GB, free: 13.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 4.679e-06/0.4771, allocations: 4 kB / 0.5861 GB, free: 13.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.007505/0.4846, allocations: 3.4 MB / 0.5894 GB, free: 10.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.4847, allocations: 94.05 kB / 0.5895 GB, free: 10.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005205/0.4899, allocations: 3.181 MB / 0.5926 GB, free: 7.125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.49, allocations: 41.7 kB / 0.5926 GB, free: 7.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002031/0.4921, allocations: 2.864 MB / 0.5954 GB, free: 4.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/0.4927, allocations: 0.597 MB / 0.596 GB, free: 3.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00152/0.4943, allocations: 0.9926 MB / 0.597 GB, free: 2.805 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4944, allocations: 301.1 kB / 0.5973 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.4966, allocations: 1.544 MB / 0.5988 GB, free: 0.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004229/0.5009, allocations: 4.536 MB / 0.6032 GB, free: 10.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006967/0.5079, allocations: 6.64 MB / 0.6097 GB, free: 2.812 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.454e-05/0.508, allocations: 28.5 kB / 0.6097 GB, free: 2.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.009758/0.5177, allocations: 5.931 MB / 0.6155 GB, free: 12.85 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.5179, allocations: 50.66 kB / 0.6156 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/0.5182, allocations: 108 kB / 0.6157 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.5183, allocations: 138 kB / 0.6158 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/0.5214, allocations: 1.088 MB / 0.6169 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001882/0.5216, allocations: 203.2 kB / 0.6171 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003994/0.5257, allocations: 0.7055 MB / 0.6177 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006146/0.5263, allocations: 308 kB / 0.618 GB, free: 10.26 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.00361/0.5299, allocations: 1.989 MB / 0.62 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000524/0.5304, allocations: 274.1 kB / 0.6202 GB, free: 7.988 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.5311, allocations: 332.3 kB / 0.6206 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.073e-05/0.5312, allocations: 27.92 kB / 0.6206 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.5312, allocations: 0 / 0.6206 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.5312, allocations: 7.969 kB / 0.6206 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.5446, allocations: 7.112 MB / 0.6275 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.5446, allocations: 8 kB / 0.6275 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.5454, allocations: 184.6 kB / 0.6277 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.067e-05/0.5454, allocations: 15.94 kB / 0.6277 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.5456, allocations: 35.98 kB / 0.6278 GB, free: 112 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/0.5456, allocations: 19.92 kB / 0.6278 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.5456, allocations: 8 kB / 0.6278 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.5484, allocations: 2.281 MB / 0.63 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007377/0.5492, allocations: 382.7 kB / 0.6304 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004535/0.5497, allocations: 35.98 kB / 0.6304 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009358/0.5506, allocations: 48.27 kB / 0.6305 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.5508, allocations: 80.3 kB / 0.6305 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.85e-05/0.5509, allocations: 55.98 kB / 0.6306 GB, free: 13.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003165/0.554, allocations: 2.016 MB / 0.6326 GB, free: 11.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.554, allocations: 0 / 0.6326 GB, free: 11.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003701/0.5578, allocations: 1.048 MB / 0.6336 GB, free: 10.01 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.003224/0.561, allocations: 2.946 MB / 0.6365 GB, free: 6.941 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005437/0.5664, allocations: 3.617 MB / 0.64 GB, free: 3.348 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.5665, allocations: 4 kB / 0.64 GB, free: 3.344 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.5677, allocations: 0.9281 MB / 0.6409 GB, free: 2.418 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.5702, allocations: 330.8 kB / 0.6412 GB, free: 2.105 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05388/0.6241, allocations: 34.2 MB / 0.6746 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004052/0.6282, allocations: 3.077 MB / 0.6776 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003377/0.6316, allocations: 1.744 MB / 0.6793 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00213/0.6337, allocations: 1.585 MB / 0.6809 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of SimCode: time 3.046e-06/0.6337, allocations: 0 / 0.6809 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08065/0.7144, allocations: 46.16 MB / 0.726 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.9, allocations: 11.88 kB / 0.726 GB, free: 6.789 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 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.csv","/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