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.0007659/0.0007659, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001125/0.001891, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007096/0.0007096, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009013/0.001611, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9662/0.9662, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0943/1.061, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.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.2679/0.2679, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02347/0.2914, allocations: 13.24 MB / 292.8 MB, free: 6.359 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 9.01e-07/9.01e-07, allocations: 0 / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.196e-05, allocations: 5.391 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.007019/0.007031, allocations: 6.065 MB / 300.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.009176, allocations: 2.009 MB / 302.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.009403, allocations: 27.88 kB / 302.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.01006, allocations: 0.615 MB / 302.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.01031, allocations: 206.6 kB / 303 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.01044, allocations: 63.78 kB / 303.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.01073, allocations: 429.9 kB / 303.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.01107, allocations: 441 kB / 303.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.01136, allocations: 368.3 kB / 304.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.01159, allocations: 239.3 kB / 304.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.01163, allocations: 40 kB / 304.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.01176, allocations: 95.77 kB / 304.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.01193, allocations: 243.3 kB / 304.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.01203, allocations: 147.6 kB / 305 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.01241, allocations: 0.5212 MB / 305.5 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.01242, allocations: 4 kB / 305.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01242, allocations: 0 / 305.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.01243, allocations: 0 / 305.5 MB, free: 9.559 MB / 298.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.0007716/0.0132, allocations: 0.9554 MB / 306.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.237e-05/0.01322, allocations: 8.922 kB / 306.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004153/0.01364, allocations: 229.8 kB / 306.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.01391, allocations: 339.4 kB / 307.1 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.01393, allocations: 29.36 kB / 307.1 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.01397, allocations: 44.36 kB / 307.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.01445, allocations: 0.6295 MB / 307.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.01446, allocations: 7.875 kB / 307.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.01449, allocations: 23.98 kB / 307.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.01465, allocations: 160.5 kB / 308 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.01489, allocations: 250.8 kB / 308.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.01664, allocations: 3.883 MB / 312.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.386e-05/0.01667, allocations: 22.58 kB / 312.1 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.01669, allocations: 12.94 kB / 312.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.0167, allocations: 11.94 kB / 312.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.01671, allocations: 30.56 kB / 312.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.01671, allocations: 0 / 312.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001213/0.01683, allocations: 65.66 kB / 312.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.01686, allocations: 51.41 kB / 312.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.01719, allocations: 0.6009 MB / 312.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.0172, allocations: 25.7 kB / 312.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.01739, allocations: 495.7 kB / 313.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.01741, allocations: 23.88 kB / 313.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.01752, allocations: 166.4 kB / 313.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.01762, allocations: 370.6 kB / 313.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.01767, allocations: 57.91 kB / 314 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.01796, allocations: 0.614 MB / 314.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.01847, allocations: 0.8402 MB / 315.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.01848, allocations: 4 kB / 315.5 MB, free: 14.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004663/0.01894, allocations: 0.5449 MB / 316 MB, free: 14.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.01896, allocations: 16 kB / 316 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.01897, allocations: 20 kB / 316 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.01899, allocations: 27.94 kB / 316.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.01926, allocations: 195.7 kB / 316.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.01928, allocations: 39.86 kB / 316.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.01951, allocations: 107.2 kB / 316.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.01955, allocations: 44.31 kB / 316.4 MB, free: 13.66 MB / 314.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.0001376/0.01968, allocations: 202.7 kB / 316.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.01972, allocations: 28.16 kB / 316.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.01977, allocations: 48.78 kB / 316.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01977, allocations: 0 / 316.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01977, allocations: 0 / 316.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01977, allocations: 7.984 kB / 316.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.01994, allocations: 205.6 kB / 316.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.01994, allocations: 0 / 316.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.01998, allocations: 15.98 kB / 316.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.02002, allocations: 47.62 kB / 317 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.02002, allocations: 0 / 317 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.02002, allocations: 0 / 317 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.02002, allocations: 3.984 kB / 317 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.02003, allocations: 4 kB / 317 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.273e-05/0.02012, allocations: 167.4 kB / 317.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.02014, allocations: 0 / 317.2 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.02022, allocations: 4 kB / 317.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.02024, allocations: 7.984 kB / 317.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.02025, allocations: 4 kB / 317.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.0204, allocations: 244.6 kB / 317.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0204, allocations: 0 / 317.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003426/0.02075, allocations: 151.6 kB / 317.6 MB, free: 12.5 MB / 314.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 6.804e-05/0.02081, allocations: 80.41 kB / 317.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.02104, allocations: 278.5 kB / 317.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.957e-05/0.02106, allocations: 13.81 kB / 317.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.02108, allocations: 12.8 kB / 317.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.02149, allocations: 0.577 MB / 318.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.02321, allocations: 0.9791 MB / 319.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.02333, allocations: 189.1 kB / 319.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.02345, allocations: 68.7 kB / 319.7 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.02357, allocations: 127.3 kB / 319.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02357, allocations: 0 / 319.9 MB, free: 10.04 MB / 314.7 MB Notification: Performance of Templates: time 0.005967/0.02954, allocations: 3.557 MB / 323.4 MB, free: 6.562 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7190288873389363]