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.001282/0.001282, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001412/0.001412, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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 1.413/1.413, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.2026/0.2026, allocations: 32.82 MB / 293.5 MB, free: 32 kB / 270.1 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: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 440.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.24e-05, allocations: 10.22 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007697/0.007719, allocations: 5.61 MB / 445.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00388/0.0116, allocations: 1.881 MB / 447.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004724/0.01207, allocations: 31.88 kB / 447.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2003/0.2124, allocations: 0.6253 MB / 448.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00083/0.2132, allocations: 207 kB / 448.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.2135, allocations: 60.73 kB / 448.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.2141, allocations: 428.8 kB / 448.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005884/0.2147, allocations: 424.3 kB / 449.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.2151, allocations: 317.8 kB / 449.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.2155, allocations: 254.6 kB / 449.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.2155, allocations: 37.28 kB / 449.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.2157, allocations: 95.47 kB / 450 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.216, allocations: 275.7 kB / 450.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.2162, allocations: 178.6 kB / 450.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009327/0.2171, allocations: 0.8071 MB / 451.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2171, allocations: 0 / 451.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2171, allocations: 0 / 451.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.2171, allocations: 0 / 451.3 MB, free: 14.94 MB / 366.1 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.001298/0.2184, allocations: 0.8817 MB / 452.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2185, allocations: 10.41 kB / 452.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007609/0.2192, allocations: 157.1 kB / 452.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.2197, allocations: 390 kB / 452.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.2198, allocations: 32.33 kB / 452.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.2198, allocations: 41.69 kB / 452.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.2211, allocations: 1.084 MB / 453.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2211, allocations: 4.906 kB / 453.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.2212, allocations: 27.84 kB / 453.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003677/0.2216, allocations: 195.2 kB / 454.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.2226, allocations: 0.7129 MB / 454.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.2254, allocations: 4.301 MB / 459.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.2256, allocations: 66.16 kB / 459.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.2257, allocations: 48.83 kB / 459.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2257, allocations: 0.6562 kB / 459.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.2257, allocations: 31.69 kB / 459.2 MB, free: 10 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.2257, allocations: 0 / 459.2 MB, free: 10 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005132/0.2262, allocations: 206.2 kB / 459.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2262, allocations: 53.56 kB / 459.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.227, allocations: 0.7756 MB / 460.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.2271, allocations: 26.98 kB / 460.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.2273, allocations: 0.5195 MB / 460.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.2273, allocations: 26.81 kB / 460.8 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.2275, allocations: 169.9 kB / 461 MB, free: 8.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.2276, allocations: 373.8 kB / 461.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.2279, allocations: 177.2 kB / 461.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.2284, allocations: 0.7344 MB / 462.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.2292, allocations: 0.9837 MB / 463.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.2292, allocations: 8.719 kB / 463.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001286/0.2305, allocations: 0.8667 MB / 464.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.2305, allocations: 12.78 kB / 464.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.2305, allocations: 21.28 kB / 464.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.973e-05/0.2305, allocations: 26.94 kB / 464.2 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.231, allocations: 174.9 kB / 464.3 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/0.2311, allocations: 39.31 kB / 464.4 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.2316, allocations: 119.6 kB / 464.5 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.2316, allocations: 52.84 kB / 464.6 MB, free: 6.586 MB / 366.1 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.0003433/0.232, allocations: 360.9 kB / 464.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.232, allocations: 54.31 kB / 465 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.85e-05/0.2321, allocations: 60.53 kB / 465 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2321, allocations: 1.766 kB / 465 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2321, allocations: 0 / 465 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2321, allocations: 0 / 465 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.2325, allocations: 339.4 kB / 465.3 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2325, allocations: 5.312 kB / 465.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.2326, allocations: 14.78 kB / 465.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2326, allocations: 2.766 kB / 465.4 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2326, allocations: 6.047 kB / 465.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2326, allocations: 0.6562 kB / 465.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2326, allocations: 0 / 465.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.2329, allocations: 263.5 kB / 465.6 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.233, allocations: 50.98 kB / 465.7 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.526e-05/0.2331, allocations: 4.75 kB / 465.7 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.2333, allocations: 12.92 kB / 465.7 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.2333, allocations: 16.12 kB / 465.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2333, allocations: 0.75 kB / 465.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004964/0.2338, allocations: 483.6 kB / 466.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2338, allocations: 0 / 466.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006465/0.2345, allocations: 143 kB / 466.3 MB, free: 5.66 MB / 366.1 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.0001117/0.2346, allocations: 102.6 kB / 466.4 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.2352, allocations: 404 kB / 466.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2352, allocations: 1.812 kB / 466.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.2354, allocations: 50.22 kB / 466.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.2358, allocations: 84.91 kB / 467 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.2373, allocations: 1.052 MB / 468 MB, free: 4.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.2378, allocations: 393.4 kB / 468.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.2382, allocations: 198.4 kB / 468.6 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.2383, allocations: 35.3 kB / 468.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2383, allocations: 0 / 468.6 MB, free: 4.738 MB / 366.1 MB Notification: Performance of Templates: time 0.009251/0.2475, allocations: 3.995 MB / 472.6 MB, free: 3.965 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] 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: 4.675743330270052]