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.0009876/0.0009875, allocations: 96.03 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.00101, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 8 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 63.45 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01942/0.1651, allocations: 17.43 MB / 498.8 MB, free: 3.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009884/0.175, allocations: 4.221 MB / 0.4912 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.1784, allocations: 83.75 kB / 0.4913 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.1812, allocations: 0.8438 MB / 0.4921 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008539/0.1898, allocations: 2.517 MB / 0.4946 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.1906, allocations: 51.89 kB / 0.4946 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007908/0.1914, allocations: 307.2 kB / 0.4949 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.1927, allocations: 0.7433 MB / 0.4957 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.193, allocations: 155.3 kB / 0.4958 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.1933, allocations: 191.2 kB / 0.496 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.1933, allocations: 23.98 kB / 0.496 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.1935, allocations: 51.91 kB / 0.4961 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.1938, allocations: 239.3 kB / 0.4963 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1939, allocations: 157.3 kB / 0.4964 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.1946, allocations: 0.6936 MB / 0.4971 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1946, allocations: 0 / 0.4971 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1946, allocations: 0 / 0.4971 GB, free: 9.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1946, allocations: 0 / 0.4971 GB, free: 9.637 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001571/0.1962, allocations: 0.8915 MB / 0.498 GB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1962, allocations: 8.031 kB / 0.498 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008805/0.1971, allocations: 190.7 kB / 0.4982 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/0.1978, allocations: 440.6 kB / 0.4986 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.1979, allocations: 36.98 kB / 0.4986 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.1979, allocations: 43.98 kB / 0.4987 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.1995, allocations: 1.237 MB / 0.4999 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1995, allocations: 11.94 kB / 0.4999 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.463e-05/0.1996, allocations: 23.97 kB / 0.4999 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004057/0.2, allocations: 244.8 kB / 0.5002 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2013, allocations: 0.8076 MB / 0.5009 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/0.2058, allocations: 5.07 MB / 0.5059 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.206, allocations: 66.52 kB / 0.506 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.206, allocations: 8 kB / 0.506 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2061, allocations: 30.56 kB / 0.506 GB, free: 128 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.542e-06/0.2061, allocations: 0 / 0.506 GB, free: 128 kB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.2588/0.4649, allocations: 224 kB / 0.5062 GB, free: 44.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.4649, allocations: 58.02 kB / 0.5063 GB, free: 44.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.4663, allocations: 0.8513 MB / 0.5071 GB, free: 43.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.4664, allocations: 25.7 kB / 0.5071 GB, free: 43.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.4667, allocations: 0.5327 MB / 0.5076 GB, free: 43.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.4668, allocations: 27.02 kB / 0.5077 GB, free: 43.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.4668, allocations: 17.25 kB / 0.5077 GB, free: 43.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.467, allocations: 380.3 kB / 0.508 GB, free: 43.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/0.4674, allocations: 184.3 kB / 0.5082 GB, free: 43.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.4681, allocations: 0.7356 MB / 0.5089 GB, free: 42.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.4687, allocations: 343.1 kB / 0.5093 GB, free: 42.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.4687, allocations: 6.25 kB / 0.5093 GB, free: 42.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001409/0.4701, allocations: 0.8774 MB / 0.5101 GB, free: 42.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.4702, allocations: 16.52 kB / 0.5101 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.4702, allocations: 21.09 kB / 0.5102 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.231e-05/0.4702, allocations: 28.47 kB / 0.5102 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.4707, allocations: 181.9 kB / 0.5104 GB, free: 42.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.447e-05/0.4708, allocations: 43.02 kB / 0.5104 GB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.4714, allocations: 119.5 kB / 0.5105 GB, free: 42.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/0.4714, allocations: 55.7 kB / 0.5106 GB, free: 42.36 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.arrowLine.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.0004898/0.4719, allocations: 385.2 kB / 0.5109 GB, free: 42.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.472, allocations: 67.45 kB / 0.511 GB, free: 42.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.444e-05/0.4721, allocations: 65.06 kB / 0.5111 GB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4721, allocations: 1.25 kB / 0.5111 GB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4721, allocations: 0.75 kB / 0.5111 GB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4721, allocations: 1.562 kB / 0.5111 GB, free: 42.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.4728, allocations: 0.551 MB / 0.5116 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4728, allocations: 0.75 kB / 0.5116 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.4729, allocations: 15.23 kB / 0.5116 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4729, allocations: 0 / 0.5116 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.473, allocations: 5.703 kB / 0.5116 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.473, allocations: 0 / 0.5116 GB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.473, allocations: 6.547 kB / 0.5116 GB, free: 41.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.4734, allocations: 284 kB / 0.5119 GB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.4735, allocations: 139.1 kB / 0.512 GB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.4736, allocations: 1.641 kB / 0.512 GB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.4738, allocations: 10.81 kB / 0.5121 GB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.4738, allocations: 8.891 kB / 0.5121 GB, free: 41.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.4738, allocations: 2.844 kB / 0.5121 GB, free: 41.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007075/0.4746, allocations: 0.5491 MB / 0.5126 GB, free: 41.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4746, allocations: 1.219 kB / 0.5126 GB, free: 41.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007241/0.4753, allocations: 160.1 kB / 0.5128 GB, free: 41.18 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.0001446/0.4754, allocations: 97.88 kB / 0.5128 GB, free: 41.08 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.4761, allocations: 432.3 kB / 0.5133 GB, free: 40.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4761, allocations: 0 / 0.5133 GB, free: 40.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.4763, allocations: 55.31 kB / 0.5133 GB, free: 40.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.4767, allocations: 90.84 kB / 0.5134 GB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.4785, allocations: 1.392 MB / 0.5148 GB, free: 40.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.4792, allocations: 1.046 MB / 0.5158 GB, free: 39.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005688/0.4798, allocations: 211.5 kB / 0.516 GB, free: 39.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.4798, allocations: 38.02 kB / 0.516 GB, free: 39.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4798, allocations: 0 / 0.516 GB, free: 39.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01172/0.4916, allocations: 4.371 MB / 0.5203 GB, free: 38.81 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches