Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 161.5 kB / 25.61 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1/1, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1751/0.1751, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.526e-05, allocations: 3.016 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.004549/0.004575, allocations: 5.966 MB / 386 MB, free: 16.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.00772, allocations: 1.921 MB / 387.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005073/0.008227, allocations: 27.94 kB / 387.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008964/0.009124, allocations: 0.6579 MB / 388.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.009452, allocations: 206.6 kB / 388.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.009638, allocations: 55.8 kB / 388.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.009939, allocations: 437.9 kB / 389.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.01028, allocations: 431 kB / 389.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.01054, allocations: 323.1 kB / 390 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.01079, allocations: 247.3 kB / 390.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.01084, allocations: 40 kB / 390.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.01096, allocations: 87.83 kB / 390.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.01109, allocations: 283.2 kB / 390.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.819e-05/0.01118, allocations: 187.4 kB / 390.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.01158, allocations: 0.5368 MB / 391.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.01158, allocations: 0 / 391.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01158, allocations: 4 kB / 391.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.01159, allocations: 0 / 391.4 MB, free: 11.35 MB / 314.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.0007493/0.01234, allocations: 1.005 MB / 392.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.01237, allocations: 8.031 kB / 392.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004453/0.01282, allocations: 188.3 kB / 392.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.01309, allocations: 350.2 kB / 392.9 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.01311, allocations: 29.36 kB / 392.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.01314, allocations: 44.36 kB / 393 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.01358, allocations: 0.7186 MB / 393.7 MB, free: 8.801 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.01359, allocations: 11.88 kB / 393.7 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.01362, allocations: 23.98 kB / 393.7 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001466/0.01377, allocations: 180.5 kB / 393.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.01399, allocations: 227.8 kB / 394.1 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.01561, allocations: 5.683 MB / 399.8 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.01566, allocations: 27 kB / 399.8 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.01567, allocations: 11.69 kB / 399.8 MB, free: 2.426 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.01569, allocations: 4.078 kB / 399.8 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.0157, allocations: 37.39 kB / 399.9 MB, free: 2.375 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.0157, allocations: 0 / 399.9 MB, free: 2.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001534/0.01585, allocations: 97.31 kB / 400 MB, free: 2.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.01587, allocations: 51.41 kB / 400 MB, free: 2.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.01622, allocations: 0.7484 MB / 400.8 MB, free: 1.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.01623, allocations: 25.7 kB / 400.8 MB, free: 1.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.01641, allocations: 0.5951 MB / 401.4 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.01642, allocations: 27.88 kB / 401.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.01653, allocations: 196 kB / 401.6 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.01661, allocations: 0.5663 MB / 402.2 MB, free: 8 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.01669, allocations: 45.95 kB / 402.2 MB, free: 15.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.01718, allocations: 0.8759 MB / 403.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.01782, allocations: 1.029 MB / 404.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.01783, allocations: 8 kB / 404.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006314/0.01846, allocations: 0.6418 MB / 404.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.01848, allocations: 12 kB / 404.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.0185, allocations: 20 kB / 404.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.01853, allocations: 28.75 kB / 404.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.01881, allocations: 171.7 kB / 405 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.01883, allocations: 43.86 kB / 405 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.01912, allocations: 107.2 kB / 405.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.01916, allocations: 40 kB / 405.2 MB, free: 12.21 MB / 330.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 (fixed3.color[1],fixed3.color[2],fixed3.color[3],arrow.color[1],arrow.color[2],arrow.color[3],fixedArrow.color[1],fixedArrow.color[2],fixedArrow.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],arrow.headAtOrigin,arrow.arrow.twoHeadedArrow,fixedArrow.headAtOrigin,fixedArrow.arrowLine.twoHeadedArrow) * 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.0001775/0.01934, allocations: 246.8 kB / 405.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.01939, allocations: 55.62 kB / 405.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.01945, allocations: 48.8 kB / 405.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01945, allocations: 0 / 405.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01945, allocations: 4 kB / 405.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01946, allocations: 7.984 kB / 405.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.01974, allocations: 284.9 kB / 405.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01975, allocations: 0 / 405.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.01979, allocations: 7.984 kB / 405.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01979, allocations: 0 / 405.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.01979, allocations: 4 kB / 405.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.0198, allocations: 0 / 405.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0198, allocations: 3.938 kB / 405.8 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.01996, allocations: 247.4 kB / 406.1 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.02001, allocations: 51.61 kB / 406.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.02004, allocations: 8 kB / 406.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.02013, allocations: 0 / 406.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.02016, allocations: 7.984 kB / 406.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.02017, allocations: 0 / 406.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002464/0.02041, allocations: 382.9 kB / 406.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02041, allocations: 0 / 406.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004095/0.02082, allocations: 143.7 kB / 406.7 MB, free: 10.68 MB / 330.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.0001137/0.02094, allocations: 91.25 kB / 406.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.02122, allocations: 281.5 kB / 407 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.02122, allocations: 1.938 kB / 407 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.682e-05/0.02125, allocations: 19.61 kB / 407 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.0216, allocations: 93.78 kB / 407.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.02276, allocations: 0.9423 MB / 408.1 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.02288, allocations: 193.2 kB / 408.3 MB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.02302, allocations: 68.84 kB / 408.3 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.02316, allocations: 150.2 kB / 408.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02316, allocations: 0 / 408.5 MB, free: 8.789 MB / 330.7 MB Notification: Performance of Templates: time 0.007341/0.0305, allocations: 4.365 MB / 412.8 MB, free: 4.52 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3160829078406096]