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.0009408/0.0009408, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001403/0.001403, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9682/0.9682, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.1574/0.1574, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.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.252e-06/1.252e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.423e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008055/0.008069, allocations: 10.53 MB / 389.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.01276, allocations: 2.751 MB / 392.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008292/0.01359, allocations: 59.81 kB / 392.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.01501, allocations: 1.389 MB / 394 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.01631, allocations: 1.302 MB / 395.3 MB, free: 7.324 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.01648, allocations: 83.78 kB / 395.4 MB, free: 7.242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.01806, allocations: 2.785 MB / 398.2 MB, free: 4.453 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.01932, allocations: 1.73 MB / 399.9 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009851/0.02031, allocations: 1.555 MB / 401.5 MB, free: 1.129 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.02182, allocations: 1.512 MB / 403 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004821/0.02231, allocations: 208 kB / 403.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007628/0.02307, allocations: 471.3 kB / 403.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008617/0.02393, allocations: 1.48 MB / 405.1 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007912/0.02472, allocations: 0.8639 MB / 406 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.02785, allocations: 3.353 MB / 409.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.02785, allocations: 0 / 409.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02785, allocations: 0 / 409.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.02796, allocations: 4 kB / 409.3 MB, free: 9.223 MB / 330.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.007923/0.03588, allocations: 3.982 MB / 413.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.899e-05/0.03595, allocations: 12.03 kB / 413.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005147/0.0411, allocations: 1.656 MB / 415 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00428/0.04538, allocations: 1.3 MB / 416.3 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.04558, allocations: 172.6 kB / 416.4 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/0.04665, allocations: 228.2 kB / 416.7 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.05915, allocations: 4.27 MB / 420.9 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.387e-05/0.05922, allocations: 23.81 kB / 421 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.05948, allocations: 107.8 kB / 421.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/0.06197, allocations: 2.084 MB / 423.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00705/0.06902, allocations: 2.216 MB / 425.4 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02823/0.09725, allocations: 28.77 MB / 454.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.09983, allocations: 0.9799 MB / 455.1 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.1003, allocations: 264.1 kB / 455.4 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004993/0.1053, allocations: 2.82 MB / 458.2 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1053, allocations: 46.05 kB / 458.2 MB, free: 6.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 3.717e-06/0.1053, allocations: 0 / 458.2 MB, free: 6.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.003685/0.109, allocations: 1.429 MB / 459.7 MB, free: 5.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.109, allocations: 60.06 kB / 459.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.1117, allocations: 2.379 MB / 462.1 MB, free: 2.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/0.1118, allocations: 37.7 kB / 462.1 MB, free: 2.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.1136, allocations: 2.89 MB / 465 MB, free: 15.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006739/0.1204, allocations: 0.5274 MB / 465.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.1215, allocations: 0.9959 MB / 466.6 MB, free: 14.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1217, allocations: 0.5237 MB / 467.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.1223, allocations: 344.5 kB / 467.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01186/0.1341, allocations: 4.471 MB / 471.9 MB, free: 7.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02296/0.1571, allocations: 5.372 MB / 477.3 MB, free: 15.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/0.1572, allocations: 32 kB / 477.3 MB, free: 15.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01816/0.1754, allocations: 3.453 MB / 480.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/0.1754, allocations: 48 kB / 480.8 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.43e-05/0.1755, allocations: 100 kB / 480.9 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.1757, allocations: 128 kB / 481 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.178, allocations: 0.952 MB / 482 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001481/0.1781, allocations: 195.2 kB / 482.2 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.1804, allocations: 0.5893 MB / 482.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/0.1806, allocations: 240 kB / 483 MB, free: 10.02 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.00117/0.1818, allocations: 0.5085 MB / 483.5 MB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.1821, allocations: 242.5 kB / 483.7 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.1823, allocations: 226.3 kB / 483.9 MB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.1823, allocations: 16 kB / 484 MB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1823, allocations: 4 kB / 484 MB, free: 9.016 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.1823, allocations: 3.984 kB / 484 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.186, allocations: 2.801 MB / 486.8 MB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.186, allocations: 4.062 kB / 486.8 MB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.1863, allocations: 119.8 kB / 486.9 MB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.1863, allocations: 11.94 kB / 486.9 MB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.1863, allocations: 20 kB / 486.9 MB, free: 5.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1863, allocations: 4 kB / 486.9 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1864, allocations: 15.92 kB / 486.9 MB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008214/0.1872, allocations: 1.011 MB / 488 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.1874, allocations: 214.2 kB / 488.2 MB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1875, allocations: 23.98 kB / 488.2 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.1878, allocations: 19.98 kB / 488.2 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.1879, allocations: 64.28 kB / 488.3 MB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.1879, allocations: 32 kB / 488.3 MB, free: 4.469 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007319/0.1886, allocations: 0.9318 MB / 489.2 MB, free: 3.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1886, allocations: 0 / 489.2 MB, free: 3.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002624/0.1913, allocations: 1.012 MB / 490.2 MB, free: 2.504 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.000273/0.1915, allocations: 150.9 kB / 490.4 MB, free: 2.348 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002265/0.1938, allocations: 1.751 MB / 492.1 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1938, allocations: 0 / 492.1 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.1941, allocations: 274.3 kB / 492.4 MB, free: 340 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/0.1947, allocations: 196.2 kB / 492.6 MB, free: 140 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/0.2025, allocations: 6.13 MB / 498.7 MB, free: 9.867 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008439/0.2034, allocations: 1.051 MB / 499.8 MB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008146/0.2042, allocations: 332.8 kB / 0.4884 GB, free: 8.465 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.2046, allocations: 370.1 kB / 0.4887 GB, free: 8.102 MB / 426.7 MB Notification: Performance of SimCode: time 1.463e-06/0.2046, allocations: 0 / 0.4887 GB, free: 8.102 MB / 426.7 MB Notification: Performance of Templates: time 0.1507/0.3553, allocations: 13.97 MB / 0.5024 GB, free: 127.8 MB / 426.7 MB " [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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1873629740439355]