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.001038/0.001038, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002575, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001106/0.001106, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002597, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0925/1.131, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.2628/0.2628, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02679/0.2896, allocations: 13.09 MB / 291.3 MB, free: 7.367 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.493e-06/1.493e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.246e-05, allocations: 3.078 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008338/0.00836, allocations: 10.67 MB / 303.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005711/0.01407, allocations: 2.896 MB / 306.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.01563, allocations: 59.81 kB / 306.2 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.01744, allocations: 1.374 MB / 307.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.01969, allocations: 1.31 MB / 308.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.01992, allocations: 87.77 kB / 309 MB, free: 5.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.02249, allocations: 2.789 MB / 311.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.02389, allocations: 1.649 MB / 313.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.02591, allocations: 1.607 MB / 315 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.02744, allocations: 1.414 MB / 316.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.02771, allocations: 212 kB / 316.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000785/0.02849, allocations: 479.4 kB / 317.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008586/0.02935, allocations: 1.34 MB / 318.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007123/0.03006, allocations: 0.72 MB / 319.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.0329, allocations: 3.189 MB / 322.4 MB, free: 8.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.557e-05/0.03291, allocations: 0 / 322.4 MB, free: 8.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.03291, allocations: 0 / 322.4 MB, free: 8.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.157e-05/0.03299, allocations: 0 / 322.4 MB, free: 8.371 MB / 314.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.003258/0.03625, allocations: 4.06 MB / 326.4 MB, free: 4.266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.03628, allocations: 8.625 kB / 326.4 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.03937, allocations: 1.356 MB / 327.8 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.0408, allocations: 1.153 MB / 329 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.04089, allocations: 172.6 kB / 329.1 MB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005338/0.04142, allocations: 224.2 kB / 329.3 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004565/0.04599, allocations: 3.994 MB / 333.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/0.04603, allocations: 23.75 kB / 333.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.04624, allocations: 107.8 kB / 333.5 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001884/0.04812, allocations: 2.112 MB / 335.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/0.0523, allocations: 2.244 MB / 337.8 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/0.07163, allocations: 21.81 MB / 359.6 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.0734, allocations: 1.008 MB / 360.6 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.07368, allocations: 208.9 kB / 360.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003624/0.07731, allocations: 2.622 MB / 363.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.07734, allocations: 47.2 kB / 363.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 2.806e-06/0.07734, allocations: 4 kB / 363.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.002333/0.07967, allocations: 1.21 MB / 364.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.07971, allocations: 60.06 kB / 364.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.08126, allocations: 1.916 MB / 366.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.0813, allocations: 41.7 kB / 366.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.08243, allocations: 2.67 MB / 369.4 MB, free: 7.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.08269, allocations: 0.5038 MB / 369.9 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006154/0.08331, allocations: 0.8384 MB / 370.8 MB, free: 6.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.08341, allocations: 349.9 kB / 371.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.08377, allocations: 324.6 kB / 371.4 MB, free: 5.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/0.08568, allocations: 3.107 MB / 374.5 MB, free: 1.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/0.0887, allocations: 4.061 MB / 378.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.211e-05/0.08874, allocations: 28 kB / 378.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003038/0.09178, allocations: 2.888 MB / 381.5 MB, free: 9.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.09182, allocations: 48 kB / 381.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.013e-05/0.09188, allocations: 100 kB / 381.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.557e-05/0.09196, allocations: 128 kB / 381.8 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.09357, allocations: 1.053 MB / 382.8 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.06e-05/0.09366, allocations: 191.2 kB / 383 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.09517, allocations: 0.582 MB / 383.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.09538, allocations: 240 kB / 383.8 MB, free: 6.695 MB / 378.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.00115/0.09653, allocations: 480.8 kB / 384.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.09668, allocations: 131.8 kB / 384.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.09689, allocations: 222.3 kB / 384.6 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.09691, allocations: 19.98 kB / 384.7 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.09692, allocations: 0 / 384.7 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.09693, allocations: 3.984 kB / 384.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.1002, allocations: 2.468 MB / 387.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.1002, allocations: 4 kB / 387.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.1005, allocations: 132.4 kB / 387.3 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.1007, allocations: 206.2 kB / 387.5 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.1007, allocations: 12 kB / 387.5 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.1008, allocations: 16 kB / 387.5 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.1008, allocations: 12 kB / 387.5 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.1008, allocations: 7.938 kB / 387.5 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.1015, allocations: 0.7532 MB / 388.3 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.1016, allocations: 19.94 kB / 388.3 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.1018, allocations: 19.98 kB / 388.3 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.1019, allocations: 64.28 kB / 388.4 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.102, allocations: 32 kB / 388.4 MB, free: 1.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005994/0.1026, allocations: 0.7289 MB / 389.1 MB, free: 1.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1026, allocations: 0 / 389.1 MB, free: 1.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002275/0.1048, allocations: 1.012 MB / 390.1 MB, free: 180 kB / 378.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.0002944/0.1051, allocations: 129 kB / 390.3 MB, free: 40 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.1069, allocations: 1.65 MB / 391.9 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001052/0.107, allocations: 67.86 kB / 392 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.1072, allocations: 217.9 kB / 392.2 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.1078, allocations: 329.4 kB / 392.5 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008896/0.1167, allocations: 6.497 MB / 399 MB, free: 7.172 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009081/0.1177, allocations: 1.031 MB / 400 MB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008265/0.1185, allocations: 336.8 kB / 400.4 MB, free: 5.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.1189, allocations: 335.3 kB / 400.7 MB, free: 5.461 MB / 394.7 MB Notification: Performance of SimCode: time 2.605e-06/0.1189, allocations: 0 / 400.7 MB, free: 5.461 MB / 394.7 MB Notification: Performance of Templates: time 0.02703/0.1459, allocations: 13.84 MB / 414.5 MB, free: 7.828 MB / 410.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 -ignoreHideResult -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: 3.5631763776764274]