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.001782/0.001782, allocations: 84.72 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002043/0.002043, allocations: 158.4 kB / 23.95 MB, free: 4.164 MB / 14.72 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.485/1.485, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.2134/0.2134, allocations: 34.25 MB / 294.8 MB, free: 14.54 MB / 286.1 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 2.615e-06/2.615e-06, allocations: 0 / 442.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.482e-05, allocations: 2.281 kB / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.198/0.198, allocations: 5.606 MB / 448.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006/0.204, allocations: 1.881 MB / 450.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.2053, allocations: 28.19 kB / 450.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.2074, allocations: 0.6255 MB / 450.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008984/0.2083, allocations: 209.6 kB / 451 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.2087, allocations: 57.3 kB / 451 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009187/0.2096, allocations: 433.4 kB / 451.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008697/0.2105, allocations: 429.6 kB / 451.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009598/0.2114, allocations: 303.9 kB / 452.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000958/0.2124, allocations: 267.2 kB / 452.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.2126, allocations: 37.12 kB / 452.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.213, allocations: 86.88 kB / 452.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.2134, allocations: 276.6 kB / 452.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.2138, allocations: 177.1 kB / 453 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.2155, allocations: 0.8116 MB / 453.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2156, allocations: 0 / 453.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2156, allocations: 0 / 453.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.042e-05/0.2156, allocations: 0 / 453.8 MB, free: 14.1 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.002618/0.2182, allocations: 0.8815 MB / 454.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2183, allocations: 8.594 kB / 454.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.2196, allocations: 158.9 kB / 454.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000964/0.2205, allocations: 385.1 kB / 455.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.2206, allocations: 38.98 kB / 455.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2207, allocations: 43.39 kB / 455.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.2228, allocations: 1.087 MB / 456.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.2228, allocations: 6.438 kB / 456.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.2229, allocations: 23.7 kB / 456.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005312/0.2235, allocations: 194.3 kB / 456.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.2253, allocations: 0.7092 MB / 457.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004455/0.2298, allocations: 4.313 MB / 461.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.23, allocations: 58.7 kB / 461.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.2301, allocations: 49.31 kB / 461.8 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.2301, allocations: 0 / 461.8 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.2302, allocations: 32.78 kB / 461.8 MB, free: 8.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.2302, allocations: 4 kB / 461.8 MB, free: 8.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.000719/0.2309, allocations: 203.8 kB / 462 MB, free: 8.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.2309, allocations: 52.59 kB / 462 MB, free: 8.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.2322, allocations: 0.7676 MB / 462.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2322, allocations: 29.2 kB / 462.8 MB, free: 8.031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.2326, allocations: 0.5208 MB / 463.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.2326, allocations: 26.95 kB / 463.4 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.2329, allocations: 174.1 kB / 463.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.233, allocations: 376.8 kB / 463.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.2335, allocations: 176.9 kB / 464.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.2342, allocations: 0.733 MB / 464.8 MB, free: 6.309 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.2354, allocations: 0.9805 MB / 465.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.959e-05/0.2355, allocations: 13.47 kB / 465.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002044/0.2375, allocations: 0.8596 MB / 466.7 MB, free: 5.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.2375, allocations: 19.22 kB / 466.7 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/0.2376, allocations: 21.25 kB / 466.7 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-05/0.2376, allocations: 27.41 kB / 466.8 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/0.2384, allocations: 176.2 kB / 466.9 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-05/0.2384, allocations: 41.33 kB / 467 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008614/0.2393, allocations: 111.8 kB / 467.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.2394, allocations: 51.41 kB / 467.1 MB, free: 4.895 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.0005401/0.2399, allocations: 359.3 kB / 467.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.24, allocations: 61.31 kB / 467.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.2402, allocations: 59.84 kB / 467.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2402, allocations: 1.594 kB / 467.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2402, allocations: 0 / 467.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2402, allocations: 0.7031 kB / 467.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000649/0.2408, allocations: 338.9 kB / 467.9 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2408, allocations: 5 kB / 467.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2409, allocations: 14.42 kB / 467.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2409, allocations: 0 / 467.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.241, allocations: 10.16 kB / 468 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.241, allocations: 0 / 468 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.241, allocations: 1.125 kB / 468 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.2414, allocations: 266.1 kB / 468.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.2416, allocations: 50.47 kB / 468.3 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.2417, allocations: 5.672 kB / 468.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.242, allocations: 7.156 kB / 468.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.242, allocations: 9.109 kB / 468.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.242, allocations: 1.719 kB / 468.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008084/0.2429, allocations: 491.3 kB / 468.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2429, allocations: 0 / 468.8 MB, free: 3.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001152/0.244, allocations: 147.8 kB / 468.9 MB, free: 3.941 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.0001203/0.2441, allocations: 92.2 kB / 469 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.2452, allocations: 408.1 kB / 469.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2452, allocations: 0 / 469.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.2454, allocations: 44.38 kB / 469.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.2462, allocations: 73.91 kB / 469.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.2487, allocations: 1.06 MB / 470.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.2494, allocations: 396.5 kB / 471 MB, free: 2.992 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007607/0.2502, allocations: 197.9 kB / 471.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.2503, allocations: 35.7 kB / 471.2 MB, free: 2.965 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2503, allocations: 4 kB / 471.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of Templates: time 0.01331/0.2637, allocations: 3.992 MB / 475.2 MB, free: 1.648 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.052757795900106]