Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008857/0.0008857, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8988/0.8988, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.246/0.246, allocations: 34.24 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/3.004e-05, allocations: 2.281 kB / 442.1 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1875/0.1875, allocations: 5.619 MB / 447.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1898, allocations: 1.874 MB / 449.6 MB, free: 40.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003104/0.1901, allocations: 26.75 kB / 449.7 MB, free: 40.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.191, allocations: 0.6281 MB / 450.3 MB, free: 40.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.1912, allocations: 207.9 kB / 450.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.1914, allocations: 58.91 kB / 450.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.1917, allocations: 440 kB / 451 MB, free: 39.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.1921, allocations: 421.1 kB / 451.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.1923, allocations: 305.2 kB / 451.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1925, allocations: 264.5 kB / 451.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.1926, allocations: 37.66 kB / 452 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1927, allocations: 100.5 kB / 452.1 MB, free: 39.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1928, allocations: 270.4 kB / 452.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.1929, allocations: 182.5 kB / 452.5 MB, free: 39.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.1934, allocations: 0.8089 MB / 453.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1934, allocations: 0 / 453.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1934, allocations: 0 / 453.3 MB, free: 38.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.1934, allocations: 1.906 kB / 453.3 MB, free: 38.8 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.000884/0.1943, allocations: 0.8752 MB / 454.2 MB, free: 38.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1943, allocations: 9.219 kB / 454.2 MB, free: 38.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.066e-05/0.1944, allocations: 115.1 kB / 454.3 MB, free: 38.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.1948, allocations: 158.4 kB / 454.5 MB, free: 38.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.1951, allocations: 385.6 kB / 454.9 MB, free: 37.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1952, allocations: 34.27 kB / 454.9 MB, free: 37.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.1952, allocations: 38.92 kB / 454.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.1959, allocations: 1.084 MB / 456 MB, free: 37.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1959, allocations: 14.69 kB / 456 MB, free: 37.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.196, allocations: 17.7 kB / 456 MB, free: 37.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.1961, allocations: 200.3 kB / 456.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000609/0.1967, allocations: 0.7064 MB / 456.9 MB, free: 36.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.1984, allocations: 4.453 MB / 461.4 MB, free: 33.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.1985, allocations: 65.75 kB / 461.5 MB, free: 33.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.1986, allocations: 50.11 kB / 461.5 MB, free: 33.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1986, allocations: 0 / 461.5 MB, free: 33.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.1986, allocations: 30.56 kB / 461.5 MB, free: 33.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1986, allocations: 3 kB / 461.5 MB, free: 33.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002756/0.1989, allocations: 212.1 kB / 461.7 MB, free: 32.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.1989, allocations: 51.41 kB / 461.8 MB, free: 32.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.1994, allocations: 0.854 MB / 462.7 MB, free: 32.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.1994, allocations: 25.7 kB / 462.7 MB, free: 32.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1996, allocations: 0.5171 MB / 463.2 MB, free: 32.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1996, allocations: 25.8 kB / 463.2 MB, free: 32.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.1997, allocations: 172.2 kB / 463.4 MB, free: 31.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.905e-05/0.1998, allocations: 382.9 kB / 463.8 MB, free: 31.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.1999, allocations: 178.6 kB / 463.9 MB, free: 31.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.2002, allocations: 0.7361 MB / 464.7 MB, free: 30.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.2007, allocations: 0.9793 MB / 465.7 MB, free: 29.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.2007, allocations: 3.125 kB / 465.7 MB, free: 29.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006759/0.2014, allocations: 0.8795 MB / 466.5 MB, free: 29.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2014, allocations: 13.38 kB / 466.5 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.2014, allocations: 24.53 kB / 466.6 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.2014, allocations: 27.81 kB / 466.6 MB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.2017, allocations: 175.2 kB / 466.8 MB, free: 29.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.2017, allocations: 39.56 kB / 466.8 MB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.202, allocations: 122.1 kB / 466.9 MB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.202, allocations: 56.95 kB / 467 MB, free: 29.34 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.0001949/0.2022, allocations: 356.7 kB / 467.3 MB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.2022, allocations: 60.58 kB / 467.4 MB, free: 29.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.2023, allocations: 70.27 kB / 467.5 MB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2023, allocations: 0 / 467.5 MB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2023, allocations: 0 / 467.5 MB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2023, allocations: 14.52 kB / 467.5 MB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.2026, allocations: 448.8 kB / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2026, allocations: 0 / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.2026, allocations: 16.5 kB / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2026, allocations: 0 / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.2026, allocations: 0 / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2026, allocations: 0 / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2026, allocations: 3.25 kB / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.2028, allocations: 272.9 kB / 468.2 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.2028, allocations: 54.94 kB / 468.3 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.2029, allocations: 3.438 kB / 468.3 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.203, allocations: 8.984 kB / 468.3 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.203, allocations: 10.52 kB / 468.3 MB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.203, allocations: 10.41 kB / 468.3 MB, free: 28.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003272/0.2033, allocations: 0.5308 MB / 468.8 MB, free: 28.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2033, allocations: 0 / 468.8 MB, free: 28.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.2037, allocations: 142.2 kB / 469 MB, free: 28.32 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.0002877/0.204, allocations: 0.8019 MB / 469.8 MB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.2043, allocations: 405.6 kB / 470.2 MB, free: 27.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2043, allocations: 0 / 470.2 MB, free: 27.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.2044, allocations: 51.72 kB / 470.2 MB, free: 27.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2047, allocations: 92.61 kB / 470.3 MB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.2085, allocations: 6.059 MB / 476.4 MB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2088, allocations: 391.9 kB / 476.7 MB, free: 23.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.209, allocations: 207.4 kB / 476.9 MB, free: 23.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.2092, allocations: 231.8 kB / 477.2 MB, free: 23.07 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2092, allocations: 0 / 477.2 MB, free: 23.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.2327, allocations: 11.86 MB / 489 MB, free: 21.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.439/7.671, allocations: 5.016 kB / 489 MB, free: 21.29 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.77943420317024]