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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007955/0.0007952, allocations: 99.98 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 192.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.2 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003187, allocations: 8.219 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 63.58 MB / 482.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01512/0.1609, allocations: 14.97 MB / 497.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008322/0.1693, allocations: 3.421 MB / 0.4891 GB, free: 2.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.1724, allocations: 71.75 kB / 0.4891 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.174, allocations: 0.5987 MB / 0.4897 GB, free: 1.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0044/0.1784, allocations: 1.704 MB / 0.4914 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1788, allocations: 47.95 kB / 0.4914 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.1793, allocations: 0.502 MB / 0.4919 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.1805, allocations: 0.7355 MB / 0.4926 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.1808, allocations: 175.2 kB / 0.4928 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.1811, allocations: 251 kB / 0.493 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.1812, allocations: 16 kB / 0.4931 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.1814, allocations: 59.89 kB / 0.4931 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.1816, allocations: 223.3 kB / 0.4933 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1817, allocations: 137.3 kB / 0.4935 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.1823, allocations: 0.6311 MB / 0.4941 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1823, allocations: 0 / 0.4941 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1823, allocations: 0 / 0.4941 GB, free: 12.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1823, allocations: 0 / 0.4941 GB, free: 12.93 MB / 382.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.001233/0.1835, allocations: 0.8333 MB / 0.4949 GB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1836, allocations: 12.03 kB / 0.4949 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007056/0.1843, allocations: 166.8 kB / 0.4951 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.1849, allocations: 428.7 kB / 0.4955 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.1849, allocations: 32.98 kB / 0.4955 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.185, allocations: 35.98 kB / 0.4955 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1863, allocations: 1.089 MB / 0.4966 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.1863, allocations: 7.938 kB / 0.4966 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.1864, allocations: 19.98 kB / 0.4966 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003194/0.1867, allocations: 192.4 kB / 0.4968 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.1878, allocations: 0.7122 MB / 0.4975 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.1916, allocations: 4.681 MB / 0.5021 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1918, allocations: 62.52 kB / 0.5021 GB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.1919, allocations: 60.91 kB / 0.5022 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.1919, allocations: 0 / 0.5022 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.192, allocations: 34.5 kB / 0.5022 GB, free: 4.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.192, allocations: 0 / 0.5022 GB, free: 4.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004838/0.1924, allocations: 228.8 kB / 0.5024 GB, free: 3.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1925, allocations: 55.41 kB / 0.5025 GB, free: 3.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.1934, allocations: 0.8124 MB / 0.5033 GB, free: 3.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1934, allocations: 25.7 kB / 0.5033 GB, free: 3.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.1938, allocations: 0.5083 MB / 0.5038 GB, free: 2.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1939, allocations: 27.73 kB / 0.5038 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.1939, allocations: 12 kB / 0.5038 GB, free: 2.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1941, allocations: 382.7 kB / 0.5042 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.1944, allocations: 177.9 kB / 0.5044 GB, free: 1.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/0.1951, allocations: 0.7429 MB / 0.5051 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.1955, allocations: 343.6 kB / 0.5054 GB, free: 0.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.1955, allocations: 8 kB / 0.5054 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.2838/0.4793, allocations: 0.8738 MB / 0.5063 GB, free: 42.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.4794, allocations: 13.89 kB / 0.5063 GB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/0.4794, allocations: 20.31 kB / 0.5063 GB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-05/0.4795, allocations: 29.62 kB / 0.5064 GB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.48, allocations: 180.2 kB / 0.5065 GB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.51e-05/0.4801, allocations: 38.02 kB / 0.5066 GB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.4807, allocations: 115.9 kB / 0.5067 GB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/0.4808, allocations: 53.38 kB / 0.5067 GB, free: 42.01 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004867/0.4813, allocations: 360 kB / 0.5071 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.4814, allocations: 61.8 kB / 0.5071 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.4815, allocations: 66.08 kB / 0.5072 GB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4815, allocations: 5.656 kB / 0.5072 GB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4815, allocations: 0 / 0.5072 GB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4815, allocations: 3.859 kB / 0.5072 GB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/0.4822, allocations: 0.4894 MB / 0.5077 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4822, allocations: 2 kB / 0.5077 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.4823, allocations: 17.84 kB / 0.5077 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4823, allocations: 0 / 0.5077 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4823, allocations: 3.078 kB / 0.5077 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4823, allocations: 7.266 kB / 0.5077 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4823, allocations: 1.562 kB / 0.5077 GB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000383/0.4827, allocations: 276.4 kB / 0.508 GB, free: 41.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.4828, allocations: 135.3 kB / 0.5081 GB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.4829, allocations: 0.7031 kB / 0.5081 GB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4831, allocations: 10.47 kB / 0.5081 GB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.4831, allocations: 16.31 kB / 0.5081 GB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.4831, allocations: 2.281 kB / 0.5081 GB, free: 41.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007283/0.4839, allocations: 0.5276 MB / 0.5086 GB, free: 41.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4839, allocations: 0 / 0.5086 GB, free: 41.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006611/0.4846, allocations: 142.7 kB / 0.5088 GB, free: 41.31 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.4847, allocations: 97.08 kB / 0.5089 GB, free: 41.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006835/0.4854, allocations: 424.8 kB / 0.5093 GB, free: 41.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4854, allocations: 1.781 kB / 0.5093 GB, free: 41.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.4855, allocations: 55.62 kB / 0.5093 GB, free: 41.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.486, allocations: 79.5 kB / 0.5094 GB, free: 41.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.4878, allocations: 1.275 MB / 0.5107 GB, free: 40.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.4883, allocations: 0.9922 MB / 0.5116 GB, free: 39.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005335/0.4889, allocations: 200.5 kB / 0.5118 GB, free: 39.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.489, allocations: 40.91 kB / 0.5119 GB, free: 39.83 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.489, allocations: 0 / 0.5119 GB, free: 39.83 MB / 382.1 MB Notification: Performance of Templates: time 0.009905/0.4989, allocations: 4.071 MB / 0.5158 GB, free: 39.52 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (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) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches