Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006131/0.006131, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8544/0.8544, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 34.26 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.983e-05, allocations: 2.281 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.158/0.158, allocations: 9.821 MB / 453.2 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.1606, allocations: 2.696 MB / 455.9 MB, free: 37.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004001/0.161, allocations: 59.75 kB / 456 MB, free: 37.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.1622, allocations: 1.359 MB / 457.4 MB, free: 36.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.1632, allocations: 1.286 MB / 458.6 MB, free: 36.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.1634, allocations: 87.36 kB / 458.7 MB, free: 36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.1645, allocations: 2.783 MB / 461.5 MB, free: 34.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008534/0.1654, allocations: 1.676 MB / 463.2 MB, free: 34.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008226/0.1662, allocations: 1.549 MB / 464.7 MB, free: 33.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008649/0.1671, allocations: 1.503 MB / 466.2 MB, free: 33.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.1672, allocations: 205.4 kB / 466.4 MB, free: 33.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.1677, allocations: 476.6 kB / 466.9 MB, free: 32.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.1682, allocations: 1.475 MB / 468.4 MB, free: 32.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.1686, allocations: 0.865 MB / 469.2 MB, free: 31.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.1709, allocations: 5.327 MB / 474.6 MB, free: 29.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1709, allocations: 0 / 474.6 MB, free: 29.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1709, allocations: 0 / 474.6 MB, free: 29.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.974e-05/0.1709, allocations: 0 / 474.6 MB, free: 29.99 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.00238/0.1733, allocations: 3.546 MB / 478.1 MB, free: 27.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1733, allocations: 13 kB / 478.1 MB, free: 27.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004594/0.1779, allocations: 2.986 MB / 481.1 MB, free: 27.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.1795, allocations: 1.497 MB / 482.6 MB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.208e-05/0.1796, allocations: 172.4 kB / 482.8 MB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/0.1799, allocations: 222.2 kB / 483 MB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00764/0.1875, allocations: 9.484 MB / 492.5 MB, free: 22.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.1876, allocations: 18.62 kB / 492.5 MB, free: 22.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/0.1878, allocations: 107.9 kB / 492.6 MB, free: 22.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002106/0.1899, allocations: 2.375 MB / 495 MB, free: 21.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009011/0.1989, allocations: 8.661 MB / 0.4918 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.2155, allocations: 26.55 MB / 0.5178 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.218, allocations: 2.108 MB / 0.5198 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/0.2188, allocations: 0.8989 MB / 0.5207 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004309/0.2231, allocations: 3.908 MB / 0.5245 GB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2231, allocations: 43.22 kB / 0.5246 GB, free: 1.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 2.665e-06/0.2231, allocations: 0 / 0.5246 GB, free: 1.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.00341/0.2265, allocations: 2.87 MB / 0.5274 GB, free: 14.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.2265, allocations: 64.06 kB / 0.5274 GB, free: 14.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.2284, allocations: 2.616 MB / 0.53 GB, free: 12.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.2285, allocations: 37.7 kB / 0.53 GB, free: 12.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009965/0.2295, allocations: 2.743 MB / 0.5327 GB, free: 9.266 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.2297, allocations: 0.5001 MB / 0.5332 GB, free: 8.762 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006601/0.2304, allocations: 0.9013 MB / 0.5341 GB, free: 7.848 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.2305, allocations: 345.9 kB / 0.5344 GB, free: 7.504 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.2316, allocations: 1.352 MB / 0.5357 GB, free: 6.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.2339, allocations: 4.114 MB / 0.5397 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/0.2378, allocations: 5.968 MB / 0.5456 GB, free: 9.297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-05/0.2378, allocations: 28 kB / 0.5456 GB, free: 9.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.004559/0.2423, allocations: 5.285 MB / 0.5507 GB, free: 3.984 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.2424, allocations: 48 kB / 0.5508 GB, free: 3.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.248e-05/0.2424, allocations: 96 kB / 0.5509 GB, free: 3.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-05/0.2425, allocations: 128 kB / 0.551 GB, free: 3.719 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.2439, allocations: 0.9786 MB / 0.552 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.372e-05/0.244, allocations: 191.2 kB / 0.5521 GB, free: 2.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.2454, allocations: 0.6057 MB / 0.5527 GB, free: 1.945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/0.2456, allocations: 287.2 kB / 0.553 GB, free: 1.668 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 534 * Array equations: 6 * 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.001824/0.2474, allocations: 1.893 MB / 0.5549 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.2475, allocations: 216.1 kB / 0.5551 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.2477, allocations: 258.3 kB / 0.5553 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.2478, allocations: 16 kB / 0.5553 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2478, allocations: 0 / 0.5553 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2478, allocations: 3.984 kB / 0.5553 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/0.2517, allocations: 4.312 MB / 0.5595 GB, free: 10.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2517, allocations: 11.94 kB / 0.5595 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.252, allocations: 139.8 kB / 0.5597 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.252, allocations: 8 kB / 0.5597 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.2521, allocations: 20.56 kB / 0.5597 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.2521, allocations: 11.94 kB / 0.5597 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2521, allocations: 12 kB / 0.5597 GB, free: 10.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.2533, allocations: 1.774 MB / 0.5615 GB, free: 8.812 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.2535, allocations: 210.3 kB / 0.5617 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-05/0.2536, allocations: 19.98 kB / 0.5617 GB, free: 8.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.2538, allocations: 35.95 kB / 0.5617 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.2539, allocations: 68.28 kB / 0.5618 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.2539, allocations: 41.48 kB / 0.5618 GB, free: 8.445 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.2551, allocations: 1.471 MB / 0.5633 GB, free: 6.957 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2551, allocations: 0 / 0.5633 GB, free: 6.957 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001848/0.2569, allocations: 1.024 MB / 0.5643 GB, free: 5.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.0002296/0.2572, allocations: 143 kB / 0.5644 GB, free: 5.781 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.2595, allocations: 3.012 MB / 0.5673 GB, free: 2.797 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2595, allocations: 12.19 kB / 0.5673 GB, free: 2.785 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.26, allocations: 0.6824 MB / 0.568 GB, free: 2.105 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.2605, allocations: 176.6 kB / 0.5682 GB, free: 1.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006453/0.267, allocations: 7.656 MB / 0.5757 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004358/0.2714, allocations: 2.414 MB / 0.578 GB, free: 7.719 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/0.2719, allocations: 192.5 kB / 0.5782 GB, free: 7.531 MB / 490.7 MB Notification: Performance of SimCode: time 1.724e-06/0.2719, allocations: 0 / 0.5782 GB, free: 7.531 MB / 490.7 MB Notification: Performance of Templates: time 0.05251/0.3245, allocations: 42.56 MB / 0.6198 GB, free: 13.12 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.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: 6.290996557101607]