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.001955/0.001955, allocations: 106 kB / 16.27 MB, free: 5.93 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.002124/0.002124, allocations: 189.2 kB / 17.2 MB, free: 5.574 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.658/1.658, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2941/0.2941, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001529/0.001529, allocations: 66.44 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1291, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01104/0.1402, allocations: 11.77 MB / 452.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007071/0.1473, allocations: 2.828 MB / 455.2 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.1499, allocations: 63.88 kB / 455.3 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003529/0.1536, allocations: 1.327 MB / 456.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.1571, allocations: 1.272 MB / 457.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.1577, allocations: 71.84 kB / 457.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004091/0.1618, allocations: 2.862 MB / 460.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003211/0.165, allocations: 1.804 MB / 462.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.1674, allocations: 1.09 MB / 463.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.1698, allocations: 1.51 MB / 465.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009347/0.1707, allocations: 212 kB / 465.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.1724, allocations: 491.4 kB / 465.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.1743, allocations: 1.472 MB / 467.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003068/0.1774, allocations: 1.777 MB / 469.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005559/0.183, allocations: 5.369 MB / 474.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.183, allocations: 0 / 474.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.183, allocations: 0 / 474.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.186e-05/0.1831, allocations: 0 / 474.5 MB, free: 4.738 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.005296/0.1884, allocations: 3.746 MB / 478.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1885, allocations: 15.83 kB / 478.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007925/0.1893, allocations: 0.7042 MB / 479 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.1993, allocations: 2.975 MB / 482 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.2025, allocations: 1.565 MB / 483.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.2027, allocations: 180.8 kB / 483.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004476/0.2032, allocations: 235.8 kB / 483.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.2199, allocations: 9.91 MB / 493.8 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.807e-05/0.22, allocations: 19.81 kB / 493.9 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/0.2205, allocations: 115.8 kB / 494 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003959/0.2244, allocations: 2.529 MB / 496.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01728/0.2417, allocations: 8.913 MB / 0.4936 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04371/0.2855, allocations: 31.5 MB / 0.5243 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005701/0.2912, allocations: 3.298 MB / 0.5275 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.2925, allocations: 0.9305 MB / 0.5285 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.865e-05/0.2925, allocations: 16.98 kB / 0.5285 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.2926, allocations: 47.5 kB / 0.5285 GB, free: 356 kB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.757e-06/0.2926, allocations: 0 / 0.5285 GB, free: 356 kB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.2601/0.5527, allocations: 3.388 MB / 0.5318 GB, free: 87.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.5528, allocations: 96.39 kB / 0.5319 GB, free: 87.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005677/0.5585, allocations: 3.172 MB / 0.535 GB, free: 87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.5586, allocations: 42.64 kB / 0.5351 GB, free: 86.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002609/0.5612, allocations: 2.747 MB / 0.5377 GB, free: 85.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005617/0.5618, allocations: 0.5724 MB / 0.5383 GB, free: 84.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.5632, allocations: 0.9842 MB / 0.5393 GB, free: 84.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.5632, allocations: 301.7 kB / 0.5395 GB, free: 84.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002404/0.5657, allocations: 1.542 MB / 0.5411 GB, free: 83.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003714/0.5694, allocations: 4.533 MB / 0.5455 GB, free: 79.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007027/0.5764, allocations: 6.643 MB / 0.552 GB, free: 73.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/0.5766, allocations: 34.09 kB / 0.552 GB, free: 73.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.008749/0.5853, allocations: 5.906 MB / 0.5578 GB, free: 71.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/0.5854, allocations: 50.12 kB / 0.5578 GB, free: 71.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001198/0.5856, allocations: 111.4 kB / 0.5579 GB, free: 71.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.5857, allocations: 139.5 kB / 0.5581 GB, free: 71.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.5885, allocations: 1.083 MB / 0.5591 GB, free: 70.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001207/0.5886, allocations: 209.7 kB / 0.5593 GB, free: 70.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/0.5921, allocations: 0.6925 MB / 0.56 GB, free: 70.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/0.5924, allocations: 299.7 kB / 0.5603 GB, free: 69.78 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.002859/0.5953, allocations: 1.985 MB / 0.5622 GB, free: 68.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.5957, allocations: 265.6 kB / 0.5625 GB, free: 67.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.5962, allocations: 338.1 kB / 0.5628 GB, free: 67.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.5962, allocations: 16 kB / 0.5628 GB, free: 67.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/0.5962, allocations: 4 kB / 0.5628 GB, free: 67.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.5963, allocations: 10.81 kB / 0.5628 GB, free: 67.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008518/0.6048, allocations: 7.125 MB / 0.5698 GB, free: 61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.6048, allocations: 8 kB / 0.5698 GB, free: 61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/0.6055, allocations: 179.8 kB / 0.57 GB, free: 60.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.6055, allocations: 8 kB / 0.57 GB, free: 60.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/0.6056, allocations: 35.5 kB / 0.57 GB, free: 60.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/0.6056, allocations: 15.94 kB / 0.57 GB, free: 60.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.6056, allocations: 11.94 kB / 0.57 GB, free: 60.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.6077, allocations: 2.282 MB / 0.5722 GB, free: 58.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/0.6084, allocations: 359.7 kB / 0.5726 GB, free: 57.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.6086, allocations: 31.42 kB / 0.5726 GB, free: 57.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.6094, allocations: 47.95 kB / 0.5727 GB, free: 57.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6095, allocations: 84.39 kB / 0.5727 GB, free: 57.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/0.6096, allocations: 49.23 kB / 0.5728 GB, free: 57.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002175/0.6118, allocations: 2.012 MB / 0.5748 GB, free: 55.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6118, allocations: 1.969 kB / 0.5748 GB, free: 55.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00361/0.6154, allocations: 1.037 MB / 0.5758 GB, free: 54.74 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.002455/0.6179, allocations: 2.926 MB / 0.5786 GB, free: 51.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005964/0.6239, allocations: 4.696 MB / 0.5832 GB, free: 47.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.6239, allocations: 4 kB / 0.5832 GB, free: 47.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008459/0.6247, allocations: 0.9262 MB / 0.5841 GB, free: 46.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.6265, allocations: 327.6 kB / 0.5844 GB, free: 45.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04013/0.6666, allocations: 37.2 MB / 0.6208 GB, free: 2.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0031/0.6698, allocations: 3.073 MB / 0.6238 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004515/0.6743, allocations: 1.742 MB / 0.6255 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002987/0.6773, allocations: 1.585 MB / 0.627 GB, free: 12.31 MB / 430.1 MB Notification: Performance of SimCode: time 4.108e-06/0.6773, allocations: 0 / 0.627 GB, free: 12.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09621/0.7735, allocations: 49.47 MB / 0.6753 GB, free: 10.83 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.16/9.933, allocations: 12.06 kB / 0.6753 GB, free: 10.82 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 & /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