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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 117.5 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 191.7 kB / 21.39 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 247.1 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4235/0.4235, allocations: 44.23 MB / 343.5 MB, free: 7.629 MB / 270.1 MB " [Timeout remaining time 179] 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=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") translateModel(ModelicaTest.MultiBody.Visualizers.Arrow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002132, allocations: 68.11 kB / 479.3 MB, free: 24.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1417, allocations: 60.82 MB / 0.5275 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Arrow): time 0.009054/0.1508, allocations: 6.349 MB / 0.5337 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.1554, allocations: 1.947 MB / 0.5356 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008455/0.1563, allocations: 27.94 kB / 0.5356 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.1578, allocations: 0.6034 MB / 0.5362 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.1584, allocations: 222.8 kB / 0.5364 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.1586, allocations: 43.89 kB / 0.5364 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005762/0.1592, allocations: 462 kB / 0.5369 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007483/0.16, allocations: 0.5221 MB / 0.5374 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.1603, allocations: 235 kB / 0.5376 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.1608, allocations: 306.8 kB / 0.5379 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.502e-05/0.1609, allocations: 44 kB / 0.5379 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.1611, allocations: 87.89 kB / 0.538 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.1614, allocations: 283.2 kB / 0.5383 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.1617, allocations: 349.8 kB / 0.5386 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.1627, allocations: 0.9177 MB / 0.5395 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1628, allocations: 3.938 kB / 0.5395 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1628, allocations: 0 / 0.5395 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1628, allocations: 4 kB / 0.5395 GB, free: 0.7812 MB / 398.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.001699/0.1645, allocations: 1.023 MB / 0.5405 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1645, allocations: 8.031 kB / 0.5405 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005604/0.1651, allocations: 136.2 kB / 0.5407 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006445/0.1658, allocations: 457.9 kB / 0.5411 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.1658, allocations: 33.36 kB / 0.5411 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.498e-05/0.1659, allocations: 52.09 kB / 0.5412 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.1676, allocations: 1.241 MB / 0.5424 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.1676, allocations: 3.938 kB / 0.5424 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.1677, allocations: 27.98 kB / 0.5424 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004244/0.1681, allocations: 244.8 kB / 0.5427 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.1694, allocations: 0.8076 MB / 0.5435 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/0.1743, allocations: 5.047 MB / 0.5484 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1745, allocations: 62.5 kB / 0.5484 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1747, allocations: 44.91 kB / 0.5485 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1747, allocations: 4 kB / 0.5485 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.1747, allocations: 42.55 kB / 0.5485 GB, free: 7.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.334e-06/0.1748, allocations: 0 / 0.5485 GB, free: 7.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005919/0.1754, allocations: 209.1 kB / 0.5487 GB, free: 6.934 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1754, allocations: 55.41 kB / 0.5488 GB, free: 6.867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1765, allocations: 0.8635 MB / 0.5496 GB, free: 5.996 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.1765, allocations: 25.7 kB / 0.5496 GB, free: 5.965 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.177, allocations: 0.5496 MB / 0.5502 GB, free: 5.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.177, allocations: 27.89 kB / 0.5502 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.1772, allocations: 178.4 kB / 0.5504 GB, free: 5.199 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.1774, allocations: 378.8 kB / 0.5507 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.1778, allocations: 177.9 kB / 0.5509 GB, free: 4.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/0.1785, allocations: 0.739 MB / 0.5516 GB, free: 3.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.1797, allocations: 0.9742 MB / 0.5526 GB, free: 2.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/0.1797, allocations: 8 kB / 0.5526 GB, free: 2.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001405/0.1812, allocations: 0.8727 MB / 0.5534 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.1812, allocations: 19.98 kB / 0.5535 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.1812, allocations: 20 kB / 0.5535 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.125e-05/0.1813, allocations: 24 kB / 0.5535 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.1818, allocations: 179.6 kB / 0.5537 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.712e-05/0.1818, allocations: 39.86 kB / 0.5537 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.1824, allocations: 123.1 kB / 0.5538 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.1825, allocations: 51.94 kB / 0.5539 GB, free: 1.035 MB / 414.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.0004934/0.183, allocations: 396 kB / 0.5543 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.183, allocations: 67.52 kB / 0.5543 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1832, allocations: 69.44 kB / 0.5544 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1832, allocations: 3.938 kB / 0.5544 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1832, allocations: 0 / 0.5544 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1832, allocations: 0 / 0.5544 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.1839, allocations: 0.552 MB / 0.5549 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1839, allocations: 3.984 kB / 0.5549 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.395e-05/0.184, allocations: 19.98 kB / 0.555 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.184, allocations: 0 / 0.555 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.184, allocations: 0 / 0.555 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.184, allocations: 0 / 0.555 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.184, allocations: 0 / 0.555 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.1844, allocations: 271 kB / 0.5552 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1846, allocations: 140.7 kB / 0.5554 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.1846, allocations: 0 / 0.5554 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.1848, allocations: 11.98 kB / 0.5554 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.1849, allocations: 7.984 kB / 0.5554 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1849, allocations: 7.938 kB / 0.5554 GB, free: 15.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006923/0.1856, allocations: 0.5497 MB / 0.5559 GB, free: 14.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1856, allocations: 0 / 0.5559 GB, free: 14.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007073/0.1863, allocations: 155.6 kB / 0.5561 GB, free: 14.7 MB / 430.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.0001504/0.1865, allocations: 103.2 kB / 0.5562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007452/0.1873, allocations: 412.6 kB / 0.5566 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1873, allocations: 8.062 kB / 0.5566 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1874, allocations: 47.94 kB / 0.5566 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.188, allocations: 110.5 kB / 0.5567 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.19, allocations: 1.2 MB / 0.5579 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.1908, allocations: 1.026 MB / 0.5589 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004517/0.1912, allocations: 212.9 kB / 0.5591 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.1913, allocations: 39.42 kB / 0.5591 GB, free: 11.51 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1913, allocations: 0 / 0.5591 GB, free: 11.51 MB / 430.1 MB Notification: Performance of Templates: time 0.01158/0.2029, allocations: 4.932 MB / 0.5639 GB, free: 6.617 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Arrow.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.467001019977033]