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.000866/0.000866, 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.0008927/0.0008927, 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.8825/0.8825, 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.2247/0.2247, allocations: 32.79 MB / 293.5 MB, free: 1.207 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 2.325e-06/2.325e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.501e-05, allocations: 4.109 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1911/0.1912, allocations: 5.607 MB / 445.2 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1938, allocations: 1.88 MB / 447.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.1941, allocations: 28.41 kB / 447.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008769/0.195, allocations: 0.6279 MB / 447.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1953, allocations: 205.5 kB / 447.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.1955, allocations: 63.09 kB / 448 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.1958, allocations: 431.1 kB / 448.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.1963, allocations: 425.3 kB / 448.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.1965, allocations: 309.7 kB / 449.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.1968, allocations: 263.4 kB / 449.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.1968, allocations: 36.62 kB / 449.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.197, allocations: 91.33 kB / 449.5 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.1971, allocations: 271.7 kB / 449.8 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1972, allocations: 184.4 kB / 449.9 MB, free: 41.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.1977, allocations: 0.8017 MB / 450.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1977, allocations: 0 / 450.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1977, allocations: 0 / 450.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1977, allocations: 6.938 kB / 450.7 MB, free: 41.44 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.0008818/0.1986, allocations: 0.8828 MB / 451.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1987, allocations: 11.59 kB / 451.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.323e-05/0.1987, allocations: 109.3 kB / 451.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.1991, allocations: 157 kB / 451.9 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.1995, allocations: 396 kB / 452.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.1995, allocations: 30.36 kB / 452.3 MB, free: 40.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.1995, allocations: 42.11 kB / 452.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006994/0.2002, allocations: 1.077 MB / 453.4 MB, free: 39.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2003, allocations: 7.875 kB / 453.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2003, allocations: 22.33 kB / 453.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.2004, allocations: 198.4 kB / 453.7 MB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.201, allocations: 0.7166 MB / 454.4 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.2029, allocations: 4.449 MB / 458.8 MB, free: 35.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.203, allocations: 62.11 kB / 458.9 MB, free: 35.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.203, allocations: 49.05 kB / 458.9 MB, free: 35.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.203, allocations: 0 / 458.9 MB, free: 35.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.2031, allocations: 37.75 kB / 459 MB, free: 35.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.2031, allocations: 2.906 kB / 459 MB, free: 35.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003737/0.2034, allocations: 214.6 kB / 459.2 MB, free: 35.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.2035, allocations: 54.59 kB / 459.2 MB, free: 35.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.204, allocations: 0.8509 MB / 460.1 MB, free: 35.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.204, allocations: 25.7 kB / 460.1 MB, free: 35.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.2042, allocations: 0.522 MB / 460.6 MB, free: 34.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.2042, allocations: 29.02 kB / 460.7 MB, free: 34.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2043, allocations: 166.8 kB / 460.8 MB, free: 34.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.2044, allocations: 376.1 kB / 461.2 MB, free: 34.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2045, allocations: 180.1 kB / 461.4 MB, free: 34.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.2048, allocations: 0.7389 MB / 462.1 MB, free: 33.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.2053, allocations: 0.9758 MB / 463.1 MB, free: 32.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.2053, allocations: 6.156 kB / 463.1 MB, free: 32.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006596/0.206, allocations: 0.8714 MB / 464 MB, free: 32.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.206, allocations: 15.59 kB / 464 MB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.206, allocations: 18.81 kB / 464 MB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.2061, allocations: 32.3 kB / 464 MB, free: 32.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.2063, allocations: 174.2 kB / 464.2 MB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.2063, allocations: 37.75 kB / 464.2 MB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.2066, allocations: 121.5 kB / 464.4 MB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.2067, allocations: 52.53 kB / 464.4 MB, free: 31.98 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.0002338/0.2069, allocations: 368.8 kB / 464.8 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.2069, allocations: 61.33 kB / 464.8 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.207, allocations: 64.17 kB / 464.9 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.207, allocations: 0 / 464.9 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.207, allocations: 3.125 kB / 464.9 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.207, allocations: 3.938 kB / 464.9 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.2073, allocations: 454.6 kB / 465.3 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2073, allocations: 0 / 465.3 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.2074, allocations: 24.66 kB / 465.4 MB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2074, allocations: 0 / 465.4 MB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2074, allocations: 4 kB / 465.4 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2074, allocations: 0 / 465.4 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2074, allocations: 0 / 465.4 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.2076, allocations: 272.6 kB / 465.6 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.2077, allocations: 56.06 kB / 465.7 MB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.2077, allocations: 0 / 465.7 MB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.2078, allocations: 13.92 kB / 465.7 MB, free: 31.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.2078, allocations: 10.11 kB / 465.7 MB, free: 31.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2078, allocations: 3.938 kB / 465.7 MB, free: 31.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003254/0.2082, allocations: 0.5333 MB / 466.2 MB, free: 30.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2082, allocations: 0 / 466.2 MB, free: 30.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.2085, allocations: 139.2 kB / 466.4 MB, free: 30.94 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.0003228/0.2089, allocations: 0.8001 MB / 467.2 MB, free: 30.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003572/0.2092, allocations: 406.9 kB / 467.6 MB, free: 30.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2092, allocations: 4 kB / 467.6 MB, free: 30.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.409e-05/0.2093, allocations: 43.78 kB / 467.6 MB, free: 30.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.2096, allocations: 96.3 kB / 467.7 MB, free: 30.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.2135, allocations: 6.064 MB / 473.8 MB, free: 26.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.2137, allocations: 395.5 kB / 474.2 MB, free: 25.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000277/0.214, allocations: 204.1 kB / 474.4 MB, free: 25.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.2141, allocations: 231 kB / 474.6 MB, free: 25.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2141, allocations: 0 / 474.6 MB, free: 25.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.24, allocations: 11.87 MB / 486.5 MB, free: 23.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/7.056, allocations: 4.156 kB / 486.5 MB, free: 23.94 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Arrow_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.007098087109625]