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.001079/0.001079, allocations: 98.86 kB / 18.01 MB, free: 5.734 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.001488/0.001488, allocations: 177.8 kB / 18.91 MB, free: 4.871 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.424/1.424, allocations: 223.3 MB / 243 MB, free: 14.36 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.2279/0.2279, allocations: 44.23 MB / 338.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003318, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.107, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.01927/0.1264, allocations: 19.66 MB / 492.6 MB, free: 9.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008963/0.1354, allocations: 4.195 MB / 496.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.1384, allocations: 75.88 kB / 496.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.1389, allocations: 95.44 kB / 496.9 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.1396, allocations: 199.1 kB / 497.1 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1399, allocations: 47.88 kB / 497.2 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008436/0.1407, allocations: 0.693 MB / 497.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.1421, allocations: 0.8286 MB / 498.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.1425, allocations: 175.1 kB / 498.9 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.143, allocations: 282.8 kB / 499.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.1431, allocations: 20 kB / 499.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.1433, allocations: 63.88 kB / 499.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.1436, allocations: 263.2 kB / 499.5 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.144, allocations: 339.5 kB / 499.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.1447, allocations: 0.6897 MB / 0.4888 GB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1447, allocations: 0 / 0.4888 GB, free: 1.594 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1447, allocations: 4 kB / 0.4888 GB, free: 1.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.739e-05/0.1447, allocations: 0 / 0.4888 GB, free: 1.59 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.001516/0.1463, allocations: 0.8877 MB / 0.4896 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1463, allocations: 8.031 kB / 0.4896 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/0.147, allocations: 135.7 kB / 0.4898 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006448/0.1476, allocations: 449.6 kB / 0.4902 GB, free: 32 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.1477, allocations: 33.36 kB / 0.4902 GB, free: 0 / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.1478, allocations: 56.08 kB / 0.4903 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.1494, allocations: 1.237 MB / 0.4915 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1495, allocations: 7.938 kB / 0.4915 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.1495, allocations: 23.98 kB / 0.4915 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004096/0.15, allocations: 244.8 kB / 0.4918 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.1514, allocations: 0.8232 MB / 0.4926 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.1561, allocations: 5.07 MB / 0.4975 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1563, allocations: 74.47 kB / 0.4976 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1564, allocations: 56.89 kB / 0.4976 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1564, allocations: 0 / 0.4976 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.1565, allocations: 34.56 kB / 0.4977 GB, free: 8.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1565, allocations: 0 / 0.4977 GB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000564/0.1571, allocations: 232.7 kB / 0.4979 GB, free: 7.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1571, allocations: 55.39 kB / 0.4979 GB, free: 7.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.1582, allocations: 0.8594 MB / 0.4988 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1582, allocations: 25.7 kB / 0.4988 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.1586, allocations: 0.536 MB / 0.4993 GB, free: 6.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1587, allocations: 23.89 kB / 0.4994 GB, free: 6.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.1588, allocations: 81.67 kB / 0.4994 GB, free: 6.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1589, allocations: 378.8 kB / 0.4998 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.1593, allocations: 189.8 kB / 0.5 GB, free: 5.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.16, allocations: 0.739 MB / 0.5007 GB, free: 4.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.1611, allocations: 0.9898 MB / 0.5017 GB, free: 3.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.1611, allocations: 4 kB / 0.5017 GB, free: 3.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001466/0.1626, allocations: 0.8919 MB / 0.5025 GB, free: 2.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.1626, allocations: 16.03 kB / 0.5026 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.1627, allocations: 20 kB / 0.5026 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.492e-05/0.1627, allocations: 28 kB / 0.5026 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.1632, allocations: 183.7 kB / 0.5028 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.403e-05/0.1633, allocations: 39.8 kB / 0.5028 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.1638, allocations: 126.7 kB / 0.5029 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.1639, allocations: 48 kB / 0.503 GB, free: 1.977 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.0004607/0.1644, allocations: 391.9 kB / 0.5034 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1645, allocations: 59.25 kB / 0.5034 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1646, allocations: 69.39 kB / 0.5035 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1646, allocations: 3.984 kB / 0.5035 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1646, allocations: 0 / 0.5035 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1646, allocations: 0 / 0.5035 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.1653, allocations: 0.5519 MB / 0.504 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1654, allocations: 0 / 0.504 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-05/0.1655, allocations: 19.98 kB / 0.504 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1655, allocations: 0 / 0.504 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1655, allocations: 0 / 0.504 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.1655, allocations: 7.984 kB / 0.504 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1655, allocations: 0 / 0.504 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.1659, allocations: 278.6 kB / 0.5043 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.1661, allocations: 152.3 kB / 0.5045 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.1661, allocations: 0 / 0.5045 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.1664, allocations: 11.98 kB / 0.5045 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.1664, allocations: 11.98 kB / 0.5045 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1664, allocations: 0 / 0.5045 GB, free: 344 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2083/0.3748, allocations: 0.5483 MB / 0.505 GB, free: 26.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.3748, allocations: 0 / 0.505 GB, free: 26.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009996/0.3758, allocations: 156.6 kB / 0.5052 GB, free: 26.33 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.0001531/0.376, allocations: 95.05 kB / 0.5053 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.377, allocations: 430.5 kB / 0.5057 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3771, allocations: 3.656 kB / 0.5057 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3772, allocations: 53.36 kB / 0.5057 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.378, allocations: 96 kB / 0.5058 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3804, allocations: 1.557 MB / 0.5073 GB, free: 25.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.3811, allocations: 1.029 MB / 0.5083 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3812, allocations: 43.38 kB / 0.5084 GB, free: 24.76 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3812, allocations: 0 / 0.5084 GB, free: 24.76 MB / 382.1 MB Notification: Performance of Templates: time 0.01576/0.397, allocations: 7.93 MB / 0.5161 GB, free: 23.85 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Arrow/Arrow.csv","/var/lib/jenkins1/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