Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008646/0.0008646, 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.001284/0.001284, allocations: 170 kB / 23.95 MB, free: 0.6133 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.899/0.899, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2214/0.2214, allocations: 32.79 MB / 293.5 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Arrow,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.584e-05, allocations: 2.281 kB / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1756/0.1756, allocations: 5.616 MB / 445.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.1779, allocations: 1.882 MB / 447.1 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.1782, allocations: 24.22 kB / 447.1 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.179, allocations: 0.6285 MB / 447.7 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.1793, allocations: 207.6 kB / 447.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.1794, allocations: 61.83 kB / 448 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.1797, allocations: 429.7 kB / 448.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.1801, allocations: 425.7 kB / 448.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.1803, allocations: 311.2 kB / 449.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.1806, allocations: 263.5 kB / 449.4 MB, free: 41.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.1806, allocations: 37.03 kB / 449.4 MB, free: 41.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1807, allocations: 86.39 kB / 449.5 MB, free: 41.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1808, allocations: 278.9 kB / 449.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.1809, allocations: 179 kB / 449.9 MB, free: 41.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.1814, allocations: 0.8065 MB / 450.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1814, allocations: 3.469 kB / 450.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1814, allocations: 0 / 450.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.1814, allocations: 0 / 450.7 MB, free: 41.49 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.0009444/0.1824, allocations: 0.8861 MB / 451.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1824, allocations: 8.5 kB / 451.6 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.1825, allocations: 114.7 kB / 451.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.1829, allocations: 156.2 kB / 451.9 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.1832, allocations: 383.4 kB / 452.3 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1832, allocations: 30.83 kB / 452.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.1833, allocations: 52.08 kB / 452.4 MB, free: 40.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.184, allocations: 1.074 MB / 453.4 MB, free: 39.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.184, allocations: 11.03 kB / 453.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.184, allocations: 22.2 kB / 453.5 MB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.1842, allocations: 194.4 kB / 453.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007269/0.1849, allocations: 0.7094 MB / 454.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.1867, allocations: 4.459 MB / 458.8 MB, free: 35.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.171e-05/0.1868, allocations: 64.86 kB / 458.9 MB, free: 35.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.1868, allocations: 46.8 kB / 458.9 MB, free: 35.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.1869, allocations: 0 / 458.9 MB, free: 35.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.1869, allocations: 33.78 kB / 459 MB, free: 35.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1869, allocations: 0 / 459 MB, free: 35.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003006/0.1872, allocations: 221 kB / 459.2 MB, free: 35.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.1872, allocations: 54.66 kB / 459.2 MB, free: 35.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.1877, allocations: 0.85 MB / 460.1 MB, free: 35.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.1877, allocations: 25.7 kB / 460.1 MB, free: 35.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1879, allocations: 0.518 MB / 460.6 MB, free: 34.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1879, allocations: 24.66 kB / 460.7 MB, free: 34.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/0.188, allocations: 174.5 kB / 460.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.188, allocations: 376.2 kB / 461.2 MB, free: 34.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.1882, allocations: 183.8 kB / 461.4 MB, free: 34.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.1885, allocations: 0.7385 MB / 462.1 MB, free: 33.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.189, allocations: 0.9719 MB / 463.1 MB, free: 32.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.189, allocations: 6.219 kB / 463.1 MB, free: 32.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007003/0.1897, allocations: 0.8711 MB / 464 MB, free: 32.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1897, allocations: 12.53 kB / 464 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.1897, allocations: 21.94 kB / 464 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.1897, allocations: 29.34 kB / 464 MB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.19, allocations: 181.3 kB / 464.2 MB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.19, allocations: 37.28 kB / 464.2 MB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.1903, allocations: 121.6 kB / 464.4 MB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.1903, allocations: 53.97 kB / 464.4 MB, free: 32.03 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.0002012/0.1905, allocations: 364.9 kB / 464.8 MB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.1905, allocations: 63.83 kB / 464.8 MB, free: 31.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.1906, allocations: 67.53 kB / 464.9 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1906, allocations: 3.141 kB / 464.9 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1906, allocations: 0 / 464.9 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1906, allocations: 3.938 kB / 464.9 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.1909, allocations: 449.5 kB / 465.3 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1909, allocations: 3.469 kB / 465.3 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.1909, allocations: 9.688 kB / 465.3 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1909, allocations: 3.188 kB / 465.4 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1909, allocations: 3.938 kB / 465.4 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1909, allocations: 0 / 465.4 MB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1909, allocations: 4 kB / 465.4 MB, free: 31.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1911, allocations: 271.6 kB / 465.6 MB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.1911, allocations: 56.2 kB / 465.7 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1912, allocations: 0 / 465.7 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.1913, allocations: 9.875 kB / 465.7 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.1913, allocations: 13.75 kB / 465.7 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1913, allocations: 3.938 kB / 465.7 MB, free: 31.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003163/0.1916, allocations: 0.5333 MB / 466.2 MB, free: 31.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1916, allocations: 4 kB / 466.2 MB, free: 31.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003605/0.192, allocations: 139.4 kB / 466.4 MB, free: 31 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.0002965/0.1923, allocations: 0.7999 MB / 467.2 MB, free: 30.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.1926, allocations: 410.7 kB / 467.6 MB, free: 30.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1926, allocations: 3.938 kB / 467.6 MB, free: 30.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.295e-05/0.1927, allocations: 43.2 kB / 467.6 MB, free: 30.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.193, allocations: 94.86 kB / 467.7 MB, free: 30.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.197, allocations: 6.058 MB / 473.8 MB, free: 26.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1973, allocations: 395.1 kB / 474.2 MB, free: 25.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002494/0.1975, allocations: 206.8 kB / 474.4 MB, free: 25.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.1977, allocations: 237.2 kB / 474.6 MB, free: 25.74 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1977, allocations: 0 / 474.6 MB, free: 25.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.223, allocations: 11.86 MB / 486.5 MB, free: 24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.271/7.494, allocations: 1.031 kB / 486.5 MB, free: 24 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Visualizers_Arrow.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.497426679357886]