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.001871/0.001871, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002001/0.002001, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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 1.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3695/0.3695, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.743e-06/1.743e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.044e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02276/0.02279, allocations: 10.76 MB / 388 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009232/0.03202, allocations: 2.768 MB / 390.8 MB, free: 5.398 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.03369, allocations: 63.81 kB / 390.9 MB, free: 5.336 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004384/0.03807, allocations: 1.405 MB / 392.3 MB, free: 3.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.04262, allocations: 1.291 MB / 393.6 MB, free: 2.629 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.04311, allocations: 95.64 kB / 393.6 MB, free: 2.535 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005821/0.04893, allocations: 2.764 MB / 396.4 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.0526, allocations: 1.742 MB / 398.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/0.0559, allocations: 1.551 MB / 399.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.05931, allocations: 1.504 MB / 401.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005852/0.05989, allocations: 212 kB / 401.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.06162, allocations: 471.4 kB / 401.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002302/0.06392, allocations: 1.476 MB / 403.4 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.06567, allocations: 0.8638 MB / 404.2 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.07568, allocations: 5.321 MB / 409.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.0757, allocations: 7.984 kB / 409.5 MB, free: 2.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.0757, allocations: 0 / 409.5 MB, free: 2.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001226/0.07582, allocations: 0 / 409.5 MB, free: 2.562 MB / 378.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.01149/0.08732, allocations: 4.338 MB / 413.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.08737, allocations: 12.03 kB / 413.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01959/0.107, allocations: 3.43 MB / 417.3 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005897/0.1129, allocations: 1.42 MB / 418.7 MB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003243/0.1132, allocations: 172.7 kB / 418.9 MB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.1146, allocations: 224.2 kB / 419.1 MB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/0.133, allocations: 5.033 MB / 424.2 MB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.276e-05/0.1331, allocations: 23.75 kB / 424.2 MB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008626/0.1339, allocations: 107.8 kB / 424.3 MB, free: 3.199 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004615/0.1385, allocations: 2.377 MB / 426.7 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.1512, allocations: 3.235 MB / 429.9 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2169/0.3681, allocations: 35.5 MB / 465.4 MB, free: 71.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.3714, allocations: 1.083 MB / 466.5 MB, free: 71.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006424/0.372, allocations: 333.1 kB / 466.8 MB, free: 71.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007667/0.3797, allocations: 3.217 MB / 470 MB, free: 70.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3797, allocations: 45.17 kB / 470.1 MB, free: 70.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 4.94e-06/0.3797, allocations: 0 / 470.1 MB, free: 70.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.007046/0.3868, allocations: 1.513 MB / 471.6 MB, free: 69.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.3868, allocations: 61.78 kB / 471.6 MB, free: 69.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004847/0.3917, allocations: 3.007 MB / 474.6 MB, free: 68.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.351e-05/0.3918, allocations: 36.98 kB / 474.7 MB, free: 68.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001916/0.3937, allocations: 3.005 MB / 477.7 MB, free: 66.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005678/0.3942, allocations: 0.5549 MB / 478.2 MB, free: 66.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/0.3959, allocations: 1.13 MB / 479.4 MB, free: 65.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3961, allocations: 0.5417 MB / 479.9 MB, free: 64.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.3975, allocations: 482.8 kB / 480.4 MB, free: 64.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/0.4005, allocations: 4.715 MB / 485.1 MB, free: 59.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005398/0.4059, allocations: 5.685 MB / 490.8 MB, free: 52.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/0.406, allocations: 33.88 kB / 490.8 MB, free: 52.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.00935/0.4154, allocations: 3.787 MB / 494.6 MB, free: 51.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4155, allocations: 50.22 kB / 494.7 MB, free: 51.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/0.4156, allocations: 98.81 kB / 494.8 MB, free: 51.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.4159, allocations: 128.3 kB / 494.9 MB, free: 51.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004428/0.4203, allocations: 0.9768 MB / 495.9 MB, free: 51.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002111/0.4205, allocations: 192 kB / 496 MB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004012/0.4245, allocations: 0.604 MB / 496.6 MB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006482/0.4252, allocations: 278.3 kB / 496.9 MB, free: 50.75 MB / 410.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.002042/0.4272, allocations: 0.6093 MB / 497.5 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005994/0.4278, allocations: 250.6 kB / 497.8 MB, free: 50.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005407/0.4284, allocations: 221.8 kB / 498 MB, free: 50 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.792e-05/0.4284, allocations: 21.56 kB / 498 MB, free: 50 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.4284, allocations: 1.531 kB / 498 MB, free: 50 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4284, allocations: 7.469 kB / 498 MB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.4402, allocations: 4.618 MB / 0.4909 GB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.4402, allocations: 5.281 kB / 0.4909 GB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000823/0.441, allocations: 136.9 kB / 0.491 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/0.441, allocations: 12.19 kB / 0.491 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.3e-05/0.4411, allocations: 26.38 kB / 0.491 GB, free: 47.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-05/0.4411, allocations: 12.19 kB / 0.491 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.4411, allocations: 4.125 kB / 0.491 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.4426, allocations: 1.098 MB / 0.4921 GB, free: 47.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.443, allocations: 211.6 kB / 0.4923 GB, free: 46.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.4432, allocations: 25.12 kB / 0.4923 GB, free: 46.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.4438, allocations: 40.47 kB / 0.4924 GB, free: 46.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.4439, allocations: 64.88 kB / 0.4924 GB, free: 46.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/0.444, allocations: 40.16 kB / 0.4925 GB, free: 46.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001659/0.4456, allocations: 1.21 MB / 0.4937 GB, free: 46.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4456, allocations: 0 / 0.4937 GB, free: 46.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003521/0.4492, allocations: 1.013 MB / 0.4947 GB, free: 46.08 MB / 410.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.0002964/0.4495, allocations: 147.6 kB / 0.4948 GB, free: 45.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003693/0.4532, allocations: 2.057 MB / 0.4968 GB, free: 45.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.4532, allocations: 0 / 0.4968 GB, free: 45.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.4537, allocations: 328.1 kB / 0.4971 GB, free: 45.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.4549, allocations: 189.3 kB / 0.4973 GB, free: 45.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009347/0.4642, allocations: 6.216 MB / 0.5034 GB, free: 41.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.4664, allocations: 2.112 MB / 0.5054 GB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002419/0.4688, allocations: 1.252 MB / 0.5067 GB, free: 41.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.4691, allocations: 150.4 kB / 0.5068 GB, free: 41.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.644e-06/0.4691, allocations: 0 / 0.5068 GB, free: 41.11 MB / 410.7 MB Notification: Performance of Templates: time 0.03/0.4991, allocations: 11.86 MB / 0.5184 GB, free: 34.56 MB / 410.7 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 240] 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.163076955941506]