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.0009537/0.000954, allocations: 94.34 kB / 17 MB, free: 6.121 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.0009898/0.00099, allocations: 182.9 kB / 17.89 MB, free: 5.699 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.502/1.502, allocations: 223.3 MB / 241.9 MB, free: 360 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.2216/0.2216, allocations: 44.26 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.000328, allocations: 9.156 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01961/0.1598, allocations: 18.33 MB / 489.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008421/0.1682, allocations: 4.025 MB / 493.9 MB, free: 7.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.1707, allocations: 79.88 kB / 494 MB, free: 7.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.1727, allocations: 0.7853 MB / 494.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007192/0.1799, allocations: 2.222 MB / 497 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.1806, allocations: 51.94 kB / 497.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007096/0.1813, allocations: 0.5644 MB / 497.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.1825, allocations: 0.7355 MB / 498.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.1828, allocations: 183.1 kB / 498.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.1832, allocations: 278.9 kB / 498.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.1833, allocations: 20 kB / 498.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1834, allocations: 43.97 kB / 498.9 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.1837, allocations: 259.2 kB / 499.1 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1838, allocations: 149.3 kB / 499.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.1845, allocations: 0.6936 MB / 500 MB, free: 1.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1845, allocations: 0 / 500 MB, free: 1.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.1845, allocations: 0 / 500 MB, free: 1.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1845, allocations: 7.875 kB / 500 MB, free: 1.195 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.001259/0.1858, allocations: 0.8877 MB / 0.4891 GB, free: 264 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1858, allocations: 8.031 kB / 0.4892 GB, free: 256 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005067/0.1863, allocations: 138.7 kB / 0.4893 GB, free: 116 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.1869, allocations: 440.6 kB / 0.4897 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.187, allocations: 28.98 kB / 0.4897 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.187, allocations: 47.97 kB / 0.4898 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.1886, allocations: 1.241 MB / 0.491 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1886, allocations: 7.938 kB / 0.491 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/0.1887, allocations: 27.97 kB / 0.491 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003883/0.1891, allocations: 240.8 kB / 0.4913 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1904, allocations: 0.8154 MB / 0.4921 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004579/0.195, allocations: 5.074 MB / 0.497 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1951, allocations: 66.53 kB / 0.4971 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.1954, allocations: 52.89 kB / 0.4971 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1954, allocations: 3.984 kB / 0.4971 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1954, allocations: 34.56 kB / 0.4972 GB, free: 7.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.314e-06/0.1954, allocations: 3.938 kB / 0.4972 GB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005325/0.196, allocations: 224.9 kB / 0.4974 GB, free: 7.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.196, allocations: 63.33 kB / 0.4974 GB, free: 7.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009341/0.197, allocations: 0.8438 MB / 0.4983 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.197, allocations: 25.7 kB / 0.4983 GB, free: 6.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.1974, allocations: 0.532 MB / 0.4988 GB, free: 5.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1974, allocations: 31.78 kB / 0.4988 GB, free: 5.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1975, allocations: 16 kB / 0.4988 GB, free: 5.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1976, allocations: 382.7 kB / 0.4992 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.1979, allocations: 185.8 kB / 0.4994 GB, free: 5.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/0.1986, allocations: 0.739 MB / 0.5001 GB, free: 4.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.1991, allocations: 343.6 kB / 0.5004 GB, free: 3.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.1991, allocations: 4 kB / 0.5004 GB, free: 3.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001362/0.2005, allocations: 0.8802 MB / 0.5013 GB, free: 3.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.2005, allocations: 16 kB / 0.5013 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.2006, allocations: 20 kB / 0.5013 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.313e-05/0.2006, allocations: 28 kB / 0.5014 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.2011, allocations: 187.6 kB / 0.5015 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.488e-05/0.2012, allocations: 35.86 kB / 0.5016 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.2017, allocations: 122.8 kB / 0.5017 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.2018, allocations: 52.12 kB / 0.5017 GB, free: 2.633 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.0004948/0.2023, allocations: 392.2 kB / 0.5021 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.2024, allocations: 59.16 kB / 0.5022 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.2025, allocations: 65.44 kB / 0.5022 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2025, allocations: 0 / 0.5022 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.2025, allocations: 3.938 kB / 0.5022 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2025, allocations: 0 / 0.5022 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.2032, allocations: 0.552 MB / 0.5028 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2032, allocations: 4 kB / 0.5028 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.2033, allocations: 15.98 kB / 0.5028 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.2034, allocations: 4 kB / 0.5028 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2034, allocations: 3.984 kB / 0.5028 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2034, allocations: 0 / 0.5028 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2034, allocations: 0 / 0.5028 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.2038, allocations: 282.8 kB / 0.5031 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.2039, allocations: 148.1 kB / 0.5032 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.204, allocations: 0 / 0.5032 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2042, allocations: 23.98 kB / 0.5032 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.2043, allocations: 7.984 kB / 0.5032 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.2043, allocations: 0 / 0.5032 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006631/0.205, allocations: 0.5458 MB / 0.5038 GB, free: 452 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.205, allocations: 0 / 0.5038 GB, free: 452 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006246/0.2056, allocations: 151.5 kB / 0.5039 GB, free: 300 kB / 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.0001282/0.2057, allocations: 95.25 kB / 0.504 GB, free: 192 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2643/0.4701, allocations: 427.8 kB / 0.5044 GB, free: 26.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/0.4701, allocations: 0 / 0.5044 GB, free: 26.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.4703, allocations: 52.09 kB / 0.5045 GB, free: 26.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.4713, allocations: 90.09 kB / 0.5046 GB, free: 26.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.4738, allocations: 1.401 MB / 0.5059 GB, free: 26.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.4744, allocations: 1.03 MB / 0.5069 GB, free: 25.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006173/0.4751, allocations: 214.7 kB / 0.5071 GB, free: 25.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.4752, allocations: 37.91 kB / 0.5072 GB, free: 25.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.4752, allocations: 1.25 kB / 0.5072 GB, free: 25.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01252/0.4877, allocations: 4.369 MB / 0.5114 GB, free: 25.02 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