Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8958/0.8958, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2718/0.2718, allocations: 34.25 MB / 294.9 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.101e-05, allocations: 8.391 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1841/0.1841, allocations: 5.602 MB / 447.8 MB, free: 41.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.1864, allocations: 1.879 MB / 449.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.1867, allocations: 31.69 kB / 449.7 MB, free: 40.49 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008182/0.1875, allocations: 0.618 MB / 450.3 MB, free: 40.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.1878, allocations: 213.3 kB / 450.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.188, allocations: 61.72 kB / 450.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.1882, allocations: 428.7 kB / 451 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.1886, allocations: 421.6 kB / 451.4 MB, free: 39.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.1888, allocations: 315 kB / 451.7 MB, free: 39.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1891, allocations: 255.8 kB / 452 MB, free: 39.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.1891, allocations: 38.19 kB / 452 MB, free: 39.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.1892, allocations: 97.89 kB / 452.1 MB, free: 39.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.1894, allocations: 276.8 kB / 452.4 MB, free: 39.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.896e-05/0.1895, allocations: 183.3 kB / 452.5 MB, free: 39.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.19, allocations: 0.7938 MB / 453.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.19, allocations: 4 kB / 453.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.19, allocations: 2.938 kB / 453.3 MB, free: 38.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.19, allocations: 0 / 453.3 MB, free: 38.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.000918/0.1909, allocations: 0.8811 MB / 454.2 MB, free: 38.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1909, allocations: 8.688 kB / 454.2 MB, free: 38.33 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.191, allocations: 115.7 kB / 454.3 MB, free: 38.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/0.1914, allocations: 164.7 kB / 454.5 MB, free: 38.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.1918, allocations: 383.6 kB / 454.9 MB, free: 37.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1918, allocations: 34.64 kB / 454.9 MB, free: 37.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.1918, allocations: 38.17 kB / 454.9 MB, free: 37.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007329/0.1926, allocations: 1.082 MB / 456 MB, free: 37.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.1926, allocations: 6.562 kB / 456 MB, free: 37.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1926, allocations: 23.58 kB / 456.1 MB, free: 37.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.1928, allocations: 197.2 kB / 456.2 MB, free: 37.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.1935, allocations: 0.7113 MB / 457 MB, free: 37.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.1953, allocations: 4.461 MB / 461.4 MB, free: 33.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.117e-05/0.1954, allocations: 58.05 kB / 461.5 MB, free: 33.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.257e-05/0.1955, allocations: 50.52 kB / 461.5 MB, free: 33.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.1955, allocations: 2.938 kB / 461.5 MB, free: 33.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.1955, allocations: 30.56 kB / 461.6 MB, free: 33.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.1955, allocations: 0 / 461.6 MB, free: 33.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000316/0.1958, allocations: 216.3 kB / 461.8 MB, free: 33.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.1959, allocations: 58.62 kB / 461.8 MB, free: 33.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.1964, allocations: 0.8507 MB / 462.7 MB, free: 32.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.1964, allocations: 29.7 kB / 462.7 MB, free: 32.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1966, allocations: 0.513 MB / 463.2 MB, free: 32.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.1966, allocations: 25.81 kB / 463.2 MB, free: 32.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1967, allocations: 173.6 kB / 463.4 MB, free: 32.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.1967, allocations: 380 kB / 463.8 MB, free: 31.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1969, allocations: 175 kB / 464 MB, free: 31.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.1972, allocations: 0.7379 MB / 464.7 MB, free: 30.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.1977, allocations: 0.9839 MB / 465.7 MB, free: 29.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.1977, allocations: 6.75 kB / 465.7 MB, free: 29.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006686/0.1984, allocations: 0.8732 MB / 466.6 MB, free: 29.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1984, allocations: 12.75 kB / 466.6 MB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1984, allocations: 18.41 kB / 466.6 MB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.1984, allocations: 30.56 kB / 466.6 MB, free: 29.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.1987, allocations: 171.5 kB / 466.8 MB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.1987, allocations: 40.84 kB / 466.8 MB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.199, allocations: 127 kB / 466.9 MB, free: 29.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.199, allocations: 56.34 kB / 467 MB, free: 29.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * Number of states: 0 () * Number of discrete variables: 25 (fixedArrow.arrowLine.twoHeadedArrow,fixedArrow.headAtOrigin,arrow.arrow.twoHeadedArrow,arrow.headAtOrigin,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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * 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.0002068/0.1992, allocations: 357.6 kB / 467.4 MB, free: 29.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.1993, allocations: 61.67 kB / 467.4 MB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.1993, allocations: 64.23 kB / 467.5 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1993, allocations: 0 / 467.5 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1993, allocations: 0 / 467.5 MB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1993, allocations: 3.938 kB / 467.5 MB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.1996, allocations: 458.1 kB / 467.9 MB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1996, allocations: 3.188 kB / 467.9 MB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.1997, allocations: 12.95 kB / 467.9 MB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1997, allocations: 0 / 467.9 MB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.1997, allocations: 0 / 467.9 MB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1997, allocations: 3.375 kB / 467.9 MB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1997, allocations: 1.031 kB / 467.9 MB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.1999, allocations: 274.4 kB / 468.2 MB, free: 28.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.1999, allocations: 58.97 kB / 468.3 MB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.1999, allocations: 1.312 kB / 468.3 MB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.27e-05/0.2, allocations: 9.812 kB / 468.3 MB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.2001, allocations: 13.7 kB / 468.3 MB, free: 28.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.2001, allocations: 3.938 kB / 468.3 MB, free: 28.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003329/0.2004, allocations: 0.5294 MB / 468.8 MB, free: 28.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2004, allocations: 0 / 468.8 MB, free: 28.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.2008, allocations: 138.9 kB / 469 MB, free: 28.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0003028/0.2011, allocations: 0.8062 MB / 469.8 MB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.2015, allocations: 406.2 kB / 470.2 MB, free: 27.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2015, allocations: 4.125 kB / 470.2 MB, free: 27.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.2015, allocations: 46.45 kB / 470.2 MB, free: 27.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.2019, allocations: 98.23 kB / 470.3 MB, free: 27.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.2056, allocations: 6.065 MB / 476.4 MB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.2058, allocations: 394.5 kB / 476.8 MB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.206, allocations: 200 kB / 477 MB, free: 23.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2062, allocations: 240.5 kB / 477.2 MB, free: 23.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2062, allocations: 0 / 477.2 MB, free: 23.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.2323, allocations: 11.85 MB / 489 MB, free: 21.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.399, allocations: 6.328 kB / 489 MB, free: 21.46 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.485935824923217]