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.0008767/0.0008765, allocations: 94.7 kB / 16.98 MB, free: 5.938 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.0008922/0.0008922, allocations: 186.4 kB / 17.88 MB, free: 5.594 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.37/1.37, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2278/0.2278, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 11.98 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.0183/0.1569, allocations: 17.4 MB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.1672, allocations: 4.178 MB / 493 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.1702, allocations: 75.88 kB / 493.1 MB, free: 8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.1728, allocations: 0.836 MB / 493.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008273/0.1811, allocations: 2.513 MB / 496.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.1818, allocations: 51.94 kB / 496.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000734/0.1826, allocations: 303.3 kB / 496.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.1839, allocations: 0.7316 MB / 497.5 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.1842, allocations: 159.3 kB / 497.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.1845, allocations: 187.2 kB / 497.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.1845, allocations: 20 kB / 497.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1847, allocations: 47.91 kB / 497.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.185, allocations: 243.3 kB / 498.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.1851, allocations: 153.3 kB / 498.3 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006839/0.1858, allocations: 0.6897 MB / 499 MB, free: 2.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1858, allocations: 0 / 499 MB, free: 2.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1858, allocations: 4 kB / 499 MB, free: 2.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1859, allocations: 0 / 499 MB, free: 2.047 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.001401/0.1873, allocations: 0.8799 MB / 499.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1873, allocations: 8.031 kB / 499.9 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006642/0.188, allocations: 162.8 kB / 0.4883 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000633/0.1886, allocations: 440.5 kB / 0.4888 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.1887, allocations: 32.97 kB / 0.4888 GB, free: 456 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/0.1887, allocations: 47.98 kB / 0.4888 GB, free: 408 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.1902, allocations: 1.245 MB / 0.4901 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.1903, allocations: 3.938 kB / 0.4901 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/0.1903, allocations: 23.98 kB / 0.4901 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003779/0.1907, allocations: 244.7 kB / 0.4903 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.192, allocations: 0.8154 MB / 0.4911 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005217/0.1972, allocations: 5.078 MB / 0.4961 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1974, allocations: 66.53 kB / 0.4961 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1975, allocations: 0 / 0.4961 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1975, allocations: 42.5 kB / 0.4962 GB, free: 8.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.1975, allocations: 0 / 0.4962 GB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005303/0.198, allocations: 228.8 kB / 0.4964 GB, free: 8.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1981, allocations: 55.41 kB / 0.4964 GB, free: 8.258 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1991, allocations: 0.8438 MB / 0.4973 GB, free: 7.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1992, allocations: 29.7 kB / 0.4973 GB, free: 7.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.1996, allocations: 0.5437 MB / 0.4978 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1996, allocations: 19.8 kB / 0.4979 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.1996, allocations: 16 kB / 0.4979 GB, free: 6.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1998, allocations: 382.7 kB / 0.4982 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.2002, allocations: 185.8 kB / 0.4984 GB, free: 6.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.2008, allocations: 0.7351 MB / 0.4991 GB, free: 5.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.2013, allocations: 343.5 kB / 0.4995 GB, free: 4.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.2013, allocations: 8 kB / 0.4995 GB, free: 4.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001309/0.2026, allocations: 0.8725 MB / 0.5003 GB, free: 3.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.2026, allocations: 12 kB / 0.5003 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.2027, allocations: 24.16 kB / 0.5003 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.583e-05/0.2027, allocations: 32 kB / 0.5004 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.2032, allocations: 183.6 kB / 0.5006 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/0.2033, allocations: 39.86 kB / 0.5006 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.2038, allocations: 122.8 kB / 0.5007 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/0.2039, allocations: 48 kB / 0.5008 GB, free: 3.523 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.0004672/0.2043, allocations: 392.4 kB / 0.5011 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.2044, allocations: 67.14 kB / 0.5012 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.204e-05/0.2045, allocations: 65.44 kB / 0.5013 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2045, allocations: 4 kB / 0.5013 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2046, allocations: 3.938 kB / 0.5013 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2046, allocations: 0 / 0.5013 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.2052, allocations: 0.5481 MB / 0.5018 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2052, allocations: 0 / 0.5018 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.2053, allocations: 19.98 kB / 0.5018 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.2053, allocations: 3.984 kB / 0.5018 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.2053, allocations: 0 / 0.5018 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2053, allocations: 0 / 0.5018 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2053, allocations: 0 / 0.5018 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.2057, allocations: 278.7 kB / 0.5021 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.2059, allocations: 148.1 kB / 0.5022 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.206, allocations: 4 kB / 0.5022 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2062, allocations: 11.98 kB / 0.5022 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.2062, allocations: 11.92 kB / 0.5023 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2062, allocations: 4 kB / 0.5023 GB, free: 1.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006167/0.2069, allocations: 0.5497 MB / 0.5028 GB, free: 1.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2069, allocations: 3.938 kB / 0.5028 GB, free: 1.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006392/0.2075, allocations: 147.6 kB / 0.5029 GB, free: 1.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.0001352/0.2077, allocations: 95.23 kB / 0.503 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006773/0.2083, allocations: 424.3 kB / 0.5034 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2084, allocations: 384 / 0.5034 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.2085, allocations: 59.89 kB / 0.5035 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.2089, allocations: 86.94 kB / 0.5036 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2313/0.4403, allocations: 1.39 MB / 0.5049 GB, free: 50.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.4411, allocations: 1.046 MB / 0.506 GB, free: 49.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007246/0.4419, allocations: 208.9 kB / 0.5062 GB, free: 49.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.442, allocations: 39.84 kB / 0.5062 GB, free: 49.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.442, allocations: 0 / 0.5062 GB, free: 49.94 MB / 382.1 MB Notification: Performance of Templates: time 0.01487/0.4569, allocations: 4.376 MB / 0.5105 GB, free: 49.71 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches