Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009028/0.0009033, allocations: 96.02 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009017/0.0009017, allocations: 176.1 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 44.25 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 11.98 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1459, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.02166/0.1676, allocations: 19.65 MB / 491.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1789, allocations: 4.192 MB / 496.1 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004696/0.1836, allocations: 75.88 kB / 496.2 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.1843, allocations: 95.45 kB / 496.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000946/0.1852, allocations: 207.1 kB / 496.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1856, allocations: 47.89 kB / 496.5 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1866, allocations: 0.6969 MB / 497.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.1884, allocations: 0.8182 MB / 498 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.1889, allocations: 175.1 kB / 498.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000578/0.1895, allocations: 282.7 kB / 498.5 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1896, allocations: 24 kB / 498.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.1899, allocations: 71.86 kB / 498.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.1903, allocations: 259.2 kB / 498.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.1907, allocations: 331.5 kB / 499.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009185/0.1917, allocations: 0.86 MB / 0.4883 GB, free: 1.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1917, allocations: 0 / 0.4883 GB, free: 1.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.629e-06/0.1917, allocations: 0 / 0.4883 GB, free: 1.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.55e-05/0.1917, allocations: 3.938 kB / 0.4883 GB, free: 1.441 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001729/0.1935, allocations: 0.8761 MB / 0.4891 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1935, allocations: 12.03 kB / 0.4892 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006631/0.1942, allocations: 131.7 kB / 0.4893 GB, free: 384 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.195, allocations: 449.8 kB / 0.4897 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.195, allocations: 33.36 kB / 0.4897 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.1951, allocations: 52.11 kB / 0.4898 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.197, allocations: 1.245 MB / 0.491 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.197, allocations: 7.938 kB / 0.491 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.1971, allocations: 27.97 kB / 0.491 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004383/0.1975, allocations: 240.8 kB / 0.4913 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/0.1991, allocations: 0.8193 MB / 0.4921 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005384/0.2045, allocations: 5.066 MB / 0.497 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.2048, allocations: 70.47 kB / 0.4971 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.2049, allocations: 56.84 kB / 0.4971 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.2049, allocations: 3.984 kB / 0.4971 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.205, allocations: 34.56 kB / 0.4972 GB, free: 7.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.205, allocations: 0 / 0.4972 GB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000642/0.2056, allocations: 228.8 kB / 0.4974 GB, free: 7.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2057, allocations: 63.33 kB / 0.4975 GB, free: 7.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.2069, allocations: 0.8515 MB / 0.4983 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2069, allocations: 29.7 kB / 0.4983 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.2074, allocations: 0.5321 MB / 0.4988 GB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.2074, allocations: 23.89 kB / 0.4989 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2075, allocations: 81.67 kB / 0.4989 GB, free: 6.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.2077, allocations: 378.8 kB / 0.4993 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.2081, allocations: 189.8 kB / 0.4995 GB, free: 5.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/0.2089, allocations: 0.739 MB / 0.5002 GB, free: 4.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.2101, allocations: 0.9937 MB / 0.5012 GB, free: 3.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.273e-05/0.2102, allocations: 8 kB / 0.5012 GB, free: 3.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001601/0.2118, allocations: 0.8879 MB / 0.502 GB, free: 2.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.2118, allocations: 15.94 kB / 0.5021 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-05/0.2118, allocations: 20 kB / 0.5021 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-05/0.2119, allocations: 28 kB / 0.5021 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/0.2125, allocations: 191.5 kB / 0.5023 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-05/0.2125, allocations: 39.86 kB / 0.5023 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.2132, allocations: 127 kB / 0.5024 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.2132, allocations: 48 kB / 0.5025 GB, free: 1.836 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005279/0.2138, allocations: 391.9 kB / 0.5029 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.2139, allocations: 55.25 kB / 0.5029 GB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.214, allocations: 65.45 kB / 0.503 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.214, allocations: 0 / 0.503 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.214, allocations: 0 / 0.503 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2141, allocations: 11.92 kB / 0.503 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/0.2149, allocations: 0.5558 MB / 0.5035 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2149, allocations: 0 / 0.5035 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.215, allocations: 15.98 kB / 0.5036 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.215, allocations: 0 / 0.5036 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.2151, allocations: 4 kB / 0.5036 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2151, allocations: 0 / 0.5036 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2151, allocations: 0 / 0.5036 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.2155, allocations: 278.6 kB / 0.5038 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.2157, allocations: 144.3 kB / 0.504 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/0.2158, allocations: 4 kB / 0.504 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.216, allocations: 12 kB / 0.504 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.2161, allocations: 11.97 kB / 0.504 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-06/0.2161, allocations: 0 / 0.504 GB, free: 208 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2968/0.5129, allocations: 0.549 MB / 0.5045 GB, free: 26.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.5129, allocations: 0 / 0.5045 GB, free: 26.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001099/0.514, allocations: 156.1 kB / 0.5047 GB, free: 26.3 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.0001471/0.5142, allocations: 96.09 kB / 0.5048 GB, free: 26.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009425/0.5151, allocations: 432.2 kB / 0.5052 GB, free: 26.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5151, allocations: 0 / 0.5052 GB, free: 26.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.5153, allocations: 55.17 kB / 0.5052 GB, free: 26.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.516, allocations: 97.98 kB / 0.5053 GB, free: 26.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.5181, allocations: 1.476 MB / 0.5068 GB, free: 25.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.5188, allocations: 1.029 MB / 0.5078 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006039/0.5194, allocations: 212.8 kB / 0.508 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.5195, allocations: 37.72 kB / 0.508 GB, free: 24.76 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5196, allocations: 1.125 kB / 0.508 GB, free: 24.76 MB / 382.1 MB Notification: Performance of Templates: time 0.01216/0.5317, allocations: 4.477 MB / 0.5124 GB, free: 24.44 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches