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.001192/0.001192, allocations: 117 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.1 MB / 343.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 76.5 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1345, allocations: 62.45 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01836/0.1529, allocations: 16.66 MB / 496.1 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009457/0.1625, allocations: 3.607 MB / 499.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.1655, allocations: 63.88 kB / 499.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.1672, allocations: 0.592 MB / 0.4887 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006039/0.1679, allocations: 187.1 kB / 0.4889 GB, free: 432 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.1682, allocations: 43.94 kB / 0.4889 GB, free: 388 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006768/0.1688, allocations: 422.1 kB / 0.4893 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008/0.1697, allocations: 0.5338 MB / 0.4898 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.1701, allocations: 227.1 kB / 0.49 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004574/0.1706, allocations: 306.9 kB / 0.4903 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.075e-05/0.1707, allocations: 44 kB / 0.4904 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.1709, allocations: 79.91 kB / 0.4904 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.1712, allocations: 263.2 kB / 0.4907 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.1715, allocations: 321.9 kB / 0.491 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008597/0.1724, allocations: 0.798 MB / 0.4918 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1724, allocations: 0 / 0.4918 GB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1724, allocations: 0 / 0.4918 GB, free: 13.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.417e-05/0.1725, allocations: 0 / 0.4918 GB, free: 13.41 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.00161/0.1741, allocations: 0.9424 MB / 0.4927 GB, free: 12.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1741, allocations: 15.97 kB / 0.4927 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007858/0.1749, allocations: 147.8 kB / 0.4929 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.1755, allocations: 445.7 kB / 0.4933 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.1756, allocations: 29.36 kB / 0.4933 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.1756, allocations: 52.11 kB / 0.4934 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.177, allocations: 1.078 MB / 0.4944 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.177, allocations: 7.938 kB / 0.4944 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.177, allocations: 19.98 kB / 0.4944 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003268/0.1774, allocations: 196.4 kB / 0.4946 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.1786, allocations: 0.7122 MB / 0.4953 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.1827, allocations: 4.665 MB / 0.4999 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1828, allocations: 58.53 kB / 0.4999 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.183, allocations: 48.91 kB / 0.5 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.183, allocations: 0 / 0.5 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.183, allocations: 30.56 kB / 0.5 GB, free: 4.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.183, allocations: 0 / 0.5 GB, free: 4.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000572/0.1836, allocations: 220.7 kB / 0.5002 GB, free: 4.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1837, allocations: 51.41 kB / 0.5003 GB, free: 4.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009973/0.1847, allocations: 0.8202 MB / 0.5011 GB, free: 3.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1847, allocations: 25.7 kB / 0.5011 GB, free: 3.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/0.185, allocations: 0.5043 MB / 0.5016 GB, free: 2.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1851, allocations: 23.89 kB / 0.5016 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.1853, allocations: 170.4 kB / 0.5018 GB, free: 2.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1854, allocations: 378.8 kB / 0.5021 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.1858, allocations: 177.9 kB / 0.5023 GB, free: 2.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/0.1865, allocations: 0.7351 MB / 0.503 GB, free: 1.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2939/0.4804, allocations: 0.9754 MB / 0.504 GB, free: 42.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.581e-05/0.4805, allocations: 6.031 kB / 0.504 GB, free: 42.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002677/0.4831, allocations: 0.8739 MB / 0.5048 GB, free: 42.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.4832, allocations: 15.47 kB / 0.5048 GB, free: 42.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.432e-05/0.4833, allocations: 23.77 kB / 0.5049 GB, free: 42.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.372e-05/0.4834, allocations: 33.98 kB / 0.5049 GB, free: 42.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008836/0.4843, allocations: 175.6 kB / 0.5051 GB, free: 42.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.318e-05/0.4844, allocations: 42.3 kB / 0.5051 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.4855, allocations: 117.1 kB / 0.5052 GB, free: 42.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.4856, allocations: 52.88 kB / 0.5053 GB, free: 42.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008114/0.4864, allocations: 357.9 kB / 0.5056 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.4866, allocations: 57 kB / 0.5057 GB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.4868, allocations: 64.09 kB / 0.5057 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4868, allocations: 3.406 kB / 0.5057 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.4868, allocations: 1.469 kB / 0.5057 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4868, allocations: 0 / 0.5057 GB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4879, allocations: 0.4959 MB / 0.5062 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.488, allocations: 0.7969 kB / 0.5062 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.4881, allocations: 15.48 kB / 0.5062 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4881, allocations: 0 / 0.5062 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.4881, allocations: 1.375 kB / 0.5062 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4881, allocations: 3.438 kB / 0.5062 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4881, allocations: 1.125 kB / 0.5062 GB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.4886, allocations: 274.6 kB / 0.5065 GB, free: 42.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.4888, allocations: 129.8 kB / 0.5066 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/0.4889, allocations: 3.359 kB / 0.5066 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.4891, allocations: 7.281 kB / 0.5066 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.4892, allocations: 11.94 kB / 0.5066 GB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4892, allocations: 3.453 kB / 0.5067 GB, free: 42.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009026/0.4901, allocations: 0.5297 MB / 0.5072 GB, free: 42.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4902, allocations: 3.719 kB / 0.5072 GB, free: 42.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001046/0.4912, allocations: 144.3 kB / 0.5073 GB, free: 42.04 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 (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.000226/0.4914, allocations: 93.56 kB / 0.5074 GB, free: 41.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.4927, allocations: 429.2 kB / 0.5078 GB, free: 41.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4927, allocations: 0 / 0.5078 GB, free: 41.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.4929, allocations: 43.58 kB / 0.5078 GB, free: 41.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009138/0.4938, allocations: 87.41 kB / 0.5079 GB, free: 41.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.4964, allocations: 1.311 MB / 0.5092 GB, free: 41.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/0.4972, allocations: 0.9861 MB / 0.5102 GB, free: 40.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009274/0.4982, allocations: 206.7 kB / 0.5104 GB, free: 40.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4983, allocations: 37.52 kB / 0.5104 GB, free: 40.25 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4983, allocations: 0 / 0.5104 GB, free: 40.25 MB / 382.1 MB Notification: Performance of Templates: time 0.01564/0.514, allocations: 4.354 MB / 0.5147 GB, free: 39.95 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