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.001521/0.001521, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001574/0.001574, allocations: 170.3 kB / 24.91 MB, free: 8.766 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.9603/0.9603, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2887/0.2887, allocations: 34.26 MB / 296.1 MB, free: 0.6641 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.833e-06/1.833e-06, allocations: 0 / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.79e-05, allocations: 5.859 kB / 325.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01217/0.01219, allocations: 10.53 MB / 335.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005551/0.01775, allocations: 2.881 MB / 338.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.01882, allocations: 63.81 kB / 338.7 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.02054, allocations: 1.397 MB / 340.1 MB, free: 8.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.02252, allocations: 1.306 MB / 341.4 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.02276, allocations: 75.84 kB / 341.5 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.02536, allocations: 2.78 MB / 344.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.02764, allocations: 1.793 MB / 346.1 MB, free: 2.719 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.02947, allocations: 1.551 MB / 347.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.03118, allocations: 1.426 MB / 349 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004669/0.03165, allocations: 212 kB / 349.2 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000738/0.03238, allocations: 475.3 kB / 349.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.03324, allocations: 1.476 MB / 351.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.03438, allocations: 0.8639 MB / 352 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.03736, allocations: 3.357 MB / 355.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.03737, allocations: 0 / 355.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.03737, allocations: 0 / 355.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.96e-05/0.03746, allocations: 0 / 355.4 MB, free: 9.344 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.003264/0.04072, allocations: 3.408 MB / 358.8 MB, free: 5.891 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.04076, allocations: 8.031 kB / 358.8 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/0.04409, allocations: 1.276 MB / 360.1 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.0455, allocations: 1.164 MB / 361.3 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.0456, allocations: 176.6 kB / 361.4 MB, free: 3.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.04587, allocations: 220.2 kB / 361.6 MB, free: 3.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004092/0.04996, allocations: 4.009 MB / 365.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.05, allocations: 15.81 kB / 365.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.05021, allocations: 103.8 kB / 365.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/0.05212, allocations: 2.092 MB / 367.9 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003564/0.05568, allocations: 2.246 MB / 370.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.07518, allocations: 21.8 MB / 391.9 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.07712, allocations: 1.012 MB / 392.9 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.07742, allocations: 213.4 kB / 393.1 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004265/0.08169, allocations: 2.692 MB / 395.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.08172, allocations: 39.22 kB / 395.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 4.308e-06/0.08172, allocations: 0 / 395.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.002592/0.08431, allocations: 1.249 MB / 397.1 MB, free: 14.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.08436, allocations: 60.06 kB / 397.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.08614, allocations: 1.912 MB / 399.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.08619, allocations: 37.7 kB / 399.1 MB, free: 12.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.08762, allocations: 2.682 MB / 401.8 MB, free: 9.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.08791, allocations: 0.4922 MB / 402.3 MB, free: 9.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000687/0.0886, allocations: 0.8345 MB / 403.1 MB, free: 8.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.08871, allocations: 353.8 kB / 403.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.08915, allocations: 324.6 kB / 403.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.09092, allocations: 3.111 MB / 406.9 MB, free: 3.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/0.09413, allocations: 4.057 MB / 411 MB, free: 13.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.505e-05/0.09418, allocations: 28 kB / 411 MB, free: 13.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003297/0.09748, allocations: 2.896 MB / 413.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.09753, allocations: 48 kB / 413.9 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-05/0.09761, allocations: 96 kB / 414 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.908e-05/0.09769, allocations: 128.8 kB / 414.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.09926, allocations: 0.9513 MB / 415.1 MB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001176/0.09938, allocations: 199.2 kB / 415.3 MB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.101, allocations: 0.5777 MB / 415.9 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.1013, allocations: 240 kB / 416.1 MB, free: 8.418 MB / 394.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.001001/0.1023, allocations: 480.8 kB / 416.6 MB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.1024, allocations: 127.8 kB / 416.7 MB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.1026, allocations: 222.3 kB / 416.9 MB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.1026, allocations: 16 kB / 416.9 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1026, allocations: 7.938 kB / 416.9 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1027, allocations: 3.984 kB / 416.9 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.1059, allocations: 2.484 MB / 419.4 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1059, allocations: 8.094 kB / 419.4 MB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.1061, allocations: 111.8 kB / 419.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.1061, allocations: 15.92 kB / 419.6 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.1062, allocations: 16 kB / 419.6 MB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.1062, allocations: 11.94 kB / 419.6 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1062, allocations: 4 kB / 419.6 MB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.1068, allocations: 0.7453 MB / 420.3 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.107, allocations: 210.2 kB / 420.5 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.1071, allocations: 23.94 kB / 420.6 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1073, allocations: 16 kB / 420.6 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.1074, allocations: 60.28 kB / 420.6 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.1074, allocations: 39.97 kB / 420.7 MB, free: 3.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005927/0.108, allocations: 0.7211 MB / 421.4 MB, free: 2.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.108, allocations: 0 / 421.4 MB, free: 2.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002249/0.1103, allocations: 1.012 MB / 422.4 MB, free: 1.906 MB / 394.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.0002947/0.1106, allocations: 132.1 kB / 422.5 MB, free: 1.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.1126, allocations: 1.641 MB / 424.2 MB, free: 140 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.354e-05/0.1127, allocations: 59.94 kB / 424.2 MB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.1129, allocations: 224.4 kB / 424.5 MB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.1135, allocations: 184.5 kB / 424.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008887/0.1224, allocations: 6.356 MB / 431 MB, free: 9.184 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.1234, allocations: 1.035 MB / 432 MB, free: 8.125 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000781/0.1242, allocations: 336.8 kB / 432.4 MB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.1245, allocations: 335.3 kB / 432.7 MB, free: 7.465 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1245, allocations: 0 / 432.7 MB, free: 7.465 MB / 410.7 MB Notification: Performance of Templates: time 0.02715/0.1517, allocations: 13.65 MB / 446.3 MB, free: 10.03 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: 3.747612897772342]