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.001204/0.001204, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001188/0.001188, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.585/1.585, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2238/0.2238, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 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.00156/0.001561, allocations: 67.2 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1279, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01097/0.1389, allocations: 11.77 MB / 452.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006965/0.1459, allocations: 2.836 MB / 455.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.1478, allocations: 55.94 kB / 455.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002961/0.1508, allocations: 1.327 MB / 456.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.1543, allocations: 1.268 MB / 457.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1547, allocations: 79.84 kB / 458 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003998/0.1587, allocations: 2.854 MB / 460.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.1613, allocations: 1.804 MB / 462.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.1633, allocations: 1.09 MB / 463.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.1655, allocations: 1.514 MB / 465.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005757/0.1661, allocations: 208 kB / 465.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.1674, allocations: 491.4 kB / 465.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.1689, allocations: 1.465 MB / 467.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.1707, allocations: 1.785 MB / 469.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005971/0.1766, allocations: 5.369 MB / 474.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1767, allocations: 0 / 474.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1767, allocations: 0 / 474.5 MB, free: 4.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001648/0.1769, allocations: 0 / 474.5 MB, free: 4.75 MB / 350.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.006871/0.1837, allocations: 3.75 MB / 478.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.1838, allocations: 19.89 kB / 478.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000862/0.1847, allocations: 0.7002 MB / 479 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.1951, allocations: 2.975 MB / 482 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.1993, allocations: 1.561 MB / 483.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.1995, allocations: 180.7 kB / 483.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006823/0.2002, allocations: 235.8 kB / 483.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.2152, allocations: 9.914 MB / 493.8 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/0.2153, allocations: 19.81 kB / 493.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.2156, allocations: 111.8 kB / 494 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004088/0.2197, allocations: 2.533 MB / 496.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.2383, allocations: 8.908 MB / 0.4936 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05346/0.2918, allocations: 31.5 MB / 0.5243 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006418/0.2983, allocations: 3.298 MB / 0.5275 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.3, allocations: 0.9306 MB / 0.5285 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-05/0.3001, allocations: 16.98 kB / 0.5285 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.3002, allocations: 43.56 kB / 0.5285 GB, free: 376 kB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 4.99e-06/0.3002, allocations: 0 / 0.5285 GB, free: 376 kB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.3027/0.6029, allocations: 3.385 MB / 0.5318 GB, free: 88.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.603, allocations: 98.62 kB / 0.5319 GB, free: 88.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005826/0.6088, allocations: 3.171 MB / 0.535 GB, free: 87.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.6091, allocations: 45.09 kB / 0.5351 GB, free: 87.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002698/0.6118, allocations: 2.749 MB / 0.5377 GB, free: 86.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007752/0.6126, allocations: 0.5724 MB / 0.5383 GB, free: 85.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/0.6143, allocations: 0.986 MB / 0.5393 GB, free: 85.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6144, allocations: 304.6 kB / 0.5395 GB, free: 84.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/0.6175, allocations: 1.543 MB / 0.5411 GB, free: 84.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004716/0.6222, allocations: 4.527 MB / 0.5455 GB, free: 79.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007963/0.6302, allocations: 6.646 MB / 0.552 GB, free: 74.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000165/0.6304, allocations: 32.81 kB / 0.552 GB, free: 74.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.01292/0.6433, allocations: 5.908 MB / 0.5578 GB, free: 72.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.6435, allocations: 53.28 kB / 0.5578 GB, free: 72.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.6436, allocations: 105.8 kB / 0.5579 GB, free: 72.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.6438, allocations: 138.9 kB / 0.558 GB, free: 72.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003239/0.647, allocations: 1.08 MB / 0.5591 GB, free: 71.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001215/0.6472, allocations: 212.8 kB / 0.5593 GB, free: 71.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/0.6508, allocations: 0.6931 MB / 0.56 GB, free: 71.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/0.6512, allocations: 299.8 kB / 0.5603 GB, free: 70.73 MB / 414.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.003108/0.6543, allocations: 1.986 MB / 0.5622 GB, free: 69.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/0.6548, allocations: 272.4 kB / 0.5625 GB, free: 68.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.6554, allocations: 338.2 kB / 0.5628 GB, free: 68.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/0.6554, allocations: 16 kB / 0.5628 GB, free: 68.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.6555, allocations: 3.375 kB / 0.5628 GB, free: 68.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6555, allocations: 4.922 kB / 0.5628 GB, free: 68.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009183/0.6647, allocations: 7.127 MB / 0.5698 GB, free: 61.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.6647, allocations: 7.844 kB / 0.5698 GB, free: 61.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.6654, allocations: 176.6 kB / 0.57 GB, free: 61.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.6655, allocations: 15.98 kB / 0.57 GB, free: 61.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/0.6655, allocations: 32 kB / 0.57 GB, free: 61.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.6656, allocations: 15.94 kB / 0.57 GB, free: 61.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.6656, allocations: 11.94 kB / 0.57 GB, free: 61.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.668, allocations: 2.282 MB / 0.5723 GB, free: 59.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009132/0.6689, allocations: 361.2 kB / 0.5726 GB, free: 58.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.6692, allocations: 32 kB / 0.5726 GB, free: 58.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/0.67, allocations: 43.95 kB / 0.5727 GB, free: 58.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.6701, allocations: 81.2 kB / 0.5727 GB, free: 58.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.1e-05/0.6702, allocations: 59.42 kB / 0.5728 GB, free: 58.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00283/0.6731, allocations: 2.012 MB / 0.5748 GB, free: 56.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6731, allocations: 3.938 kB / 0.5748 GB, free: 56.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004771/0.6778, allocations: 1.034 MB / 0.5758 GB, free: 55.69 MB / 414.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.003138/0.681, allocations: 2.932 MB / 0.5786 GB, free: 52.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006801/0.6878, allocations: 4.689 MB / 0.5832 GB, free: 47.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/0.6879, allocations: 0 / 0.5832 GB, free: 47.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.6888, allocations: 0.9243 MB / 0.5841 GB, free: 47.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.6907, allocations: 327.1 kB / 0.5844 GB, free: 46.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04074/0.7314, allocations: 37.21 MB / 0.6208 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/0.7342, allocations: 3.07 MB / 0.6238 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003859/0.7381, allocations: 1.742 MB / 0.6255 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002404/0.7405, allocations: 1.597 MB / 0.627 GB, free: 13.26 MB / 430.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7405, allocations: 0 / 0.627 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09965/0.8402, allocations: 49.46 MB / 0.6753 GB, free: 11.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.817/9.657, allocations: 7.938 kB / 0.6753 GB, free: 11.78 MB / 478.1 MB (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