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.001015/0.001015, 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.0008316/0.0008316, allocations: 170 kB / 23.94 MB, free: 0.6172 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.8621/0.8621, 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.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.2318/0.2318, allocations: 34.25 MB / 294.9 MB, free: 0.7031 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 2.114e-06/2.114e-06, allocations: 0 / 442.1 MB, free: 1.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.923e-05, allocations: 2.281 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1944/0.1944, allocations: 5.614 MB / 447.8 MB, free: 41.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.197, allocations: 1.878 MB / 449.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.1975, allocations: 26.91 kB / 449.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.1985, allocations: 0.6232 MB / 450.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.1989, allocations: 208.1 kB / 450.5 MB, free: 39.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.1991, allocations: 59.78 kB / 450.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.1994, allocations: 442 kB / 451 MB, free: 39.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.1998, allocations: 422.8 kB / 451.4 MB, free: 39.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.2001, allocations: 317.4 kB / 451.7 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.2003, allocations: 256.3 kB / 452 MB, free: 39.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.2004, allocations: 37.34 kB / 452 MB, free: 39.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.2005, allocations: 89.69 kB / 452.1 MB, free: 39.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.2006, allocations: 275.6 kB / 452.4 MB, free: 39.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2008, allocations: 183.4 kB / 452.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.2013, allocations: 0.804 MB / 453.3 MB, free: 38.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2013, allocations: 0 / 453.3 MB, free: 38.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2013, allocations: 0 / 453.3 MB, free: 38.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.2013, allocations: 0 / 453.3 MB, free: 38.79 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.000952/0.2023, allocations: 0.8778 MB / 454.2 MB, free: 38.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2023, allocations: 8.219 kB / 454.2 MB, free: 38.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.298e-05/0.2024, allocations: 120.2 kB / 454.3 MB, free: 38.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.2028, allocations: 156.5 kB / 454.5 MB, free: 38.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.2032, allocations: 391.3 kB / 454.9 MB, free: 37.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2032, allocations: 30.58 kB / 454.9 MB, free: 37.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.2033, allocations: 38.33 kB / 454.9 MB, free: 37.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.204, allocations: 1.082 MB / 456 MB, free: 37.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.204, allocations: 10.78 kB / 456 MB, free: 37.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.2041, allocations: 17.83 kB / 456.1 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/0.2042, allocations: 195.9 kB / 456.2 MB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006352/0.2049, allocations: 0.7063 MB / 456.9 MB, free: 36.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.2068, allocations: 4.469 MB / 461.4 MB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.83e-05/0.2069, allocations: 57.19 kB / 461.5 MB, free: 33.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.2069, allocations: 51.53 kB / 461.5 MB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2069, allocations: 3.156 kB / 461.5 MB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.207, allocations: 30.56 kB / 461.6 MB, free: 33.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.275e-06/0.207, allocations: 0 / 461.6 MB, free: 33.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000312/0.2073, allocations: 216.2 kB / 461.8 MB, free: 32.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.2073, allocations: 62.44 kB / 461.8 MB, free: 32.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.2078, allocations: 0.8501 MB / 462.7 MB, free: 32.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.2078, allocations: 28.86 kB / 462.7 MB, free: 32.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.208, allocations: 0.5162 MB / 463.2 MB, free: 32.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.208, allocations: 25.36 kB / 463.2 MB, free: 32.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2082, allocations: 167.7 kB / 463.4 MB, free: 31.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.2082, allocations: 380.1 kB / 463.8 MB, free: 31.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.2084, allocations: 178.3 kB / 464 MB, free: 31.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.2087, allocations: 0.7396 MB / 464.7 MB, free: 30.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/0.2092, allocations: 0.979 MB / 465.7 MB, free: 29.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.2092, allocations: 6.469 kB / 465.7 MB, free: 29.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006973/0.2099, allocations: 0.8723 MB / 466.6 MB, free: 29.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.2099, allocations: 16.94 kB / 466.6 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.21, allocations: 18.81 kB / 466.6 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.21, allocations: 28.75 kB / 466.6 MB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.2102, allocations: 175 kB / 466.8 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.2103, allocations: 36.75 kB / 466.8 MB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.2106, allocations: 122.7 kB / 466.9 MB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.2107, allocations: 52.19 kB / 467 MB, free: 29.32 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.0002308/0.2109, allocations: 364.3 kB / 467.4 MB, free: 29.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.2109, allocations: 68.19 kB / 467.4 MB, free: 29.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.211, allocations: 61.03 kB / 467.5 MB, free: 29.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.211, allocations: 0 / 467.5 MB, free: 29.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.211, allocations: 4 kB / 467.5 MB, free: 29.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.211, allocations: 7.031 kB / 467.5 MB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.2113, allocations: 451.3 kB / 467.9 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2113, allocations: 0 / 467.9 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.2114, allocations: 12.69 kB / 467.9 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2114, allocations: 0 / 467.9 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2114, allocations: 0 / 467.9 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2114, allocations: 3.062 kB / 467.9 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2114, allocations: 1.031 kB / 467.9 MB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.2116, allocations: 274.9 kB / 468.2 MB, free: 28.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.2117, allocations: 61.33 kB / 468.3 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.2117, allocations: 1.312 kB / 468.3 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.2118, allocations: 13.72 kB / 468.3 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.2119, allocations: 6.312 kB / 468.3 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2119, allocations: 3.938 kB / 468.3 MB, free: 28.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003615/0.2122, allocations: 0.5304 MB / 468.8 MB, free: 28.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2122, allocations: 0 / 468.8 MB, free: 28.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004288/0.2127, allocations: 138.6 kB / 469 MB, free: 28.3 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.0003618/0.213, allocations: 0.8024 MB / 469.8 MB, free: 27.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.2134, allocations: 414.6 kB / 470.2 MB, free: 27.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2134, allocations: 0 / 470.2 MB, free: 27.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.2134, allocations: 46.86 kB / 470.2 MB, free: 27.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.2138, allocations: 94.58 kB / 470.3 MB, free: 27.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.218, allocations: 6.064 MB / 476.4 MB, free: 23.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2183, allocations: 394.5 kB / 476.8 MB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.2186, allocations: 203.6 kB / 477 MB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.2188, allocations: 236.4 kB / 477.2 MB, free: 23.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2188, allocations: 0 / 477.2 MB, free: 23.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/0.2462, allocations: 11.85 MB / 489 MB, free: 21.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.311, allocations: 5.297 kB / 489 MB, free: 21.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.267877950333059]