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.0008726/0.0008726, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004644/0.004644, allocations: 159.9 kB / 24.7 MB, free: 9.414 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.8741/0.8741, allocations: 177.1 MB / 205 MB, free: 5.719 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.2263/0.2263, allocations: 32.79 MB / 294.2 MB, free: 1.199 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: 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.793e-06/1.793e-06, allocations: 0 / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.905e-05, allocations: 6.281 kB / 440.8 MB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.1939/0.194, allocations: 5.609 MB / 446.4 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.1969, allocations: 1.878 MB / 448.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005561/0.1975, allocations: 25.91 kB / 448.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009295/0.1984, allocations: 0.6262 MB / 449 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1988, allocations: 212 kB / 449.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.199, allocations: 55.09 kB / 449.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.1994, allocations: 432.2 kB / 449.6 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003995/0.1998, allocations: 431.3 kB / 450.1 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.2001, allocations: 309.3 kB / 450.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.2003, allocations: 259.4 kB / 450.6 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.2004, allocations: 36.81 kB / 450.7 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.2005, allocations: 88.2 kB / 450.7 MB, free: 42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.2007, allocations: 280 kB / 451 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2008, allocations: 178.8 kB / 451.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.2013, allocations: 0.8102 MB / 452 MB, free: 41.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2013, allocations: 0 / 452 MB, free: 41.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2013, allocations: 3.656 kB / 452 MB, free: 41.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2014, allocations: 0 / 452 MB, free: 41.51 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.0009715/0.2023, allocations: 0.8816 MB / 452.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2024, allocations: 8.75 kB / 452.9 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/0.2028, allocations: 157.8 kB / 453.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.2032, allocations: 387.3 kB / 453.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.2032, allocations: 37.84 kB / 453.5 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.2032, allocations: 38.17 kB / 453.5 MB, free: 40.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.204, allocations: 1.085 MB / 454.6 MB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.204, allocations: 3.938 kB / 454.6 MB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.204, allocations: 28.77 kB / 454.6 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/0.2042, allocations: 191.8 kB / 454.8 MB, free: 39.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.2049, allocations: 0.7118 MB / 455.5 MB, free: 39.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.2069, allocations: 4.306 MB / 459.8 MB, free: 36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.207, allocations: 57.92 kB / 459.9 MB, free: 35.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.2071, allocations: 55.92 kB / 459.9 MB, free: 35.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2071, allocations: 6.844 kB / 459.9 MB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2071, allocations: 30.56 kB / 460 MB, free: 35.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.2071, allocations: 0 / 460 MB, free: 35.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003341/0.2074, allocations: 204 kB / 460.2 MB, free: 35.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.2075, allocations: 54.66 kB / 460.2 MB, free: 35.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.2079, allocations: 0.7706 MB / 461 MB, free: 35.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-06/0.208, allocations: 29.7 kB / 461 MB, free: 35.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.2081, allocations: 0.5206 MB / 461.5 MB, free: 34.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2081, allocations: 21.77 kB / 461.6 MB, free: 34.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.2083, allocations: 177.2 kB / 461.7 MB, free: 34.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.2083, allocations: 371.7 kB / 462.1 MB, free: 34.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.2085, allocations: 176.6 kB / 462.3 MB, free: 34.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.2088, allocations: 0.7373 MB / 463 MB, free: 33.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.2093, allocations: 0.9791 MB / 464 MB, free: 32.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.2093, allocations: 10.12 kB / 464 MB, free: 32.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007396/0.2101, allocations: 0.8646 MB / 464.9 MB, free: 32.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.2101, allocations: 13.28 kB / 464.9 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.2101, allocations: 22.77 kB / 464.9 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.2101, allocations: 27.16 kB / 464.9 MB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.2104, allocations: 175.5 kB / 465.1 MB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/0.2105, allocations: 39.92 kB / 465.1 MB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/0.2108, allocations: 112.7 kB / 465.3 MB, free: 32.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.2108, allocations: 57.33 kB / 465.3 MB, free: 32.23 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.0002636/0.2111, allocations: 356.3 kB / 465.7 MB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.2111, allocations: 54.41 kB / 465.7 MB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.2112, allocations: 63.5 kB / 465.8 MB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2112, allocations: 0 / 465.8 MB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2112, allocations: 0 / 465.8 MB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2112, allocations: 3.047 kB / 465.8 MB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.2114, allocations: 344.3 kB / 466.1 MB, free: 31.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2114, allocations: 7.938 kB / 466.1 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.2115, allocations: 13.06 kB / 466.1 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2115, allocations: 0 / 466.1 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.2115, allocations: 7.422 kB / 466.1 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2115, allocations: 0 / 466.1 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2115, allocations: 0 / 466.1 MB, free: 31.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.2117, allocations: 262.5 kB / 466.4 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.2117, allocations: 47.31 kB / 466.4 MB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2118, allocations: 0 / 466.4 MB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.2119, allocations: 17.94 kB / 466.5 MB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.2119, allocations: 9.969 kB / 466.5 MB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2119, allocations: 3.219 kB / 466.5 MB, free: 31.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002998/0.2122, allocations: 479.7 kB / 466.9 MB, free: 31.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2122, allocations: 1.688 kB / 466.9 MB, free: 31.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004165/0.2126, allocations: 146.2 kB / 467.1 MB, free: 31.29 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.0001244/0.2128, allocations: 99.81 kB / 467.2 MB, free: 31.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.2131, allocations: 407.2 kB / 467.6 MB, free: 31.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2131, allocations: 0 / 467.6 MB, free: 31.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.2132, allocations: 44.48 kB / 467.6 MB, free: 31.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.2135, allocations: 90.98 kB / 467.7 MB, free: 31.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2147, allocations: 1.134 MB / 468.8 MB, free: 30.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.2149, allocations: 386.9 kB / 469.2 MB, free: 30.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.215, allocations: 48.59 kB / 469.3 MB, free: 30.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.215, allocations: 0 / 469.3 MB, free: 30.28 MB / 410.7 MB Notification: Performance of Templates: time 0.008425/0.2234, allocations: 7.467 MB / 476.7 MB, free: 29.48 MB / 410.7 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: 5.214250187389553]